+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Radeon KMS with rs880 (785G IGP)

  1. #1
    Join Date
    Apr 2009
    Location
    Athens, Greece
    Posts
    20

    Default Radeon KMS with rs880 (785G IGP)

    Hello. I was wondering whether it is possible to setup kms with rs880. I tried but it tries to load r770 firmware which produces as error (had to check the logs of course). Then i get a black screen. I use 2.6.32-rc5-zen2 "Perennial Quest" kernel sources...

    Moreover supposing i could get it to work, would it be possible to use the hardware 3d accel branch of xf86-video-ati or are kms and 3d mutually exclusive on >=r600 hardware?

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    6,087

    Default

    Are you sure it's loading 770 firmware and not 780 ? If so that should be an easy bug to fix. Can you pls post dmesg output or whatever you are using to determine the microcode being loaded ?

    3D accel code is in mesa master, not xf86-video-ati, and it works with KMS today.

  3. #3
    Join Date
    Dec 2007
    Posts
    1,689

    Default

    Quote Originally Posted by gd_19 View Post
    Hello. I was wondering whether it is possible to setup kms with rs880. I tried but it tries to load r770 firmware which produces as error (had to check the logs of course). Then i get a black screen. I use 2.6.32-rc5-zen2 "Perennial Quest" kernel sources...
    It should be loading the rs780 firmware.

    Quote Originally Posted by gd_19 View Post
    Moreover supposing i could get it to work, would it be possible to use the hardware 3d accel branch of xf86-video-ati or are kms and 3d mutually exclusive on >=r600 hardware?
    You can use 3D with or without KMS. Also, you need the r600 mesa 3D driver.

  4. #4
    Join Date
    Apr 2009
    Location
    Athens, Greece
    Posts
    20

    Default

    Quote Originally Posted by bridgman View Post
    Are you sure it's loading 770 firmware and not 780 ? If so that should be an easy bug to fix. Can you pls post dmesg output or whatever you are using to determine the microcode being loaded ?

    3D accel code is in mesa master, not xf86-video-ati, and it works with KMS today.
    Oops ur right. It's rs780 microcode that is loaded.
    This is the error i get... It appears before loading the firmware and after the initialising kernel modesetting msg:
    [drm:igp_read_bios_from_vram] *ERROR* bad rom signature

    ill post a more complete log once i setup x11. I can't paste into links...

  5. #5
    Join Date
    Dec 2007
    Posts
    1,689

    Default

    Quote Originally Posted by gd_19 View Post
    [drm:igp_read_bios_from_vram] *ERROR* bad rom signature
    That can be ignored.

    Alex

  6. #6
    Join Date
    Apr 2009
    Location
    Athens, Greece
    Posts
    20

    Default

    Solved... Now happily posting from within an fbcon enabled links2.2... :-D I also upgraded to 2.6.32-rc6-zen1

    I had to configure drm AND the firmware as built-in... No other combination (either or both as modules) would work. Defaulting to KMS, passing the option to grub or loading the module later using modprobe would also always fail.

    However X freezes and only displays a corrupted ribbon pattern on the lower 1/3 of the screen... I've compiled most of the xorg-server paraphernalia (including xorg-server itself) from git (although i did try stable packages before that. I've only tested 1.7.1 and git for xorg-server though), and compiled libdrm mesa and xf86-video-ati in that order several times with --enable-radeon-experimental-api for libdrm and --enable-dri and --enable-kms for xf86-video-ati...

    KMS rocks tho... this is the fastest console i've ever had

    Note: mesa fails unless I compile with MAKEOPTS="-j1" in
    Gentoo...

    Any ideas?
    Last edited by gd_19; 11-04-2009 at 05:14 AM.

  7. #7
    Join Date
    Oct 2007
    Posts
    21

    Default

    I had the same problem with kubuntu karmic and xorg-edgers packages, but if i have to compile all i think that i'll wait until 785G (radeon 9200HD) will be supported.

  8. #8
    Join Date
    Dec 2007
    Posts
    1,689

    Default

    Quote Originally Posted by gd_19 View Post
    However X freezes and only displays a corrupted ribbon pattern on the lower 1/3 of the screen... I've compiled most of the xorg-server paraphernalia (including xorg-server itself) from git (although i did try stable packages before that. I've only tested 1.7.1 and git for xorg-server though), and compiled libdrm mesa and xf86-video-ati in that order several times with --enable-radeon-experimental-api for libdrm and --enable-dri and --enable-kms for xf86-video-ati...
    pastebin your dmesg and xorg log. I recently posted a patch on dri-devel that may fix this issue. See comment 25 on this bug 24535:
    https://bugs.freedesktop.org/show_bug.cgi?id=24535
    Also, you might try a non-zen kernel. I've heard of some people having issues with zen kernels.

  9. #9
    Join Date
    Apr 2009
    Location
    Athens, Greece
    Posts
    20

    Default

    Thanks for the feedback

    I have applied the patch but the problem remains... Moreover I tried disabling some of zen's more "exotic" features such as the SLQB allocator and the BFS scheduler to no avail... I'll try vanilla next time...

    Anyway here's the logs:

    dmesg: http://pastebin.com/m7ae7589
    Xorg: http://pastebin.com/m7b6b8f08

    Note: When I boot the same kernel with modeset=0 (radeon drm is built in) and start X, I get a black screen with the monitor's backlight on which fades to off in a couple of seconds and I need to hard reset (the same as with modeset=1 without the corruption or the backlight going off)
    Last edited by gd_19; 11-04-2009 at 11:09 AM.

  10. #10
    Join Date
    Dec 2007
    Posts
    1,689

    Default

    Does it work without kms?

    Edit: appears not.

+ Reply to 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