Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Radeon/KMS and KDE4

  1. #1
    Join Date
    Jan 2010
    Posts
    7

    Default Radeon/KMS and KDE4

    Hello,
    I am posting the first time here, so I apologize if that was mentioned already...

    I activated KMS and compiled the git-versions of xorg-server, libdrm, mesa, xf86-input-ati (distribution: gentoo).

    So far, all is fine, glxgears gives 1900fps (Radeon HD 4670) and I can play UT2004-demo without problems or graphical errors.

    BUT: turning on the desktop effects does not work:
    when using OpenGl the speed is so slow, that the system becomes unusable;
    when using "XRender" I cannot use most of the effects, like snow or the desktop-switching-cube. It does not matter if I am using kernel 2.6.32.3 or a 2.6.33-rcX - problem is the same.

    does anybody else experience similar problems and how do you solve it?
    TIA

  2. #2
    Join Date
    Dec 2009
    Posts
    40

    Default

    Some of the effects require OpenGL and won't work with XRender.

    You should post your Xorg.0.log to a pastebin and link it here, the answer is probably in it.

    Code:
    grep -E "WW|EE" /var/log/Xorg.0.log

  3. #3
    Join Date
    Jan 2010
    Posts
    7

    Default

    [
    Code:
    grep -E "WW|EE" /var/log/Xorg.0.log
    [/QUOTE]

    ok, this is the result:
    cat /var/log/Xorg.0.log | grep EE
    Current Operating System: Linux brain 2.6.32.3 #2 SMP PREEMPT Thu Jan 7 18:41:19 CET 2010 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER
    (EE) Failed to load module "vesa" (module does not exist, 0)
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    (EE) HID 046a:0050: failed to initialize for relative axes.


    btw: I dont know if that has sth. to do with my problem, but running glxinfo with normal user rights, I get:

    glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    server glx vendor string: SGI
    server glx version string: 1.2


    ... so direct rendering does not work? running it as root gives me:

    name of display: :0.0
    IRQ's not enabled, falling back to busy waits: 2 0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.2

    thx

  4. #4
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    For the "vesa" and "fbdev" errors, add "fbdev vesa" to VIDEO_CARDS in your /etc/make.conf. In other words, for the radeon driver you need:

    VIDEO_CARDS="fbdev vesa radeon"

    after that, do:

    emerge -auDN world

    (VIDEO_CARDS expands to USE flags so the emerge will pick up the changes.)

  5. #5
    Join Date
    May 2008
    Location
    Germany/NRW
    Posts
    510

    Default

    Quote Originally Posted by flockmock View Post
    btw: I dont know if that has sth. to do with my problem, but running glxinfo with normal user rights, I get:

    glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    server glx vendor string: SGI
    server glx version string: 1.2
    Sounds like you're not in the video-group. Try gpasswd -a <user> video.

  6. #6
    Join Date
    Jan 2010
    Posts
    7

    Default

    thanks for the answers. the error messages after the suggestions from RealNC are now:

    cat /var/log/Xorg.0.log | grep EE
    Current Operating System: Linux brain 2.6.33-rc4 #5 SMP PREEMPT Wed Jan 13 21:36:22 CET 2010 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER
    (EE) open /dev/fb0: No such file or directory
    (EE) HID 046a:0050: failed to initialize for relative axes.

    all users are in the video group. still unbearable openGL performance. ..strange

  7. #7
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Are you using an /etc/X11/xorg.conf file? Try using this:

    Code:
    Section "Device"
    	Identifier  "HD4670"
    	Driver      "radeon"
    EndSection
    and make sure the "Screen" section says:

    Code:
    Device "HD4670"
    Also append this at the end:

    Code:
    Section "DRI"
    	Mode         0666
    EndSection
    Also, please use http://pastebin.ca/ to post your entire /var/log/Xorg.0.log as well as the output of the "dmesg" command.

  8. #8
    Join Date
    Jan 2010
    Posts
    7

    Default

    I changed the xorg.conf file according to your suggestions, no change.

    my dmesg:
    http://pastebin.ca/1756800

    my /var/log/Xorg.0.log:
    http://pastebin.ca/1756808

    thx a lot!

  9. #9
    Join Date
    May 2007
    Posts
    352

    Default

    Are you a member of the group that owns /dev/dri/card0 ?

    Adam

  10. #10
    Join Date
    Jul 2008
    Location
    Berlin, Germany
    Posts
    847

    Default

    (WW) RADEON(0): Option "GARTSize" is not used
    (WW) RADEON(0): Option "VideoOverlay" is not used
    (WW) RADEON(0): Option "OpenGLOverlay" is not used
    (WW) RADEON(0): Option "TexturedVideo" is not used
    (WW) RADEON(0): Option "XAANoOffscreenPixmaps" is not used
    (WW) RADEON(0): Option "UseInternalAGPGART" is not used
    seems you have a lot of old cruft in xorg.conf, get rid of it.

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
  •