Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI FireGL and DRI (SOLVED)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Thu Mar 02, 2006 3:19 am    Post subject: ATI FireGL and DRI (SOLVED) Reply with quote

I've gone through all of the work setting up DRI (use flags and Xorg "dri" module loading), and Xorg.0.log shows that DRI is enabled, but glxinfo as a user doesn't work; why is this so?

Last edited by Kenji Miyamoto on Fri Mar 03, 2006 9:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
/dev/random
l33t
l33t


Joined: 26 Nov 2004
Posts: 704
Location: Austin, Texas, USA

PostPosted: Thu Mar 02, 2006 3:32 am    Post subject: Reply with quote

Is said user in the video group?
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Thu Mar 02, 2006 3:35 am    Post subject: Reply with quote

Did you add the proper permissions in xorg.conf:

Code:
Section "dri"
    Mode 0666
EndSection
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Thu Mar 02, 2006 4:00 am    Post subject: Reply with quote

The user is in the video group and the permissions in xorg.conf at the end have been uncommented.

It may be worth mentioning that it is X11R7, but with the dri and fglrx flags set for xorg-x11
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Mar 03, 2006 8:11 am    Post subject: Reply with quote

The /dev/dri/card0 entry exists, with permissions set to crw-rw-rw-, and the following are the log sections involving DRI:
Code:
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI

(==) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
   compiled for 6.8.99.8, module version = 8.22.5
   ABI class: X.Org Server Extension, version 0.2

(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID PCI:1:5:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports

(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
EDIT: Even root can't get DRI.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Mar 03, 2006 9:58 pm    Post subject: Reply with quote

Nevermind; I just forgot to select the ATi OpenGL.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum