[sisyphus] nvidia?

Vladislav Zavjalov slazav на altlinux.org
Ср Дек 5 12:26:58 MSK 2018


On Wed, Dec 05, 2018 at 10:59:06AM +0300, Sergey V Turchin wrote:

Спасибо. Но пока не получилось...

> > У меня при dist-upgrade опять сломались X.
> > Видиокарта nvidia. Такое происходит регулярно, но
> > я так пока и не понимаю тот зоопарк пакетов,
> > скриптов, драйверов, который есть в Сизифе...
> nvidia-clean-driver

Сделал,
# nvidia-clean-driver
Nothing to remove.

> Удалите
> /etc/X11/xorg.conf
> /etc/X11/xorg.conf.d/09-nvidia.conf
> /etc/X11/xorg.conf.d/10-monitor.conf

Был только 09-nvidia.conf, удалил
# ls /etc/X11/xorg.conf*
10-evdev.conf  90-input-thinkpad.conf  95-input-keyboard.conf

> > Подскажите, какие пакеты правильно иметь,
> kernel-modules-nvidia для текущего ядра. Всё. Один пакет. Только он.

Убрал все, что было с именем nvidia (кроме apt-scripts),
поставил kernel-modules-nvidia-un-def

вытащилось следующее:
# rpm -qa | grep nvidia
nvidia_glx_390.87-390.87-alt191.x86_64
i586-nvidia_glx_340.107-340.107-alt158.i586
i586-nvidia_glx_390.87-390.87-alt191.i586
nvidia_glx_common-410.73-alt205.x86_64
kernel-modules-nvidia-un-def-410.73-alt2.267014.1.x86_64
i586-libnvidia-egl-wayland1-390.87-alt191.i586
nvidia_glx_340.107-340.107-alt158.x86_64
i586-nvidia_glx_common-410.73-alt205.i586
i586-nvidia_glx_410.73-410.73-alt191.i586
apt-scripts-nvidia-0.4.6-alt1.S1.x86_64
libnvidia-egl-wayland1-410.73-alt191.x86_64
nvidia_glx_410.73-410.73-alt191.x86_64

модуль загружается:
# lsmod |grep nvidia
nvidia              14401536  0
ipmi_msghandler        65536  2 ipmi_devintf,nvidia
i2c_core               77824  4 drm_kms_helper,nvidia,i2c_i801,drm

результат тот же: ничего не загружается (приложил лог),
если сделать rmmod nvidia - поднимается vesa на 1024x768

> > Ну и вообще, что проверить...
> `glxinfo | grep renderer`
> и
> `glxgears`

$ glxinfo | grep renderer
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 6.0, 256 bits)

$ glxgears
bash: glxgears: command not found

> > У меня есть модуль ядра nvidia, если он загружен - то
> > ничего не запускается,
> > log - в приложении.
> В каком?
> И `lspci -nn`.

Прошу прощения, вчера забыл, сейчас прикладываю.

Слава
----------- следующая часть -----------
[ 56561.605] 
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 56561.605] Build Operating System: ALT Sisyphus (unstable) (sisyphus) x86_64
[ 56561.605] Current Operating System: Linux slazav.localdomain 4.19.6-un-def-alt1 #1 SMP PREEMPT Sun Dec 2 20:26:14 UTC 2018 x86_64
[ 56561.605] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=UUID=04e80089-9f41-4fa7-95b9-f7af7b27a37b ro quiet=1 panic=30 splash
[ 56561.605] Build Date: 26 October 2018  07:36:28AM
[ 56561.605]  
[ 56561.605] Current version of pixman: 0.34.0
[ 56561.605] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 56561.605] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 56561.605] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  5 11:13:31 2018
[ 56561.605] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 56561.605] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 56561.605] (==) No Layout section.  Using the first Screen section.
[ 56561.605] (==) No screen section available. Using defaults.
[ 56561.605] (**) |-->Screen "Default Screen Section" (0)
[ 56561.605] (**) |   |-->Monitor "<default monitor>"
[ 56561.605] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 56561.605] (==) Automatically adding devices
[ 56561.605] (==) Automatically enabling devices
[ 56561.605] (==) Automatically adding GPU devices
[ 56561.605] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 56561.605] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d
[ 56561.605] (==) ModulePath set to "/usr/lib64/X11/modules"
[ 56561.605] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 56561.605] (II) Loader magic: 0x818d40
[ 56561.605] (II) Module ABI versions:
[ 56561.605] 	X.Org ANSI C Emulation: 0.4
[ 56561.605] 	X.Org Video Driver: 24.0
[ 56561.605] 	X.Org XInput driver : 24.1
[ 56561.605] 	X.Org Server Extension : 10.0
[ 56561.607] (--) PCI:*(1 на 0:0:0) 10de:0dd8:10de:084a rev 161, Mem @ 0xf8000000/33554432, 0xd0000000/134217728, 0xd8000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 56561.607] (II) LoadModule: "glx"
[ 56561.607] (II) Loading /usr/lib64/X11/modules/extensions/libglx.so
[ 56561.608] (II) Module glx: vendor="X.Org Foundation"
[ 56561.608] 	compiled for 1.20.3, module version = 1.0.0
[ 56561.608] 	ABI class: X.Org Server Extension, version 10.0
[ 56561.608] (==) Matched nouveau as autoconfigured driver 0
[ 56561.608] (==) Matched nv as autoconfigured driver 1
[ 56561.608] (==) Matched modesetting as autoconfigured driver 2
[ 56561.608] (==) Matched fbdev as autoconfigured driver 3
[ 56561.608] (==) Matched vesa as autoconfigured driver 4
[ 56561.608] (==) Assigned the driver to the xf86ConfigLayout
[ 56561.608] (II) LoadModule: "nouveau"
[ 56561.608] (WW) Warning, couldn't open module nouveau
[ 56561.608] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 56561.608] (II) LoadModule: "nv"
[ 56561.608] (WW) Warning, couldn't open module nv
[ 56561.608] (EE) Failed to load module "nv" (module does not exist, 0)
[ 56561.608] (II) LoadModule: "modesetting"
[ 56561.608] (II) Loading /usr/lib64/X11/modules/drivers/modesetting_drv.so
[ 56561.608] (II) Module modesetting: vendor="X.Org Foundation"
[ 56561.608] 	compiled for 1.20.3, module version = 1.20.3
[ 56561.608] 	Module class: X.Org Video Driver
[ 56561.608] 	ABI class: X.Org Video Driver, version 24.0
[ 56561.608] (II) LoadModule: "fbdev"
[ 56561.608] (II) Loading /usr/lib64/X11/modules/drivers/fbdev_drv.so
[ 56561.608] (II) Module fbdev: vendor="X.Org Foundation"
[ 56561.608] 	compiled for 1.20.0, module version = 0.5.0
[ 56561.608] 	Module class: X.Org Video Driver
[ 56561.608] 	ABI class: X.Org Video Driver, version 24.0
[ 56561.608] (II) LoadModule: "vesa"
[ 56561.608] (II) Loading /usr/lib64/X11/modules/drivers/vesa_drv.so
[ 56561.609] (II) Module vesa: vendor="X.Org Foundation"
[ 56561.609] 	compiled for 1.20.0, module version = 2.4.0
[ 56561.609] 	Module class: X.Org Video Driver
[ 56561.609] 	ABI class: X.Org Video Driver, version 24.0
[ 56561.609] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 56561.609] (II) FBDEV: driver for framebuffer: fbdev
[ 56561.609] (II) VESA: driver for VESA chipsets: vesa
[ 56561.609] (--) using VT number 7

[ 56561.609] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 56561.609] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 56561.611] (EE) open /dev/dri/card0: No such file or directory
[ 56561.611] (WW) Falling back to old probe method for modesetting
[ 56561.611] (EE) open /dev/dri/card0: No such file or directory
[ 56561.611] (II) Loading sub module "fbdevhw"
[ 56561.611] (II) LoadModule: "fbdevhw"
[ 56561.611] (II) Loading /usr/lib64/X11/modules/libfbdevhw.so
[ 56561.611] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 56561.611] 	compiled for 1.20.3, module version = 0.0.2
[ 56561.611] 	ABI class: X.Org Video Driver, version 24.0
[ 56561.611] (EE) Unable to find a valid framebuffer device
[ 56561.611] (WW) Falling back to old probe method for fbdev
[ 56561.611] (II) Loading sub module "fbdevhw"
[ 56561.611] (II) LoadModule: "fbdevhw"
[ 56561.611] (II) Loading /usr/lib64/X11/modules/libfbdevhw.so
[ 56561.611] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 56561.611] 	compiled for 1.20.3, module version = 0.0.2
[ 56561.611] 	ABI class: X.Org Video Driver, version 24.0
[ 56561.611] (EE) open /dev/fb0: No such file or directory
[ 56561.611] vesa: Ignoring device with a bound kernel driver
[ 56561.611] (EE) Screen 0 deleted because of no matching config section.
[ 56561.611] (II) UnloadModule: "modesetting"
[ 56561.611] (EE) Screen 0 deleted because of no matching config section.
[ 56561.611] (II) UnloadModule: "fbdev"
[ 56561.611] (II) UnloadSubModule: "fbdevhw"
[ 56561.612] (EE) Screen 0 deleted because of no matching config section.
[ 56561.612] (II) UnloadModule: "vesa"
[ 56561.612] (EE) Device(s) detected, but none match those in the config file.
[ 56561.612] (EE) 
Fatal server error:
[ 56561.612] (EE) no screens found(EE) 
[ 56561.612] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 56561.612] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 56561.612] (EE) 
[ 56561.613] (EE) Server terminated with error (1). Closing log file.
----------- следующая часть -----------
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 Processor Family DRAM Controller [8086:0108] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) [8086:1502] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4)
00:1f.0 ISA bridge [0601]: Intel Corporation C206 Chipset LPC Controller [8086:1c56] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller [8086:1c02] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106GL [Quadro 2000] [10de:0dd8] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GF106 High Definition Audio Controller [10de:0be9] (rev a1)
03:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)


Подробная информация о списке рассылки Sisyphus