Announcement

Collapse
No announcement yet.

KMS on RS880 (HD 4200) not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      Try the patch from https://bugzilla.kernel.org/show_bug.cgi?id=15181

      Comment


      • #4
        Originally posted by chithanh View Post
        Thanks for the hint. But the problem still persists with the patched radeon_bios.c

        Comment


        • #5
          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.

          Comment


          • #6
            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...

            Comment


            • #7
              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.

              Comment


              • #8
                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.

                Comment


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

                  Comment


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

                    Comment

                    Working...
                    X