Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia complains about missing dri2
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
again
n00b
n00b


Joined: 22 Jun 2008
Posts: 9

PostPosted: Mon Sep 20, 2010 4:45 pm    Post subject: Nvidia complains about missing dri2 Reply with quote

According to https://forums.gentoo.org/viewtopic-t-810097-start-0.html nvidia cards do not use dri or dri2.

(And also according to that thread everyone who does not know this should rtfm; however it seams the hole issue might be slightly more complicated than implied. 8) )

Explicitly disabling dri and dri2 as recommended there did make these to messages go away.

However I still see this:
Code:

(EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0)
(II) NVIDIA(0): The X server will not be able to send the VDPAU driver name to
(II) NVIDIA(0):     libvdpau.


Looks like nvidia uses dri2 after all if it is available, isn't it?

So should I look into enabling dri2? Or it save to ignore this error? If so how can it be disabled?

I don't know whether the VDPAU warning is related but it comes right after the error.

Thanks


Last edited by again on Thu Sep 23, 2010 3:52 pm; edited 2 times in total
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Mon Sep 20, 2010 5:45 pm    Post subject: Reply with quote

What Nvidia card are you using? Vdpau doesn't work on cards older than the Geforce 8 series. http://en.wikipedia.org/wiki/VDPAU

Ciao
Back to top
View user's profile Send private message
again
n00b
n00b


Joined: 22 Jun 2008
Posts: 9

PostPosted: Mon Sep 20, 2010 6:10 pm    Post subject: Reply with quote

I'm using a GeForce 8800 GTS (rev a2), and should probably also note that I have x11-drivers/nvidia-drivers-256.53 installed.
Back to top
View user's profile Send private message
Da_G
n00b
n00b


Joined: 01 Nov 2006
Posts: 12

PostPosted: Tue Sep 21, 2010 1:18 am    Post subject: Reply with quote

I have a GTX275, I see the same error msg (all hwaccel [vdpau, opengl] works fine)
same driverset, the box is down right now so I can't pull more infos off it just yet.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Tue Sep 21, 2010 8:54 am    Post subject: Reply with quote

Ignore those messages. DRI/DRI2 is not used by the nvidia blob, all DRI/DRI2 related messages are irrelevant if you're using it.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Sep 21, 2010 11:23 am    Post subject: Reply with quote

Hi again,
Put this in your /etc/X11/xorg.conf
Code:

Section "Files"
    ModulePath "/usr/lib64/xorg/modules"
    ModulePath "/usr/lib64/opengl/xorg-x11/extensions/"
EndSection

Here's a snippet of my /var/log/Xorg.0.log
Code:

(II) LoadModule: "dri"
(II) Loading /usr/lib64/opengl/xorg-x11/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/opengl/xorg-x11/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2

As you can see this will install dri and dri2.
Hope this helps.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
again
n00b
n00b


Joined: 22 Jun 2008
Posts: 9

PostPosted: Thu Sep 23, 2010 1:35 pm    Post subject: Reply with quote

gerard82 wrote:

Hope this helps.
Gerard.


Yes this helped, thanks. (Couldn't test earlier as I had to wait for some ~50h task to complete :wink: .)
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Sep 23, 2010 3:51 pm    Post subject: Reply with quote

Just so you know, this isn't a solution, all it does is load the module for nor other reason but to waste ram. The nvidia driver doesn't use it.
Back to top
View user's profile Send private message
again
n00b
n00b


Joined: 22 Jun 2008
Posts: 9

PostPosted: Thu Sep 23, 2010 3:53 pm    Post subject: Reply with quote

So nvidia does not use it after all. Oh well :? .
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