Announcement

Collapse
No announcement yet.

Radeon/KMS and KDE4

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

  • #11
    Originally posted by flockmock View Post
    I changed the xorg.conf file according to your suggestions, no change.

    my dmesg:


    my /var/log/Xorg.0.log:


    thx a lot!
    Nothing in those logs jumps at me as "wrong."

    I'll give here the exact xorg.conf and exact versions of the packages I used to get KMS working on my HD4870. Kernel was 2.6.33 rc4. Note that the only live ebuild (-9999) I used was for xf86-video-ati. Everything else were regular releases, not Git versions.

    Make sure x11-drivers/ati-drivers is not installed. Also make sure you're not having ATI's OpenGL lib still active. To ensure this, do a:

    Code:
    eselect opengl set xorg-x11
    This will ensure you're using Mesa, not the GL from fglrx.

    First, my xorg.conf. Try to use it as-is first; don't add anything else (I hope you have HAL enabled for X so you get mouse and keyboard automatically.)

    Code:
    Section "ServerLayout"
    	Identifier  "Simple Layout"
    	Screen      0  "Screen 1"  0  0
    EndSection
    
    
    Section "Monitor"
    	Identifier  "Monitor[0]"
    	Option	    "DPMS"  "true"
    EndSection
    
    
    Section "Device"
    	Identifier  "HD4870"
    	Driver      "radeon"
    	Option	    "ForceLowPowerMode"  "on"
    EndSection
    
    
    Section "Screen"
    	Monitor    "Monitor[0]"
    	Identifier "Screen 1"
    	Device     "HD4870"
    EndSection
    
    
    Section "DRI"
    	Mode         0666
    EndSection
    And the versions of the packages I used:

    Code:
    x11-apps/mesa-progs-7.7
    x11-apps/xinput-1.5.0
    x11-base/xorg-drivers-1.7
    x11-base/xorg-server-1.7.4
    x11-drivers/xf86-video-ati-9999  <-- The only live ebuild I used
    x11-libs/libdrm-2.4.17
    x11-libs/libX11-1.3.2
    x11-libs/libXScrnSaver-1.2.0
    x11-libs/libXext-1.1.1
    x11-libs/libXi-1.3
    x11-libs/libXinerama-1.1
    x11-libs/libXtst-1.1.0
    x11-libs/libXxf86dga-1.1.1
    x11-libs/libXxf86vm-1.1.0
    x11-proto/bigreqsproto-1.1.0
    x11-proto/fixesproto-4.1.1
    x11-proto/inputproto-2.0
    x11-proto/recordproto-1.14
    x11-proto/scrnsaverproto-1.2.0
    x11-proto/xcmiscproto-1.2.0
    x11-proto/xextproto-7.1.1
    x11-proto/xf86bigfontproto-1.2.0
    x11-proto/xf86dgaproto-2.1
    x11-proto/xf86driproto-2.1.0
    x11-proto/xf86vidmodeproto-2.3
    x11-proto/xineramaproto-1.2
    Last edited by RealNC; 19 January 2010, 07:37 AM.

    Comment


    • #12
      The first thing you should try is deleting xorg.conf.

      Comment


      • #13
        tried all of the above, some packages got updates, result stays the same. perhaps my Radeon HD 4670 is just too weak to provide decent openGL performance...?

        nevertheless, thanks all for your help, I will continue to try the latest kernels/drivers and will post here if I have success.

        Comment


        • #14
          Originally posted by flockmock View Post
          tried all of the above, some packages got updates, result stays the same. perhaps my Radeon HD 4670 is just too weak to provide decent openGL performance...?

          nevertheless, thanks all for your help, I will continue to try the latest kernels/drivers and will post here if I have success.
          Your HD 4670 should *easily* be fast enough. Unfortunately I can't help with your problem

          Comment


          • #15
            This seems like a permissions issue. Make sure you have permission to use DRI2.

            Comment


            • #16
              Try:
              Code:
              $ LIBGL_DEBUG=verbose glxinfo
              And paste here what it says when "direct rendering: no" appears (just first lines, above "name of display").

              Comment


              • #17
                the output is:
                Code:
                $ LIBGL_DEBUG=verbose glxinfo
                name of display: :0.0                        
                display: :0  screen: 0                       
                direct rendering: No
                hmm .. there is nothing more above 'name of display'

                @ TechMage89:
                I only have:
                Code:
                ls -la /dev/dri/
                total 0
                drwxr-xr-x  2 root root       80 2010-01-23 00:23 .
                drwxr-xr-x 26 root root    14260 2010-01-22 23:23 ..
                crw-rw----  1 root video 226,  0 2010-01-22 23:24 card0
                crw-rw----  1 root video 226, 64 2010-01-23 00:23 controlD64
                should there be more?

                Comment


                • #18
                  Originally posted by flockmock View Post
                  the output is:
                  Code:
                  $ LIBGL_DEBUG=verbose glxinfo
                  name of display: :0.0                        
                  display: :0  screen: 0                       
                  direct rendering: No
                  hmm .. there is nothing more above 'name of display'

                  @ TechMage89:
                  I only have:
                  Code:
                  ls -la /dev/dri/
                  total 0
                  drwxr-xr-x  2 root root       80 2010-01-23 00:23 .
                  drwxr-xr-x 26 root root    14260 2010-01-22 23:23 ..
                  crw-rw----  1 root video 226,  0 2010-01-22 23:24 card0
                  crw-rw----  1 root video 226, 64 2010-01-23 00:23 controlD64
                  should there be more?
                  fglrx installed their libGL maybe?

                  Dave.

                  Comment


                  • #19
                    ...solved!

                    Originally posted by airlied View Post
                    fglrx installed their libGL maybe?

                    Dave.
                    hi dave,
                    you were right! there was old cruft from an earlier fglrx-installation in /usr/lib64/xorg/; after deleting the old files (and updating to kde-4.3.5) everything is working fine. now that I have snow on my desktop, life can go on

                    time to say many thanks not only for your great work, but also for your support on this forum!

                    Comment


                    • #20
                      Just keep in mind that installing fglrx manually instead of using an ebuild is a bad, bad idea. Gentoo is different from all other distros fglrx supports in it's installation script. So don't do it again

                      Comment

                      Working...
                      X