View previous topic :: View next topic |
Author |
Message |
undulat n00b
Joined: 19 Dec 2009 Posts: 19
|
Posted: Thu Jan 07, 2010 8:07 am Post subject: [SOLVED] Failed to load module dri/dri2. Is that a problem? |
|
|
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 |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu Jan 07, 2010 9:16 am Post subject: |
|
|
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 |
|
|
undulat n00b
Joined: 19 Dec 2009 Posts: 19
|
Posted: Thu Jan 07, 2010 10:19 am Post subject: |
|
|
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 |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Thu Jan 07, 2010 11:22 am Post subject: |
|
|
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 _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu Jan 07, 2010 11:34 am Post subject: |
|
|
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 |
|
|
undulat n00b
Joined: 19 Dec 2009 Posts: 19
|
Posted: Thu Jan 07, 2010 11:54 am Post subject: |
|
|
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 |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Jan 07, 2010 11:57 am Post subject: |
|
|
Nvidia doesn't use neither DRI nor DRI2, so these messages are harmless. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Thu Jan 07, 2010 12:03 pm Post subject: |
|
|
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 _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|