On 06/07/15 14:56, Christopher Ross wrote:
On 06/07/15 14:31, Richard Shaw wrote:
> I think you've been bitten by a recent bug that's cropped up with dnf.
> Yum chose the shorted name by default that met a particular requirement
> so kernel-devel was chosen over kernel-debug-devel, but dnf doesn't do
> this. Dnf isn't "wrong" but it does create a serious inconvenience.
>
In my case the machine is running the non-debug kernel but installing
xorg-x11-drv-nvidia brought in the debug headers. I installed the
non-debug headers too and now the module builds.
[... snip ...]
akmods --force
Checking kmods exist for 4.0.6-300.fc22.x86_64 [ OK ]
Building and installing nvidia-kmod [ OK ]
Sadly, I can't check right now whether X can now happily use the nVidia
drivers.
OK, so I have had opportunity to reboot the machine but now it is coming
up in text mode.
The nVidia modules exist now
root@snoopy 10:03:29 ~ # locate nvidia_drv
/usr/lib64/dri/nvidia_drv_video.so
/usr/lib64/xorg/modules/drivers/nvidia_drv.so
But X is still trying to use nouveau. What is the missing step to tell X
to use the nVidia drivers instead?
[107131.379] (II) "glx" will be loaded by default.
[107131.379] (II) LoadModule: "glx"
[107131.379] (II) Loading /usr/lib64/nvidia/xorg/libglx.so
[107131.384] (II) Module glx: vendor="NVIDIA Corporation"
[107131.384] compiled for 4.0.2, module version = 1.0.0
[107131.384] Module class: X.Org Server Extension
[107131.384] (II) NVIDIA GLX Module 346.72 Tue May 5 17:11:15 PDT 2015
[107131.384] (==) Matched nouveau as autoconfigured driver 0
[107131.384] (==) Matched nv as autoconfigured driver 1
[107131.384] (==) Matched nouveau as autoconfigured driver 2
[107131.384] (==) Matched nv as autoconfigured driver 3
[107131.384] (==) Matched modesetting as autoconfigured driver 4
[107131.384] (==) Matched fbdev as autoconfigured driver 5
[107131.384] (==) Matched vesa as autoconfigured driver 6
[107131.384] (==) Assigned the driver to the xf86ConfigLayout
[107131.384] (II) LoadModule: "nouveau"
[107131.384] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[107131.384] (II) Module nouveau:
vendor="X.Org Foundation"
[107131.384] compiled for 1.17.1, module version = 1.0.11
[107131.384] Module class: X.Org Video Driver
[107131.384] ABI class: X.Org Video Driver, version 19.0
[107131.384] (II) LoadModule: "nv"
[107131.384] (WW) Warning, couldn't open module nv
[107131.384] (II) UnloadModule: "nv"
[107131.384] (II) Unloading nv
[107131.384] (EE) Failed to load module "nv" (module does not exist, 0)
[107131.384] (II) LoadModule: "modesetting"
[107131.384] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[107131.384] (II) Module modesetting:
vendor="X.Org Foundation"
[107131.384] compiled for 1.17.2, module version = 1.17.2
[107131.384] Module class: X.Org Video Driver
[107131.384] ABI class: X.Org Video Driver, version 19.0
[107131.384] (II) LoadModule: "fbdev"
[107131.384] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[107131.384] (II) Module fbdev:
vendor="X.Org Foundation"
[107131.384] compiled for 1.17.1, module version = 0.4.3
[107131.384] Module class: X.Org Video Driver
[107131.384] ABI class: X.Org Video Driver, version 19.0
[107131.384] (II) LoadModule: "vesa"
[107131.384] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[107131.384] (II) Module vesa:
vendor="X.Org Foundation"
[107131.384] compiled for 1.17.1, module version = 2.3.2
[107131.384] Module class: X.Org Video Driver
[107131.384] ABI class: X.Org Video Driver, version 19.0
[107131.384] (II) NOUVEAU driver
[107131.384] (II) NOUVEAU driver for NVIDIA chipset families :
[107131.384] RIVA TNT (NV04)
[107131.384] RIVA TNT2 (NV05)
[107131.384] GeForce 256 (NV10)
[107131.384] GeForce 2 (NV11, NV15)
[107131.384] GeForce 4MX (NV17, NV18)
[107131.384] GeForce 3 (NV20)
[107131.384] GeForce 4Ti (NV25, NV28)
[107131.384] GeForce FX (NV3x)
[107131.385] GeForce 6 (NV4x)
[107131.385] GeForce 7 (G7x)
[107131.385] GeForce 8 (G8x)
[107131.385] GeForce GTX 200 (NVA0)
[107131.385] GeForce GTX 400 (NVC0)
[107131.385] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[107131.385] (II) FBDEV: driver for framebuffer: fbdev
[107131.385] (II) VESA: driver for VESA chipsets: vesa
[107131.385] (++) using VT number 1
[107131.385] (II) [drm] nouveau interface version: 1.2.1
[107131.385] (WW) Falling back to old probe method for modesetting
[107131.385] (WW) Falling back to old probe method for fbdev
[107131.385] (II) Loading sub module "fbdevhw"
[107131.385] (II) LoadModule: "fbdevhw"
[107131.385] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[107131.385] (II) Module fbdevhw:
vendor="X.Org Foundation"
[107131.385] compiled for 1.17.2, module version = 0.0.2
[107131.385] ABI class: X.Org Video Driver, version 19.0
[107131.385] (WW) Falling back to old probe method for vesa
[107131.385] (II) Loading sub module "dri2"
[107131.385] (II) LoadModule: "dri2"
[107131.385] (II) Module "dri2" already built-in
[107131.385] (--) NOUVEAU(0): Chipset: "NVIDIA NVE4"
[107131.385] (II) NOUVEAU(0): Creating default Display subsection in
Screen section
"Default Screen Section" for depth/fbbpp 24/32
[107131.385] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[107131.385] (==) NOUVEAU(0): RGB weight 888
[107131.385] (==) NOUVEAU(0): Default visual is TrueColor
[107131.385] (==) NOUVEAU(0): Using HW cursor
[107131.385] (==) NOUVEAU(0): GLX sync to VBlank enabled.
[107131.385] (==) NOUVEAU(0): Page flipping enabled
[107131.386] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
[107131.386] (==) NOUVEAU(0): Page flipping synced to vblank by kernel.
[107131.386] (II) NOUVEAU(0): Initializing outputs ...
[107131.397] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
[107131.454] (II) NOUVEAU(0): Output DVI-D-1 has no monitor section
[107131.456] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[107131.488] (II) NOUVEAU(0): Output DP-1 has no monitor section
[107131.488] (II) NOUVEAU(0): 4 crtcs needed for screen.
[107131.490] (II) NOUVEAU(0): Allocated crtc nr. 0 to this screen.
[107131.490] (II) NOUVEAU(0): Allocated crtc nr. 1 to this screen.
[107131.490] (II) NOUVEAU(0): Allocated crtc nr. 2 to this screen.
[107131.490] (II) NOUVEAU(0): Allocated crtc nr. 3 to this screen.
[107131.501] (II) NOUVEAU(0): EDID for output DVI-I-1
[107131.559] (II) NOUVEAU(0): EDID for output DVI-D-1
[107131.559] (II) NOUVEAU(0): Manufacturer: APP Model: 9221 Serial#:
33702996
[107131.559] (II) NOUVEAU(0): Year: 2009 Week: 37
[107131.559] (II) NOUVEAU(0): EDID Version: 1.3
[107131.559] (II) NOUVEAU(0): Digital Display Input
[107131.559] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 64 vert.: 40
[107131.559] (II) NOUVEAU(0): Gamma: 2.20
[107131.559] (II) NOUVEAU(0): DPMS capabilities: Off
[107131.559] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 YCrCb
4:4:4
[107131.559] (II) NOUVEAU(0): First detailed timing not preferred mode
in violation of standard!
[107131.559] (II) NOUVEAU(0): redX: 0.640 redY: 0.343 greenX: 0.292
greenY: 0.611
[107131.559] (II) NOUVEAU(0): blueX: 0.146 blueY: 0.074 whiteX: 0.313
whiteY: 0.329
[107131.559] (II) NOUVEAU(0): Manufacturer's mask: 0
[107131.559] (II) NOUVEAU(0): Supported detailed timing:
[107131.559] (II) NOUVEAU(0): clock: 71.0 MHz Image Size: 641 x 401 mm
[107131.559] (II) NOUVEAU(0): h_active: 1280 h_sync: 1328 h_sync_end
1360 h_blank_end 1440 h_border: 0
[107131.559] (II) NOUVEAU(0): v_active: 800 v_sync: 803 v_sync_end 809
v_blanking: 823 v_border: 0
[107131.559] (II) NOUVEAU(0): Supported detailed timing:
[107131.559] (II) NOUVEAU(0): clock: 268.0 MHz Image Size: 641 x 401 mm
[107131.559] (II) NOUVEAU(0): h_active: 2560 h_sync: 2608 h_sync_end
2640 h_blank_end 2720 h_border: 0
[107131.559] (II) NOUVEAU(0): v_active: 1600 v_sync: 1603 v_sync_end
1609 v_blanking: 1646 v_border: 0
[107131.559] (II) NOUVEAU(0): Serial No: CY937028XMP
[107131.559] (II) NOUVEAU(0): Monitor name: Cinema HD
[107131.559] (II) NOUVEAU(0): Number of EDID sections to follow: 1
[107131.559] (II) NOUVEAU(0): EDID (in hex):
[107131.559] (II) NOUVEAU(0): 00ffffffffffff000610219254440202
[107131.559] (II) NOUVEAU(0): 251301038040287828fe85a3574a9c25
[107131.559] (II) NOUVEAU(0): 13505400000001010101010101010101
[107131.559] (II) NOUVEAU(0): 010101010101bc1b00a0502017303020
[107131.559] (II) NOUVEAU(0): 360081912100001ab06800a0a0402e60
[107131.559] (II) NOUVEAU(0): 3020360081912100001a000000ff0043
[107131.559] (II) NOUVEAU(0): 59393337303238584d500a00000000fc
[107131.559] (II) NOUVEAU(0): 0043696e656d612048440a00000001bd
[107131.559] (II) NOUVEAU(0): 40010300000000c84801a500a5000102
[107131.559] (II) NOUVEAU(0): 031919a8000000000000400000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000000
[107131.559] (II) NOUVEAU(0): 00000000000000000000000000000041
[107131.559] (II) NOUVEAU(0): Printing probed modes for output DVI-D-1
[107131.559] (II) NOUVEAU(0): Modeline "2560x1600"x59.9 268.00 2560
2608 2640 2720 1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
[107131.559] (II) NOUVEAU(0): Modeline "1280x800"x59.9 71.00 1280
1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
[107131.560] (II) NOUVEAU(0): EDID for output HDMI-1
[107131.592] (II) NOUVEAU(0): EDID for output DP-1
[107131.592] (II) NOUVEAU(0): Output DVI-I-1 disconnected
[107131.592] (II) NOUVEAU(0): Output DVI-D-1 connected
[107131.592] (II) NOUVEAU(0): Output HDMI-1 disconnected
[107131.592] (II) NOUVEAU(0): Output DP-1 disconnected
[107131.592] (II) NOUVEAU(0): Using exact sizes for initial modes
[107131.592] (II) NOUVEAU(0): Output DVI-D-1 using initial mode
2560x1600 +0+0
[107131.592] (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0)
unless otherwise stated.
[107131.592] (--) NOUVEAU(0): Virtual size is 2560x1600 (pitch 0)
[107131.592] (**) NOUVEAU(0): Driver mode "2560x1600": 268.0 MHz
(scaled from 0.0 MHz), 98.5 kHz, 59.9 Hz
[107131.592] (II) NOUVEAU(0): Modeline "2560x1600"x59.9 268.00 2560
2608 2640 2720 1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
[107131.592] (**) NOUVEAU(0): Driver mode "1280x800": 71.0 MHz (scaled
from 0.0 MHz), 49.3 kHz, 59.9 Hz
[107131.592] (II) NOUVEAU(0): Modeline "1280x800"x59.9 71.00 1280
1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
[107131.592] (==) NOUVEAU(0): DPI set to (96, 96)
[107131.592] (II) Loading sub module "fb"
[107131.592] (II) LoadModule: "fb"
[107131.592] (II) Loading /usr/lib64/xorg/modules/libfb.so
[107131.592] (II) Module fb:
vendor="X.Org Foundation"
[107131.592] compiled for 1.17.2, module version = 1.0.0
[107131.592] ABI class: X.Org ANSI C Emulation, version 0.4
[107131.592] (II) Loading sub module "shadowfb"
[107131.592] (II) LoadModule: "shadowfb"
[107131.592] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so
[107131.592] (II) Module shadowfb:
vendor="X.Org Foundation"
[107131.592] compiled for 1.17.2, module version = 1.0.0
[107131.592] ABI class: X.Org ANSI C Emulation, version 0.4
[107131.592] (II) UnloadModule: "modesetting"
[107131.592] (II) Unloading modesetting
[107131.592] (II) UnloadModule: "fbdev"
[107131.592] (II) Unloading fbdev
[107131.592] (II) UnloadSubModule: "fbdevhw"
[107131.592] (II) Unloading fbdevhw
[107131.592] (II) UnloadModule: "vesa"
[107131.592] (II) Unloading vesa
[107131.592] (--) Depth 24 pixmap format is 32 bpp
[107131.597] (II) NOUVEAU(0): Channel setup complete.
[107131.598] (II) NOUVEAU(0): [COPY] async initialised.
[107131.598] (II) NOUVEAU(0): [DRI2] Setup complete
[107131.598] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
[107131.598] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
Thanks,
Chris R.