Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: KMS on RS880 (HD 4200) not working

  1. #1
    Join Date
    Feb 2009
    Location
    Funeralopolis
    Posts
    30

    Question KMS on RS880 (HD 4200) not working

    Had no luck in using KMS/DRI2 on my MSI 785GTM-E45 board. the card is a Radeon HD4200 IGP.

    my system:
    gentoo
    kernel 2.6.34.4 (also tried 2.6.35.2)
    xorg-server-1.8.2 (udev only)
    xf86-video-ati-6.13.1
    radeon-ucode

    here are my logs:
    dmesg http://pastebin.com/j9DZi2Pd
    xorg http://pastebin.com/U9imM32t

    The dmesg output is indicating the firmware doesn't get loaded properly:
    Code:
    [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
    Though I don't know why because I emerged radeon-ucode and the firmware should be available.

    On my other system (MSI DKA790GX, Radeon HD 4850) KMS is running flawlessly. So I don't think I did configure the kernel badly... Any ideas?

  2. #2
    Join Date
    Oct 2009
    Posts
    2,122

    Default

    How about you try a bone stock distro and see if that works. Reason being that it might not be a bad idea to isolate whether the issue is in your configuration or in your hardware.

    Try Fedora 13. Even a livecd should KMS on that hardware, so the download won't be too big.

  3. #3
    Join Date
    Jul 2008
    Location
    Berlin, Germany
    Posts
    836

  4. #4
    Join Date
    Feb 2009
    Location
    Funeralopolis
    Posts
    30

    Default

    Quote Originally Posted by chithanh View Post
    Thanks for the hint. But the problem still persists with the patched radeon_bios.c

  5. #5
    Join Date
    Oct 2009
    Posts
    2,122

    Default

    Quote Originally Posted by schwarzygesetzlos View Post
    Thanks for the hint. But the problem still persists with the patched radeon_bios.c
    ... and how about an F13 livecd?
    Trying patches blindly isnt going to get you anywhere. You need to start with something KNOWN GOOD and debug from there.

  6. #6
    Join Date
    Feb 2009
    Location
    Funeralopolis
    Posts
    30

    Default

    Quote Originally Posted by droidhacker View Post
    ... and how about an F13 livecd?
    Trying patches blindly isnt going to get you anywhere. You need to start with something KNOWN GOOD and debug from there.
    I agree, but patching the kernel module and rebooting went faster than downloading the livecd

    Finally I used the Fedora F13 livecd and KMS is working here:

    F13 dmesg: http://pastebin.com/TH76kCnH
    F13 Xorg-log: http://pastebin.com/Dvy9hD58

    On my other machine with the same gentoo system (but with a discrete HD 4850 instead of onboard HD4200) KMS is working, which I thought of something KNOWN GOOD. On THIS machine, with the same xorg and kernel config it is working NOT. But it IS working with stock F13, which makes me really curious...

  7. #7
    Join Date
    Oct 2009
    Posts
    2,122

    Default

    Quote Originally Posted by schwarzygesetzlos View Post
    I agree, but patching the kernel module and rebooting went faster than downloading the livecd

    Finally I used the Fedora F13 livecd and KMS is working here:

    F13 dmesg: http://pastebin.com/TH76kCnH
    F13 Xorg-log: http://pastebin.com/Dvy9hD58

    On my other machine with the same gentoo system (but with a discrete HD 4850 instead of onboard HD4200) KMS is working, which I thought of something KNOWN GOOD. On THIS machine, with the same xorg and kernel config it is working NOT. But it IS working with stock F13, which makes me really curious...
    I kind of expected that

    When you say that it is "the same", do you mean it is a clone? Or just that you set it up the same way?

    Note: xorg stuff doesn't matter here since kms is WAY before X loads. In fact, kms happens even before your root filesystem gets mounted. Its all in the kernel and initramfs.

  8. #8
    Join Date
    Feb 2009
    Location
    Funeralopolis
    Posts
    30

    Default

    Quote Originally Posted by droidhacker View Post
    I kind of expected that

    When you say that it is "the same", do you mean it is a clone? Or just that you set it up the same way?

    Note: xorg stuff doesn't matter here since kms is WAY before X loads. In fact, kms happens even before your root filesystem gets mounted. Its all in the kernel and initramfs.
    I don't use an initramfs. For booting the kernel with grub I use this parameters:
    Code:
    title  Linux 2.6.35 - gentoo
    root (hd0,0)
    kernel /2635gen-r2-test1 root=/dev/sda3 clocksource=hpet vga=0x303 video=vesafb:mtrr:3,ywrap radeon.modeset=1
    my 2.6.35.2 kernel .config: http://pastebin.com/yCYvAx9y

    My other machine is also running the 2.6.35.2 kernel with the same .config and uses the same grub parameters for booting the kernel. It's also set up with the same versions of xorg-server, libdrm, xf86-video-ati, mesa.

  9. #9
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    1,676

    Default

    Get rid of the video line? KMS doesn't work with legacy framebuffers.

  10. #10
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    1,676

    Default

    Not compiling in vesa framebuffer to kernel at all is a good call, to think at that.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •