nvidia驱动问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lonelyman123
帖子: 3
注册时间: 2018-11-18 11:08
系统: Ubuntu 18.04 LTS

nvidia驱动问题

#1

帖子 lonelyman123 » 2018-11-18 23:06

最近刚刚开始装上Ubuntu18.04 LTS,安装好nvidia驱动之后发现打开x setting之后和网上的教程不太一样:
TIM图片20181118225609.png
之后,使用nvidia-smi命令,如下报错:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

之后经大神指点,查看了Xorg日志,并没有看懂。但是那位大神说是缺少kernel module,但是作为新手小白,并不是很理解

所以请各位大神不吝赐教 Cry

PS:Xorg.log 内容:
[ 5.147] (--) Log file renamed from "/var/log/Xorg.pid-4494.log" to "/var/log/Xorg.0.log"
[ 5.147]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 5.147] X Protocol Version 11, Revision 0
[ 5.147] Build Operating System: Linux 4.4.0-138-generic x86_64 Ubuntu
[ 5.147] Current Operating System: Linux david-Inspiron-7577 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64
[ 5.147] Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.0-39-generic root=UUID=3ba1a670-1b06-448b-87f8-ed9a87ed8b64 ro quiet splash nomodeset vt.handoff=1
[ 5.147] Build Date: 25 October 2018 04:11:27PM
[ 5.147] xorg-server 2:1.19.6-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[ 5.147] Current version of pixman: 0.34.0
[ 5.147] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5.147] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.147] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 18 19:42:16 2018
[ 5.147] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5.148] (==) No Layout section. Using the first Screen section.
[ 5.148] (==) No screen section available. Using defaults.
[ 5.148] (**) |-->Screen "Default Screen Section" (0)
[ 5.148] (**) | |-->Monitor "<default monitor>"
[ 5.149] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5.149] (==) Automatically adding devices
[ 5.149] (==) Automatically enabling devices
[ 5.149] (==) Automatically adding GPU devices
[ 5.149] (==) Automatically binding GPU devices
[ 5.149] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5.150] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5.150] Entry deleted from font path.
[ 5.150] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 5.150] Entry deleted from font path.
[ 5.150] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 5.150] Entry deleted from font path.
[ 5.150] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 5.150] Entry deleted from font path.
[ 5.150] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 5.150] Entry deleted from font path.
[ 5.150] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 5.150] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5.150] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5.150] (II) Loader magic: 0x55cd0f90e020
[ 5.150] (II) Module ABI versions:
[ 5.150] X.Org ANSI C Emulation: 0.4
[ 5.150] X.Org Video Driver: 23.0
[ 5.150] X.Org XInput driver : 24.1
[ 5.150] X.Org Server Extension : 10.0
[ 5.151] (++) using VT number 1

[ 5.152] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 5.154] (--) PCI:*(0:0:2:0) 8086:591b:1028:07fa rev 4, Mem @ 0xdb000000/16777216, 0x70000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 5.154] (--) PCI: (0:1:0:0) 10de:1c8c:1028:07fa rev 161, Mem @ 0xdc000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 5.154] (II) LoadModule: "glx"
[ 5.154] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5.161] (II) Module glx: vendor="X.Org Foundation"
[ 5.161] compiled for 1.19.6, module version = 1.0.0
[ 5.161] ABI class: X.Org Server Extension, version 10.0
[ 5.161] (==) Matched modesetting as autoconfigured driver 0
[ 5.161] (==) Matched fbdev as autoconfigured driver 1
[ 5.161] (==) Matched vesa as autoconfigured driver 2
[ 5.161] (==) Assigned the driver to the xf86ConfigLayout
[ 5.161] (II) LoadModule: "modesetting"
[ 5.162] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5.162] (II) Module modesetting: vendor="X.Org Foundation"
[ 5.162] compiled for 1.19.6, module version = 1.19.6
[ 5.162] Module class: X.Org Video Driver
[ 5.162] ABI class: X.Org Video Driver, version 23.0
[ 5.162] (II) LoadModule: "fbdev"
[ 5.163] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5.163] (II) Module fbdev: vendor="X.Org Foundation"
[ 5.163] compiled for 1.19.3, module version = 0.4.4
[ 5.163] Module class: X.Org Video Driver
[ 5.163] ABI class: X.Org Video Driver, version 23.0
[ 5.163] (II) LoadModule: "vesa"
[ 5.163] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5.163] (II) Module vesa: vendor="X.Org Foundation"
[ 5.163] compiled for 1.19.3, module version = 2.3.4
[ 5.163] Module class: X.Org Video Driver
[ 5.163] ABI class: X.Org Video Driver, version 23.0
[ 5.163] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5.163] (II) FBDEV: driver for framebuffer: fbdev
[ 5.163] (II) VESA: driver for VESA chipsets: vesa
[ 5.163] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 5.163] (EE) open /dev/dri/card0: No such file or directory
[ 5.163] (WW) Falling back to old probe method for modesetting
[ 5.163] (EE) open /dev/dri/card0: No such file or directory
[ 5.163] (II) Loading sub module "fbdevhw"
[ 5.163] (II) LoadModule: "fbdevhw"
[ 5.163] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5.163] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 5.163] compiled for 1.19.6, module version = 0.0.2
[ 5.163] ABI class: X.Org Video Driver, version 23.0
[ 5.163] (**) FBDEV(1): claimed PCI slot 0@0:2:0
[ 5.163] (II) FBDEV(1): using default device
[ 5.163] (WW) Falling back to old probe method for vesa
[ 5.163] (EE) Screen 0 deleted because of no matching config section.
[ 5.163] (II) UnloadModule: "modesetting"
[ 5.163] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 5.163] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 5.163] (==) FBDEV(0): RGB weight 888
[ 5.163] (==) FBDEV(0): Default visual is TrueColor
[ 5.163] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5.163] (II) FBDEV(0): hardware: EFI VGA (video memory: 8100kB)
[ 5.163] (II) FBDEV(0): checking modes against framebuffer device...
[ 5.163] (II) FBDEV(0): checking modes against monitor...
[ 5.163] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[ 5.163] (**) FBDEV(0): Built-in mode "current": 207.4 MHz, 85.3 kHz, 77.2 Hz
[ 5.163] (II) FBDEV(0): Modeline "current"x0.0 207.38 1920 1952 2192 2432 1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
[ 5.163] (==) FBDEV(0): DPI set to (96, 96)
[ 5.164] (II) Loading sub module "fb"
[ 5.164] (II) LoadModule: "fb"
[ 5.164] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 5.165] (II) Module fb: vendor="X.Org Foundation"
[ 5.165] compiled for 1.19.6, module version = 1.0.0
[ 5.165] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.165] (**) FBDEV(0): using shadow framebuffer
[ 5.165] (II) Loading sub module "shadow"
[ 5.165] (II) LoadModule: "shadow"
[ 5.165] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 5.165] (II) Module shadow: vendor="X.Org Foundation"
[ 5.165] compiled for 1.19.6, module version = 1.1.0
[ 5.165] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.165] (II) UnloadModule: "vesa"
[ 5.165] (II) Unloading vesa
[ 5.165] (==) Depth 24 pixmap format is 32 bpp
[ 5.165] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[ 5.166] (==) FBDEV(0): Backing store enabled
[ 5.167] (==) FBDEV(0): DPMS enabled
[ 5.167] (==) RandR enabled
[ 5.169] (II) SELinux: Disabled on system
[ 5.170] (II) AIGLX: Screen 0 is not DRI2 capable
[ 5.170] (EE) AIGLX: reverting to software rendering
[ 5.210] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 5.210] (II) IGLX: Loaded and initialized swrast
[ 5.210] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 5.237] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 5.237] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 5.237] (II) LoadModule: "libinput"
[ 5.238] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 5.240] (II) Module libinput: vendor="X.Org Foundation"
[ 5.240] compiled for 1.19.6, module version = 0.27.1
[ 5.241] Module class: X.Org XInput Driver
[ 5.241] ABI class: X.Org XInput driver, version 24.1
[ 5.241] (II) Using input driver 'libinput' for 'Power Button'
[ 5.241] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 22 paused 0
[ 5.241] (**) Power Button: always reports core events
[ 5.241] (**) Option "Device" "/dev/input/event3"
[ 5.241] (**) Option "_source" "server/udev"
[ 5.242] (II) event3 - Power Button: is tagged by udev as: Keyboard
[ 5.242] (II) event3 - Power Button: device is a keyboard
[ 5.242] (II) event3 - Power Button: device removed
[ 5.242] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 5.242] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 5.242] (**) Option "xkb_model" "pc105"
[ 5.242] (**) Option "xkb_layout" "cn"
[ 5.253] (II) event3 - Power Button: is tagged by udev as: Keyboard
[ 5.253] (II) event3 - Power Button: device is a keyboard
[ 5.254] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 5.254] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 5.254] (II) Using input driver 'libinput' for 'Power Button'
[ 5.254] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 25 paused 0
[ 5.254] (**) Power Button: always reports core events
[ 5.254] (**) Option "Device" "/dev/input/event1"
[ 5.254] (**) Option "_source" "server/udev"
[ 5.255] (II) event1 - Power Button: is tagged by udev as: Keyboard
[ 5.255] (II) event1 - Power Button: device is a keyboard
[ 5.255] (II) event1 - Power Button: device removed
[ 5.255] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[ 5.255] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 5.255] (**) Option "xkb_model" "pc105"
[ 5.255] (**) Option "xkb_layout" "cn"
[ 5.255] (II) event1 - Power Button: is tagged by udev as: Keyboard
[ 5.255] (II) event1 - Power Button: device is a keyboard
[ 5.256] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 5.256] (II) No input driver specified, ignoring this device.
[ 5.256] (II) This device may have been added with another device file.
[ 5.256] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[ 5.256] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 5.256] (II) Using input driver 'libinput' for 'Sleep Button'
[ 5.257] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 26 paused 0
[ 5.257] (**) Sleep Button: always reports core events
[ 5.257] (**) Option "Device" "/dev/input/event2"
[ 5.257] (**) Option "_source" "server/udev"
[ 5.257] (II) event2 - Sleep Button: is tagged by udev as: Keyboard
[ 5.257] (II) event2 - Sleep Button: device is a keyboard
[ 5.257] (II) event2 - Sleep Button: device removed
[ 5.257] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[ 5.257] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 5.257] (**) Option "xkb_model" "pc105"
[ 5.257] (**) Option "xkb_layout" "cn"
[ 5.257] (II) event2 - Sleep Button: is tagged by udev as: Keyboard
[ 5.257] (II) event2 - Sleep Button: device is a keyboard
[ 5.258] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event11)
[ 5.258] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "libinput keyboard catchall"
[ 5.258] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD: Integrate'
[ 5.258] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 27 paused 0
[ 5.258] (**) Integrated_Webcam_HD: Integrate: always reports core events
[ 5.258] (**) Option "Device" "/dev/input/event11"
[ 5.258] (**) Option "_source" "server/udev"
[ 5.259] (II) event11 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[ 5.259] (II) event11 - Integrated_Webcam_HD: Integrate: device is a keyboard
[ 5.259] (II) event11 - Integrated_Webcam_HD: Integrate: device removed
[ 5.259] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input17/event11"
[ 5.259] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD: Integrate" (type: KEYBOARD, id 9)
[ 5.259] (**) Option "xkb_model" "pc105"
[ 5.259] (**) Option "xkb_layout" "cn"
[ 5.259] (II) event11 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[ 5.259] (II) event11 - Integrated_Webcam_HD: Integrate: device is a keyboard
[ 5.260] (II) config/udev: Adding input device DELL07FA:00 06CB:7E92 Touchpad (/dev/input/event8)
[ 5.260] (**) DELL07FA:00 06CB:7E92 Touchpad: Applying InputClass "libinput touchpad catchall"
[ 5.260] (II) Using input driver 'libinput' for 'DELL07FA:00 06CB:7E92 Touchpad'
[ 5.260] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 28 paused 0
[ 5.260] (**) DELL07FA:00 06CB:7E92 Touchpad: always reports core events
[ 5.260] (**) Option "Device" "/dev/input/event8"
[ 5.260] (**) Option "_source" "server/udev"
[ 5.261] (II) event8 - DELL07FA:00 06CB:7E92 Touchpad: is tagged by udev as: Touchpad
[ 5.261] (II) event8 - DELL07FA:00 06CB:7E92 Touchpad: device is a touchpad
[ 5.261] (II) event8 - DELL07FA:00 06CB:7E92 Touchpad: device removed
[ 5.261] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DELL07FA:00/0018:06CB:7E92.0001/input/input10/event8"
[ 5.261] (II) XINPUT: Adding extended input device "DELL07FA:00 06CB:7E92 Touchpad" (type: TOUCHPAD, id 10)
[ 5.261] (**) Option "AccelerationScheme" "none"
[ 5.261] (**) DELL07FA:00 06CB:7E92 Touchpad: (accel) selected scheme none/0
[ 5.261] (**) DELL07FA:00 06CB:7E92 Touchpad: (accel) acceleration factor: 2.000
[ 5.261] (**) DELL07FA:00 06CB:7E92 Touchpad: (accel) acceleration threshold: 4
[ 5.261] (II) event8 - DELL07FA:00 06CB:7E92 Touchpad: is tagged by udev as: Touchpad
[ 5.261] (II) event8 - DELL07FA:00 06CB:7E92 Touchpad: device is a touchpad
[ 5.262] (II) config/udev: Adding input device DELL07FA:00 06CB:7E92 Touchpad (/dev/input/mouse1)
[ 5.262] (II) No input driver specified, ignoring this device.
[ 5.262] (II) This device may have been added with another device file.
[ 5.262] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event9)
[ 5.262] (II) No input driver specified, ignoring this device.
[ 5.262] (II) This device may have been added with another device file.
[ 5.262] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event10)
[ 5.262] (II) No input driver specified, ignoring this device.
[ 5.262] (II) This device may have been added with another device file.
[ 5.262] (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
[ 5.262] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[ 5.262] (II) Using input driver 'libinput' for 'Intel HID events'
[ 5.263] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 29 paused 0
[ 5.263] (**) Intel HID events: always reports core events
[ 5.263] (**) Option "Device" "/dev/input/event6"
[ 5.263] (**) Option "_source" "server/udev"
[ 5.263] (II) event6 - Intel HID events: is tagged by udev as: Keyboard
[ 5.263] (II) event6 - Intel HID events: device is a keyboard
[ 5.263] (II) event6 - Intel HID events: device removed
[ 5.263] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input7/event6"
[ 5.263] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 11)
[ 5.263] (**) Option "xkb_model" "pc105"
[ 5.263] (**) Option "xkb_layout" "cn"
[ 5.264] (II) event6 - Intel HID events: is tagged by udev as: Keyboard
[ 5.264] (II) event6 - Intel HID events: device is a keyboard
[ 5.264] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event7)
[ 5.264] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[ 5.264] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[ 5.265] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 30 paused 0
[ 5.265] (**) Dell WMI hotkeys: always reports core events
[ 5.265] (**) Option "Device" "/dev/input/event7"
[ 5.265] (**) Option "_source" "server/udev"
[ 5.265] (II) event7 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[ 5.265] (II) event7 - Dell WMI hotkeys: device is a keyboard
[ 5.265] (II) event7 - Dell WMI hotkeys: device removed
[ 5.265] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:03/wmi_bus/wmi_bus-PNP0C14:03/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input8/event7"
[ 5.265] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 12)
[ 5.265] (**) Option "xkb_model" "pc105"
[ 5.265] (**) Option "xkb_layout" "cn"
[ 5.265] (II) event7 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[ 5.265] (II) event7 - Dell WMI hotkeys: device is a keyboard
[ 5.266] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 5.266] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 5.266] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 5.266] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 31 paused 0
[ 5.266] (**) AT Translated Set 2 keyboard: always reports core events
[ 5.266] (**) Option "Device" "/dev/input/event4"
[ 5.266] (**) Option "_source" "server/udev"
[ 5.266] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 5.266] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 5.266] (II) event4 - AT Translated Set 2 keyboard: device removed
[ 5.266] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[ 5.267] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[ 5.267] (**) Option "xkb_model" "pc105"
[ 5.267] (**) Option "xkb_layout" "cn"
[ 5.267] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 5.267] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 5.267] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[ 5.267] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 5.267] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[ 5.268] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 32 paused 0
[ 5.268] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 5.268] (**) Option "Device" "/dev/input/event5"
[ 5.268] (**) Option "_source" "server/udev"
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: device removed
[ 5.268] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event5"
[ 5.268] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 14)
[ 5.268] (**) Option "AccelerationScheme" "none"
[ 5.268] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[ 5.268] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 5.268] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[ 5.268] (II) event5 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 5.269] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 5.269] (II) No input driver specified, ignoring this device.
[ 5.269] (II) This device may have been added with another device file.
[ 16.841] (II) config/udev: Adding input device Keyboard K480 (/dev/input/event12)
[ 16.841] (**) Keyboard K480: Applying InputClass "libinput keyboard catchall"
[ 16.841] (II) Using input driver 'libinput' for 'Keyboard K480'
[ 16.842] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 51 paused 0
[ 16.842] (**) Keyboard K480: always reports core events
[ 16.842] (**) Option "Device" "/dev/input/event12"
[ 16.842] (**) Option "_source" "server/udev"
[ 16.843] (II) event12 - Keyboard K480: is tagged by udev as: Keyboard
[ 16.843] (II) event12 - Keyboard K480: device is a keyboard
[ 16.843] (II) event12 - Keyboard K480: device removed
[ 16.843] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/bluetooth/hci0/hci0:256/0005:046D:B33D.0002/input/input18/event12"
[ 16.843] (II) XINPUT: Adding extended input device "Keyboard K480" (type: KEYBOARD, id 15)
[ 16.843] (**) Option "xkb_model" "pc105"
[ 16.843] (**) Option "xkb_layout" "cn"
[ 16.843] (WW) Option "xkb_variant" requires a string value
[ 16.844] (WW) Option "xkb_options" requires a string value
[ 16.846] (II) event12 - Keyboard K480: is tagged by udev as: Keyboard
[ 16.846] (II) event12 - Keyboard K480: device is a keyboard
[ 51.669] (II) config/udev: Adding input device USB OPTICAL MOUSE (/dev/input/mouse2)
[ 51.669] (II) No input driver specified, ignoring this device.
[ 51.669] (II) This device may have been added with another device file.
[ 51.787] (II) config/udev: Adding input device USB OPTICAL MOUSE (/dev/input/event13)
[ 51.787] (**) USB OPTICAL MOUSE: Applying InputClass "libinput pointer catchall"
[ 51.787] (II) Using input driver 'libinput' for ' USB OPTICAL MOUSE'
[ 51.848] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 50 paused 0
[ 51.848] (**) USB OPTICAL MOUSE: always reports core events
[ 51.849] (**) Option "Device" "/dev/input/event13"
[ 51.849] (**) Option "_source" "server/udev"
[ 51.850] (II) event13 - USB OPTICAL MOUSE: is tagged by udev as: Mouse
[ 51.850] (II) event13 - USB OPTICAL MOUSE: device is a pointer
[ 51.850] (II) event13 - USB OPTICAL MOUSE: device removed
[ 51.850] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:89E5:1001.0003/input/input19/event13"
[ 51.850] (II) XINPUT: Adding extended input device " USB OPTICAL MOUSE" (type: MOUSE, id 16)
[ 51.853] (**) Option "AccelerationScheme" "none"
[ 51.854] (**) USB OPTICAL MOUSE: (accel) selected scheme none/0
[ 51.854] (**) USB OPTICAL MOUSE: (accel) acceleration factor: 2.000
[ 51.854] (**) USB OPTICAL MOUSE: (accel) acceleration threshold: 4
[ 51.856] (II) event13 - USB OPTICAL MOUSE: is tagged by udev as: Mouse
[ 51.856] (II) event13 - USB OPTICAL MOUSE: device is a pointer
[ 1621.793] (II) config/udev: removing device Keyboard K480
[ 1621.793] (**) Option "fd" "51"
[ 1621.793] (II) event12 - Keyboard K480: device removed
[ 1621.794] (II) UnloadModule: "libinput"
[ 1621.794] (II) systemd-logind: releasing fd for 13:76
[ 3445.778] (II) config/udev: Adding input device Keyboard K480 (/dev/input/event12)
[ 3445.779] (**) Keyboard K480: Applying InputClass "libinput keyboard catchall"
[ 3445.779] (II) Using input driver 'libinput' for 'Keyboard K480'
[ 3445.779] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 60 paused 0
[ 3445.779] (**) Keyboard K480: always reports core events
[ 3445.779] (**) Option "Device" "/dev/input/event12"
[ 3445.779] (**) Option "_source" "server/udev"
[ 3445.780] (II) event12 - Keyboard K480: is tagged by udev as: Keyboard
[ 3445.780] (II) event12 - Keyboard K480: device is a keyboard
[ 3445.780] (II) event12 - Keyboard K480: device removed
[ 3445.780] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/bluetooth/hci0/hci0:256/0005:046D:B33D.0004/input/input20/event12"
[ 3445.780] (II) XINPUT: Adding extended input device "Keyboard K480" (type: KEYBOARD, id 15)
[ 3445.780] (**) Option "xkb_model" "pc105"
[ 3445.780] (**) Option "xkb_layout" "cn"
[ 3445.780] (WW) Option "xkb_variant" requires a string value
[ 3445.780] (WW) Option "xkb_options" requires a string value
[ 3445.781] (II) event12 - Keyboard K480: is tagged by udev as: Keyboard
[ 3445.781] (II) event12 - Keyboard K480: device is a keyboard
onlylove
论坛版主
帖子: 5230
注册时间: 2007-01-14 16:23

Re: nvidia驱动问题

#2

帖子 onlylove » 2018-11-18 23:38

软件一直在更新,和网上的教程有出入正常,你要是翻古董文章,差距更大
头像
astolia
论坛版主
帖子: 6447
注册时间: 2008-09-18 13:11

Re: nvidia驱动问题

#3

帖子 astolia » 2018-11-19 10:03

这个就是你驱动并没有安装成功。有可能是编译驱动出错,也可能是你显卡比较新,驱动版本较旧不支持
命令行下运行

代码: 全选

sudo modprobe nvidia
看报的是什么错
lonelyman123
帖子: 3
注册时间: 2018-11-18 11:08
系统: Ubuntu 18.04 LTS

Re: nvidia驱动问题

#4

帖子 lonelyman123 » 2018-11-19 11:05

astolia 写了: 2018-11-19 10:03 这个就是你驱动并没有安装成功。有可能是编译驱动出错,也可能是你显卡比较新,驱动版本较旧不支持
命令行下运行

代码: 全选

sudo modprobe nvidia
看报的是什么错
错误信息如下:
modprobe: ERROR: could not insert 'nvidia': Required key not available
头像
astolia
论坛版主
帖子: 6447
注册时间: 2008-09-18 13:11

Re: nvidia驱动问题

#5

帖子 astolia » 2018-11-19 14:26

再用这个看看

代码: 全选

sudo modprobe nvidia-drm
lonelyman123
帖子: 3
注册时间: 2018-11-18 11:08
系统: Ubuntu 18.04 LTS

Re: nvidia驱动问题

#6

帖子 lonelyman123 » 2018-11-19 14:59

astolia 写了: 2018-11-19 14:26 再用这个看看

代码: 全选

sudo modprobe nvidia-drm
错误信息如下
modprobe: ERROR: could not insert 'nvidia_drm': Required key not available

请大神指点 :Adore
头像
astolia
论坛版主
帖子: 6447
注册时间: 2008-09-18 13:11

Re: nvidia驱动问题

#7

帖子 astolia » 2018-11-19 20:35

这说明是驱动编译失败了,并没有生成驱动文件。你是用什么方式安装驱动的?
头像
zzugyl
帖子: 356
注册时间: 2011-03-07 17:26
系统: Ubuntu 20.04.3 LTS

Re: nvidia驱动问题

#8

帖子 zzugyl » 2018-11-21 15:10

换个nv版本的驱动吧?
我16.04的时候,换个版本驱动搞定了,和你发的第一个图一样。可以切换显卡。现在升级18.04也完蛋了,靠集成显卡活着了。
常在深闺人未识 一朝成名天下知
回复