- lux-integ:
Before nouveau passed into the linux kernel proper one had to install the drm
and the driver both available from he nouveau git repository.
I have installed drm-2.3.29 and with nouveau now in the kernel does one
still need to install the 'nouveau' drm from the nouveau git repository?
- Armin K.:
Nouveau DRM driver is part of Linux kernel since 2.6.33. It was moved
from staging area to the current location with Linux 3.4. You should use
the driver from kernel. nouveau-drm repo at freedesktop.org is mainly
for development and it can be unstable or buggy.
- Alex:
I see a possible confusion here regarding the _separate_
kernel "nouveau" module and the
Xorg "nouveau" (and kernel "drm.ko") driver.
Machine with NVIDIA card. I boot up to command mode first (level 3).
The kernel nouveau driver is loaded on boot-up. During udevd run, I suppose:
[]$ lsmod | grep nouveau
nouveau 660283 1
mxm_wmi 965 1 nouveau
wmi 5739 2 mxm_wmi,nouveau
ttm 36503 1 nouveau
video 9276 1 nouveau
i2c_algo_bit 3711 1 nouveau
drm_kms_helper 17566 1 nouveau
drm 143061 3 ttm,drm_kms_helper,nouveau
hwmon 841 2 nouveau,thermal_sys
button 3247 1 nouveau
On startx (Xorg = level 5) I see a few non-trivial cases regarding
'xorg.conf' and Xorg driver 'nouveau_drv.so' respective configurations.
I show relevant excerpts from the resulting Xorg.0.log.
CASE #1
1. Section "Device"
Driver "nouveau"
2. '/usr/lib/X11/modules/drivers/nouveau_drv.so' exists
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/X11/modules/drivers/nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.0.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 13.0
(II) NOUVEAU driver Date: Tue Sep 25 11:35:35 2012 +0200
...
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Module "dri" already built-in
(II) NOUVEAU(0): Loaded DRI module
(II) [drm] DRM interface version 1.4
(II) [drm] DRM open master succeeded.
Server comes up
---------------------------------------------------------------------------------
CASE #2
1. Section "Device"
# Driver "nouveau"
2. '/usr/lib/X11/modules/drivers/nouveau_drv.so' exists
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/X11/modules/drivers/nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.0.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 13.0
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(II) UnloadModule: "nv"
(II) Unloading nv
(EE) Failed to load module "nv" (module does not exist, 0)
Server comes up.
---------------------------------------------------------------------------------
CASE #3
1. Section "Device"
# Driver "nouveau"
2. '/usr/lib/X11/modules/drivers/nouveau_drv.so' does NOT exist
Fatal server error:
no screens found
(EE)
(II) Loading /usr/lib/X11/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 7.0
(==) AIGLX enabled
Loading extension GLX
...
(II) LoadModule: "nouveau"
(WW) Warning, couldn't open module nouveau
(II) UnloadModule: "nouveau"
(II) Unloading nouveau
(EE) Failed to load module "nouveau" (module does not exist, 0)
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(II) UnloadModule: "nv"
(II) Unloading nv
(EE) Failed to load module "nv" (module does not exist, 0)
---------------------------------------------------------------------------------
CASE #4
1. Section "Device"
Driver "nouveau"
2. '/usr/lib/X11/modules/drivers/nouveau_drv.so' does NOT exist
Fatal server error:
no screens found
(EE)
(II) "glx" will be loaded by default.
(II) LoadModule: "glx"
(II) Loading /usr/lib/X11/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 7.0
(==) AIGLX enabled
Loading extension GLX
(II) LoadModule: "nouveau"
(WW) Warning, couldn't open module nouveau
(II) UnloadModule: "nouveau"
(II) Unloading nouveau
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) No drivers available.
Cheers,
-- Alex
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page