You are not logged in.

#1 2006-03-24 16:35:25

luisrobles
Member
Registered: 2006-03-12
Posts: 34

Ati 3D works only as root [Solved]

My problems seems to exist between the chair and monitor  :twisted:  :twisted:
After download xorg-server and xf86-video-ati, used "xorgcfg -textmode" for initial configuration. xorg.conf was written without problems and gnome work fine.
After that i download "ati-fglrx" with pacman, then used:
aticonfig --initial --input=/etc/X11/xorg.conf
Gnome still work fine (GDM always work slow, 15 seconds to see anything).

But, when i run tuxracer only can play as root, because when start the game as normal user, 3D accel doesn't work properly...

Help please, and sorry for my English, i'm so ****ing noob!


COMPAQ V2417LA NOTEBOOK powered by Arch Linux:
AMD Sempron 3000+ | 512MB 333DDR | HD 60GB | 14'' WXGA Wide | DVD+-RW | Logitech MX510 RED.

[ NOKIA N-gage QD ]
[ PALM Tungsten T2 ]

Offline

#2 2006-03-24 19:10:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Ati 3D works only as root [Solved]

Add your user to the video group:
# gpasswd -a USERNAME video

Offline

#3 2006-03-24 19:29:46

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Ati 3D works only as root [Solved]

check to ensure you have this in your xorg.conf:

Section "DRI"
    Mode 0666
EndSection

Offline

#4 2006-03-24 22:13:27

luisrobles
Member
Registered: 2006-03-12
Posts: 34

Re: Ati 3D works only as root [Solved]

thanx, but still don't work fine...

When i exit, console send this line:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".

any idea??


COMPAQ V2417LA NOTEBOOK powered by Arch Linux:
AMD Sempron 3000+ | 512MB 333DDR | HD 60GB | 14'' WXGA Wide | DVD+-RW | Logitech MX510 RED.

[ NOKIA N-gage QD ]
[ PALM Tungsten T2 ]

Offline

#5 2006-03-24 23:59:17

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Ati 3D works only as root [Solved]

make sure

Load "dri"

is in your "Modules" section.

Offline

#6 2006-03-26 17:18:28

luisrobles
Member
Registered: 2006-03-12
Posts: 34

Re: Ati 3D works only as root [Solved]

doesn't work my friend.
AS NORMAL USER (luisrobles):

[luisrobles@localhost ~]$ fglrxinfo
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
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.2)


AS ROOT

[root@localhost luisrobles]# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON XPRESS 200M Series SW TCL Generic
OpenGL version string: 2.0.5695 (8.23.7)


ls -l /dev/ | less give:

drwxr-xr-x  2 root root           0 2006-03-27 03:35 dri

/etc/X11/xorg.conf

Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "aticonfig Screen 0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/psaux"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "latam"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        HorizSync    31.5 - 57.0
        VertRefresh  50.0 - 70.0
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "ati"
        Card        "** ATI (generic)                      [ati]"
EndSection

Section "Device"
        Identifier  "ATI Graphics Adapter 0"
        Driver      "fglrx"
        BusID       "PCI:1:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x768" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig Screen 0"
        Device     "ATI Graphics Adapter 0"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

COMPAQ V2417LA NOTEBOOK powered by Arch Linux:
AMD Sempron 3000+ | 512MB 333DDR | HD 60GB | 14'' WXGA Wide | DVD+-RW | Logitech MX510 RED.

[ NOKIA N-gage QD ]
[ PALM Tungsten T2 ]

Offline

#7 2006-03-26 17:41:06

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Ati 3D works only as root [Solved]

luisrobles wrote:

doesn't work my friend.

I repeat myself:

Cerebral wrote:

check to ensure you have this in your xorg.conf:

Section "DRI"
    Mode 0666
EndSection

Offline

#8 2006-03-27 15:17:12

luisrobles
Member
Registered: 2006-03-12
Posts: 34

Re: Ati 3D works only as root [Solved]

Cerebral wrote:
luisrobles wrote:

doesn't work my friend.

I repeat myself:

Cerebral wrote:

check to ensure you have this in your xorg.conf:

Section "DRI"
    Mode 0666
EndSection

Thanks pal, the first time doesn't work (  roll ), the second time i tried work awesome!!


COMPAQ V2417LA NOTEBOOK powered by Arch Linux:
AMD Sempron 3000+ | 512MB 333DDR | HD 60GB | 14'' WXGA Wide | DVD+-RW | Logitech MX510 RED.

[ NOKIA N-gage QD ]
[ PALM Tungsten T2 ]

Offline

Board footer

Powered by FluxBB