fglrx permission troubles


Results 1 to 6 of 6

Thread: fglrx permission troubles

  1. #1
    Join Date
    Apr 2005
    Location
    Czech Republic
    Posts
    34

    fglrx permission troubles

    Hello,

    I have successfully installed the ATI fglrx drivers on Debian Sid, but for some reason, direct rendering only works for root:
    Code:
    $ fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
    
    $ sudo fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9550 Generic
    OpenGL version string: 2.0.5814 (8.25.18)
    This howto suggests to put "Mode 0666" option to the dri section, which was already there. I also tried the alternative suggestion of setting it for "video" group and adding my user there, which didn't help either.

    I have no other idea and couldn't find any helpful info on that besides the howto I mentioned, so if anyone has an idea, please share.

    My configuration and log files:
    /etc/xorg.conf
    /var/log/Xorg.0.log

  2. #2
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    Code:
     Section "DRI"
        Mode 0666
     EndSection
    Use that as the DRI section, no idea what that Group thing is all about
    Also should have Modes in your Screen section, like so
    Code:
    Section "Screen"
        Identifier  "Screen0"
        Device      "Videocard0"
        Monitor     "Monitor0"
        DefaultDepth 24
        Subsection "Display"
            Depth       24
            Modes       "1400x1050" "1152x864" "1280x1024" "1024x768"
            ViewPort    0 0
        EndSubsection

  3. #3
    Join Date
    Apr 2005
    Location
    Czech Republic
    Posts
    34
    As I said in the post, that was what I tried first, the group thing was just a try from the linked howto, but neither works.

    Modes got detected correcly for my monitor without specifying them, so I didn't bother, but I put them there now anyway, even though it's not related to the issue I'm having.

    New xorg.conf (still doesn't work)

  4. #4
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Do you get something different with:

    Code:
    ldd /usr/bin/fglrxinfo
    (or whatever path the fglrxinfo binary is in) versus:

    Code:
    sudo ldd /usr/bin/fglrxinfo
    (or again, whatever path it's in)? That will print all the libraries that the fglrxinfo binary links to. If it shows different libGL paths, that may be part of the issue.

    (If it shows the same thing, then you probably want to double-check that you don't have multiple fglrxinfo binaries floating around in different directories.)

  5. #5
    Join Date
    Apr 2005
    Location
    Czech Republic
    Posts
    34
    Both give same paths and files, just the numbers in parenthesis are different (not sure what they mean, manpage doesn't seem to say):
    Code:
    $ ldd /usr/bin/fglrxinfo
            linux-gate.so.1 =>  (0xffffe000)
            libGL.so.1 => /usr/lib/libGL.so.1 (0xa7e73000)
            libX11.so.6 => /usr/lib/libX11.so.6 (0xa7dab000)
            libXext.so.6 => /usr/lib/libXext.so.6 (0xa7d9c000)
            libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xa7c64000)
            libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xa7c51000)
            libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xa7c4d000)
            libXau.so.6 => /usr/lib/libXau.so.6 (0xa7c4a000)
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xa7c45000)
            /lib/ld-linux.so.2 (0xa7f24000)
    $ sudo ldd /usr/bin/fglrxinfo
            linux-gate.so.1 =>  (0xffffe000)
            libGL.so.1 => /usr/lib/libGL.so.1 (0xa7e84000)
            libX11.so.6 => /usr/lib/libX11.so.6 (0xa7dbc000)
            libXext.so.6 => /usr/lib/libXext.so.6 (0xa7dad000)
            libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xa7c75000)
            libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xa7c62000)
            libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xa7c5e000)
            libXau.so.6 => /usr/lib/libXau.so.6 (0xa7c5b000)
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xa7c56000)
            /lib/ld-linux.so.2 (0xa7f35000)
    I also checked for multiple fglrxinfo binaries, found three of them, all seem to be the same, and behave the same:
    Code:
    -rwxr-xr-x 1 root root 11064 2006-05-30 22:28 /usr/X11R6/bin/fglrxinfo
    -rwxr-xr-x 1 root root 11064 2006-05-30 22:28 /usr/bin/fglrxinfo
    -rwxr-xr-x 1 root root 11064 2006-05-30 22:28 /usr/bin/X11/fglrxinfo
    But the problem is not just fglrxinfo, all apps that require direct rendering fail to run as normal user, but run just fine as root, for example the test program fgl_glxgears:
    Code:
    $ fgl_glxgears
    Using GLX_SGIX_pbuffer
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  144 (GLX)
      Minor opcode of failed request:  5 (X_GLXMakeCurrent)
      Serial number of failed request:  33
      Current serial number in output stream:  33
    
    $ sudo fgl_glxgears
    Using GLX_SGIX_pbuffer
    1194 frames in 5.0 seconds = 238.800 FPS
    1211 frames in 5.0 seconds = 242.200 FPS
    It used to work before the modular xorg 7.0 came out, since then I used the opensource ati drivers, but now I'd like 3d acceleration back so reinstalled the (newest) drivers but got into these problems...
    Last edited by Frown; 06-22-2006 at 10:29 AM.

  6. #6
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    ATI is a trip to get GLX working, I have two laptops with M9's and it's like any update will break GLX
    I just got DRI working one one with a dual monitor setup, but here's my xorg.conf for the same system but with one display
    http://www.paradoxinc.net*******icar...onf-single-glx
    i take it / files / is a bad word now??? replace the *** with / files / without the spaces...

    For me, once that was working properly the dual was pretty simple.
    But for you, there are more things to it then the xorg.conf, kernel option have A LOT to do with getting fglrx working properly. I use Gentoo and this page helped me almost completely. Pay close detail to the kernel config and make sure you have that set properly with the correct agp module.
    Last edited by Icarus; 06-22-2006 at 11:45 AM.

Posting Permissions

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