Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Failed to load module dri/dri2. Is that a problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
undulat
n00b
n00b


Joined: 19 Dec 2009
Posts: 19

PostPosted: Thu Jan 07, 2010 8:07 am    Post subject: [SOLVED] Failed to load module dri/dri2. Is that a problem? Reply with quote

I have a nvidia graphicscard and use Nvidias own binary driver. When running startx, X starts and shows some xterm windows, and I get in the output after closing X:

(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)

Do I not need dri (dri2?) to get some speed? If so, how do I get it?


Last edited by undulat on Thu Jan 07, 2010 8:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Jan 07, 2010 9:16 am    Post subject: Reply with quote

If you had simply followed gentoo's documentation regarding nVidia, you would have known that dri is to be commented out of xorg.conf.
Code:
Section "Module"
  (...)
  # Load  "dri"
  Load  "glx"
  (...)
EndSection

Everything is there ! : http://www.gentoo.org/doc/en/nvidia-guide.xml
The quality of its documentation is part of Gentoo's fame !
Back to top
View user's profile Send private message
undulat
n00b
n00b


Joined: 19 Dec 2009
Posts: 19

PostPosted: Thu Jan 07, 2010 10:19 am    Post subject: Reply with quote

aCOSwt wrote:
If you had simply followed gentoo's documentation regarding nVidia, you would have known that dri is to be commented out of xorg.conf.
Code:
Section "Module"
  (...)
  # Load  "dri"
  Load  "glx"
  (...)
EndSection

Everything is there ! : http://www.gentoo.org/doc/en/nvidia-guide.xml


grep dri /etc/X11/xorg.conf
find nothing. That sounds a bit strange.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3490
Location: Dallas area

PostPosted: Thu Jan 07, 2010 11:22 am    Post subject: Reply with quote

If you are using the nvidia supplied drivers, then neither dri nor dri2 will be loaded as they are already inside the nvidia code.

You can ignore those messages, if you don't want to see them then add this to the xorg.conf file
Code:
Section "Module"
    Disable        "dri"
    Disable        "dri2"
EndSection


You will still get a warning message, but no error ones
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Jan 07, 2010 11:34 am    Post subject: Reply with quote

Anon-E-moose wrote:
...You can ignore those messages...

:? Hmmm...
undulat had (EE) messages...
These are not warnings and as far as I know Xorg, they just cannot be ignored
Back to top
View user's profile Send private message
undulat
n00b
n00b


Joined: 19 Dec 2009
Posts: 19

PostPosted: Thu Jan 07, 2010 11:54 am    Post subject: Reply with quote

Anon-E-moose wrote:
If you are using the nvidia supplied drivers, then neither dri nor dri2 will be loaded as they are already inside the nvidia code.

You can ignore those messages, if you don't want to see them then add this to the xorg.conf file
Code:
Section "Module"
    Disable        "dri"
    Disable        "dri2"
EndSection


You will still get a warning message, but no error ones


With the disable lines above I see no warnings.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2658
Location: Slovenia

PostPosted: Thu Jan 07, 2010 11:57 am    Post subject: Reply with quote

Nvidia doesn't use neither DRI nor DRI2, so these messages are harmless.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3490
Location: Dallas area

PostPosted: Thu Jan 07, 2010 12:03 pm    Post subject: Reply with quote

undulat wrote:
Anon-E-moose wrote:

You will still get a warning message, but no error ones


With the disable lines above I see no warnings.


I should have said you would get messages, not warnings

Code:
(WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
(II) "dri" will be loaded even though the default is to disable it.
(II) "dri2" will be loaded even though the default is to disable it.




Edit to add: Since this is solved, please add "solved" to the original post-title
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
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