Page 1 of 5 123 ... LastLast
Results 1 to 10 of 62

Thread: Testing radeon KMS on Ubuntu

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    343

    Default Testing radeon KMS on Ubuntu

    We have set up a package repository at https://launchpad.net/~xorg-edgers/+archive/radeon-kms which has kernel, libdrm, mesa and -ati packages for testing kernel mode-setting (and GEM/TTM/DRI2) on Ubuntu Karmic. The packages might install on Jaunty as well.

    The above page also links to a Karmic-based live CD image (URL might change) which has all bits installed and simply boots up to the wonderful world of KMS...

    Warning: This is experimental code so do not install it on your production system or anywhere where you have valuable data.
    Last edited by tormod; 06-07-2009 at 10:00 AM. Reason: warning

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago, Illinois
    Posts
    36

    Default

    Be sure to have radeon.agpmode=-1 set in the kernel command line if you want to read anything. It would be rather annoying if I stated why.

  3. #3
    Join Date
    Jun 2009
    Posts
    7

    Default

    Hello,
    first of all I want to ask you if there is KMS support for an Ati Radeon x500 video card. (because this card is kinda old)
    Secondly, I added the 2 entries in sources.list
    But when I run apt-get update and the upgrade I don't see the kernel being upgraded and so this whole thing does not work. I am on Ubuntu 9.04
    Thanks

  4. #4
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by samentu View Post
    Hello,
    first of all I want to ask you if there is KMS support for an Ati Radeon x500 video card. (because this card is kinda old)
    I am not sure there is an X500 model but there is the rv370-based X550. I have tested this on X700 which is not much newer.
    Secondly, I added the 2 entries in sources.list
    But when I run apt-get update and the upgrade I don't see the kernel being upgraded and so this whole thing does not work. I am on Ubuntu 9.04
    Thanks
    True, the kernel in the PPA does not replace the Jaunty kernel but installs side by side (which is good). Therefore you have to run:
    Code:
    apt-get install linux-image-2.6.30-8-generic

  5. #5
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by Neo_The_User View Post
    Be sure to have radeon.agpmode=-1 set in the kernel command line if you want to read anything. It would be rather annoying if I stated why.
    I would not be terribly annoyed if you used a sentence on saying why instead of saying that you won't. I reckon AGP mode is broken on KMS and agpmode=-1 forces PCI mode?

  6. #6
    Join Date
    Jun 2009
    Posts
    7

    Default

    Just upgraded to karmic and installed all your packages from ppa regarding kms.
    But I have issues when resuming from suspend. And where do I add radeon.agpmode=-1? When booting the kernel? Should I append that line in the grub menu? Because I already did that and it says unknown option or something like that.
    I did notice the VT's having my monitor's native resolution. That is great But the suspend problem is really an issue

  7. #7
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by samentu View Post
    Just upgraded to karmic and installed all your packages from ppa regarding kms.
    But I have issues when resuming from suspend. And where do I add radeon.agpmode=-1? When booting the kernel? Should I append that line in the grub menu? Because I already did that and it says unknown option or something like that.
    I did notice the VT's having my monitor's native resolution. That is great But the suspend problem is really an issue
    My suspend is broken with the non-kms 2.6.30 kernel as well, so it is not necessarily the fault of KMS in my case. Did you test plain Karmic before installing the KMS crack?

    You can add radeon.agpmode=-1 to the "kernel" line in the grub menu, or for a more permanent setting:
    Code:
    echo "options radeon agpmode=-1" | tee sudo /etc/modprobe.d/radeon-kms.conf
    Then just delete /etc/modprobe.d/radeon-kms.conf once the AGP issues have been fixed.

  8. #8
    Join Date
    Apr 2008
    Posts
    101

    Default

    I tried the liveCD with an ATI Technologies Inc M56GL [Mobility FireGL V5250] which worked.
    Then I tried to install the karmic packages on my jaunty installation. This did not work.
    It loads VESA as default and if I force radeon via xorg.conf, it gives me:

    kernel message:
    Code:
    Jun  7 13:25:19 deepblue kernel: [  270.932079] [drm:radeon_fence_wait] *ERROR* fence(f646f680:0x00000002) 504ms timeout going to reset GPU
    Jun  7 13:25:19 deepblue kernel: [  270.933495] [drm] CP reset succeed (RBBM_STATUS=0x10000140)
    Jun  7 13:25:19 deepblue kernel: [  270.933503] [drm] radeon: cp idle (0x10000000)
    Jun  7 13:25:19 deepblue kernel: [  270.933513] [drm] Loading R500 Microcode
    Jun  7 13:25:19 deepblue kernel: [  270.933559] [drm] radeon: ring at 0x0000000010000000
    Jun  7 13:25:19 deepblue kernel: [  271.519871] [drm:radeon_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E4)=0xCAFEDEAD)
    Jun  7 13:25:19 deepblue kernel: [  271.519877] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
    Jun  7 13:25:19 deepblue kernel: [  271.519885] [drm:rv515_gpu_reset] *ERROR* Failed to reset GPU (RBBM_STATUS=0x90010140)
    Jun  7 13:25:19 deepblue kernel: [  271.519895] [drm:radeon_fence_wait] *ERROR* fence(f646f680:0x00000002) 1096ms timeout
    Jun  7 13:25:19 deepblue kernel: [  271.519900] [drm:radeon_fence_wait] *ERROR* last signaled fence(0x00000002)
    Jun  7 13:25:19 deepblue kernel: [  271.522087] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:19 deepblue kernel: [  271.522094] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:20 deepblue kernel: [  271.870676] [drm:radeon_bo_move] *ERROR* CP is not ready use memcpy.
    Jun  7 13:25:20 deepblue kernel: [  271.876124] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:20 deepblue kernel: [  271.876127] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  272.741028] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  272.741036] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.330923] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  273.330929] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.444620] [drm:radeon_bo_move] *ERROR* CP is not ready use memcpy.
    Jun  7 13:25:21 deepblue kernel: [  273.463984] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  273.463989] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.481191] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  273.481197] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.526445] [drm:radeon_bo_move] *ERROR* CP is not ready use memcpy.
    Jun  7 13:25:21 deepblue kernel: [  273.526580] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  273.526583] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.526688] [drm:radeon_bo_move] *ERROR* CP is not ready use memcpy.
    Jun  7 13:25:21 deepblue kernel: [  273.526716] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
    Jun  7 13:25:21 deepblue kernel: [  273.526718] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
    Jun  7 13:25:21 deepblue kernel: [  273.527003] [drm:radeon_bo_move] *ERROR* CP is not ready use memcpy.
    xorg.log:
    Code:
    CS failure ...corruption... -22
    while it still draws something, it is unbearable slow. It takes several seconds to just refresh the screen.

    is perhaps something misconfigured missing? Id like to use DRI2, but I want to stick with jaunty.

    edit:
    just tried to wake up from suspend from the liveCD. It basically worked, but the radeon driver failed with the same message as when booting jaunty.
    Last edited by madman2k; 06-07-2009 at 08:03 AM.

  9. #9
    Join Date
    Jun 2009
    Posts
    7

    Default

    Thanks for the quick replies.
    I did not tested Karmic before installing the KMS kernel. My bad
    I created the radeon-kms.conf file but I see no change. So I don't know what this should fix
    And another thing ... do you guys have plymouth packages for karmic in ppa?

  10. #10
    Join Date
    Apr 2009
    Location
    Wales
    Posts
    9

    Default

    Will this work with RS780 chips (HD3200), probably been asked already or mentioned somewhere but I haven't been keeping up with all the latest radeon KMS and 3D stuff

Posting Permissions

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