设备情况:
淘汰下来的老机子:dell precision T3600
显卡:nvidia NVS300
显卡专有驱动只能用nvidia 340XX,什么390,430都用不了,这是前提。
问题描述:
内核5.1.5及以前一切正常,内核滚动升级到5.1.6~5.1.9的不能打开X进图形。降级到5.1.5及以下又没问题了。
看信息似乎是显卡未驱动:gnome-shell[591]: Failed to create backend: No GPUs found with udev
journalctl -b :
Jun 18 09:27:58 lcarch systemd[1]: Starting GNOME Display Manager...
Jun 18 09:27:58 lcarch systemd[1]: Starting Terminate Plymouth Boot Screen...
Jun 18 09:27:58 lcarch systemd[1]: Starting Hold until boot process finishes up...
Jun 18 09:27:58 lcarch systemd[1]: Starting Hostname Service...
Jun 18 09:27:59 lcarch systemd[1]: Received SIGRTMIN+21 from PID 350 (plymouthd).
Jun 18 09:27:59 lcarch systemd[1]: Received SIGRTMIN+21 from PID 350 (plymouthd).
Jun 18 09:27:59 lcarch systemd[1]: plymouth-start.service: Succeeded.
Jun 18 09:27:59 lcarch systemd[1]: plymouth-quit.service: Succeeded.
Jun 18 09:27:59 lcarch systemd[1]: Started Terminate Plymouth Boot Screen.
Jun 18 09:27:59 lcarch systemd[1]: plymouth-quit-wait.service: Succeeded.
Jun 18 09:27:59 lcarch systemd[1]: Started Hold until boot process finishes up.
Jun 18 09:27:59 lcarch systemd[1]: Reached target Multi-User System.
Jun 18 09:27:59 lcarch systemd[1]: Started Hostname Service.
Jun 18 09:27:59 lcarch NetworkManager[502]: <info> [1560821279.2986] hostname: hostname: using hostnamed
Jun 18 09:27:59 lcarch NetworkManager[502]: <info> [1560821279.2987] hostname: hostname changed from (none) to "lcarch"
Jun 18 09:27:59 lcarch NetworkManager[502]: <info> [1560821279.3124] dns-mgr[0x561c743ce210]: init: dns=default,systemd-resolved rc-manager=symlink
Jun 18 09:27:59 lcarch systemd[1]: Started GNOME Display Manager.
Jun 18 09:27:59 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=gdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:27:59 lcarch systemd[1]: Reached target Graphical Interface.
Jun 18 09:27:59 lcarch kernel: audit: type=1130 audit(1560821279.667:36): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=gdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:27:59 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.5' (uid=0 pid=509 comm="/usr/bin/gdm ")
Jun 18 09:27:59 lcarch systemd[1]: Reached target User and Group Name Lookups.
Jun 18 09:27:59 lcarch systemd[1]: Starting Accounts Service...
Jun 18 09:27:59 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.3' (uid=0 pid=502 comm="/usr/bin/NetworkManager --no-daemon ")
Jun 18 09:27:59 lcarch systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 18 09:28:00 lcarch dbus-daemon[501]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 18 09:28:00 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:00 lcarch systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.1149] settings: Loaded settings plugin: NMSKeyfilePlugin (internal)
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.2452] settings: Loaded settings plugin: NMSIbftPlugin ("/usr/lib/NetworkManager/1.18.0-1/libnm-settings-plugin-ibft.so")
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.4210] keyfile: new connection /etc/NetworkManager/system-connections/Ipsec.nmconnection (4d39fdd9-ff96-4438-bb77-ffb104a50707,"Ipsec")
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.4473] keyfile: new connection /etc/NetworkManager/system-connections/Wired connection 1 (926a460f-e238-3c32-aa40-c63a699bf99c,"Wired connection 1")
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.5040] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.5042] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.5044] manager: Networking is enabled by state file
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.5047] dhcp-init: Using DHCP client 'internal'
Jun 18 09:28:00 lcarch nm-dispatcher[516]: req:1 'hostname': new request (0 scripts)
Jun 18 09:28:00 lcarch nm-dispatcher[516]: req:1 'hostname': completed: no scripts
Jun 18 09:28:00 lcarch NetworkManager[502]: <info> [1560821280.6261] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-ovs.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.0096] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-team.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.3602] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-bluetooth.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.3921] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-wwan.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.5230] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-wifi.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.6118] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-adsl.so)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.6229] device (lo): carrier: link connected
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.6234] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.6253] manager: (eno1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Jun 18 09:28:01 lcarch NetworkManager[502]: <info> [1560821281.6270] device (eno1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jun 18 09:28:01 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.6' (uid=0 pid=515 comm="/usr/lib/accounts-daemon ")
Jun 18 09:28:01 lcarch systemd[1]: Starting Authorization Manager...
Jun 18 09:28:01 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.8' (uid=0 pid=507 comm="/usr/bin/cupsd -l ")
Jun 18 09:28:02 lcarch systemd[1]: Starting Manage, Install and Generate Color Profiles...
Jun 18 09:28:02 lcarch NetworkManager[502]: <info> [1560821282.0395] ovsdb: Could not connect: No such file or directory
Jun 18 09:28:02 lcarch nm-dispatcher[516]: req:2 'connectivity-change': new request (0 scripts)
Jun 18 09:28:02 lcarch nm-dispatcher[516]: req:2 'connectivity-change': completed: no scripts
Jun 18 09:28:02 lcarch polkitd[523]: Started polkitd version 0.116
Jun 18 09:28:02 lcarch dbus-daemon[501]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Jun 18 09:28:02 lcarch systemd[1]: Started Manage, Install and Generate Color Profiles.
Jun 18 09:28:02 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch kernel: e1000e: eno1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
Jun 18 09:28:03 lcarch kernel: e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO
Jun 18 09:28:03 lcarch kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3912] device (eno1): carrier: link connected
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3916] device (eno1): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3927] policy: auto-activating connection 'Wired connection 1' (926a460f-e238-3c32-aa40-c63a699bf99c)
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3938] device (eno1): Activation: starting connection 'Wired connection 1' (926a460f-e238-3c32-aa40-c63a699bf99c)
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3940] device (eno1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3945] manager: NetworkManager state is now CONNECTING
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3947] device (eno1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.3952] device (eno1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <warn> [1560821283.4096] acd[0x561c743d8400,2]: couldn't init ACD for announcing addresses on interface 'eno1': Operation not permitted
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.4097] device (eno1): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.4107] device (eno1): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.4111] device (eno1): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.4117] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 18 09:28:03 lcarch polkitd[523]: Loading rules from directory /etc/polkit-1/rules.d
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.5735] manager: NetworkManager state is now CONNECTED_SITE
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.5737] policy: set 'Wired connection 1' (eno1) as default for IPv4 routing and DNS
Jun 18 09:28:03 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.3' (uid=0 pid=502 comm="/usr/bin/NetworkManager --no-daemon ")
Jun 18 09:28:03 lcarch dbus-daemon[501]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
Jun 18 09:28:03 lcarch polkitd[523]: Loading rules from directory /usr/share/polkit-1/rules.d
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.6702] device (eno1): Activation: successful, device activated.
Jun 18 09:28:03 lcarch NetworkManager[502]: <info> [1560821283.6721] manager: startup complete
Jun 18 09:28:03 lcarch nm-dispatcher[516]: req:3 'up' [eno1]: new request (0 scripts)
Jun 18 09:28:03 lcarch nm-dispatcher[516]: req:3 'up' [eno1]: completed: no scripts
Jun 18 09:28:03 lcarch nm-dispatcher[516]: req:4 'connectivity-change': new request (0 scripts)
Jun 18 09:28:03 lcarch nm-dispatcher[516]: req:4 'connectivity-change': completed: no scripts
Jun 18 09:28:03 lcarch polkitd[523]: Finished loading, compiling and executing 9 rules
Jun 18 09:28:03 lcarch dbus-daemon[501]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jun 18 09:28:03 lcarch systemd[1]: Started Authorization Manager.
Jun 18 09:28:03 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch kernel: kauditd_printk_skb: 2 callbacks suppressed
Jun 18 09:28:03 lcarch kernel: audit: type=1130 audit(1560821283.787:39): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch kernel: audit: type=1130 audit(1560821283.790:40): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=accounts-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=accounts-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch systemd[1]: Started Accounts Service.
Jun 18 09:28:03 lcarch polkitd[523]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Jun 18 09:28:03 lcarch accounts-daemon[515]: started daemon version 0.6.55
Jun 18 09:28:03 lcarch dbus-daemon[501]: [system] Successfully activated service 'org.freedesktop.Accounts'
Jun 18 09:28:03 lcarch colord[524]: failed to get session [pid 507]: No data available
Jun 18 09:28:03 lcarch kernel: audit: type=1130 audit(1560821283.880:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=org.cups.cupsd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=org.cups.cupsd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:03 lcarch systemd[1]: Started CUPS Scheduler.
Jun 18 09:28:03 lcarch systemd[1]: Startup finished in 5.534s (kernel) + 29.887s (userspace) = 35.421s.
Jun 18 09:28:04 lcarch NetworkManager[502]: <info> [1560821284.2119] manager: NetworkManager state is now CONNECTED_GLOBAL
Jun 18 09:28:04 lcarch nm-dispatcher[516]: req:5 'connectivity-change': new request (0 scripts)
Jun 18 09:28:04 lcarch nm-dispatcher[516]: req:5 'connectivity-change': completed: no scripts
Jun 18 09:28:05 lcarch systemd[1]: Created slice User Slice of UID 120.
Jun 18 09:28:05 lcarch systemd[1]: Starting User Runtime Directory /run/user/120...
Jun 18 09:28:05 lcarch systemd-logind[500]: New session c1 of user gdm.
Jun 18 09:28:05 lcarch kernel: audit: type=1130 audit(1560821285.910:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:05 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:05 lcarch systemd[1]: Started User Runtime Directory /run/user/120.
Jun 18 09:28:05 lcarch systemd[1]: Starting User Manager for UID 120...
Jun 18 09:28:06 lcarch kernel: audit: type=1006 audit(1560821286.007:43): pid=552 uid=0 old-auid=4294967295 auid=120 tty=(none) old-ses=4294967295 ses=1 res=1
Jun 18 09:28:06 lcarch systemd[552]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jun 18 09:28:07 lcarch systemd[552]: Listening on GnuPG cryptographic agent and passphrase cache.
Jun 18 09:28:07 lcarch systemd[552]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jun 18 09:28:07 lcarch systemd[552]: Listening on GnuPG network certificate management daemon.
Jun 18 09:28:07 lcarch systemd[552]: Listening on p11-kit server.
Jun 18 09:28:07 lcarch systemd[552]: Listening on Multimedia System.
Jun 18 09:28:07 lcarch systemd[552]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jun 18 09:28:07 lcarch systemd[552]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jun 18 09:28:07 lcarch systemd[552]: Reached target Timers.
Jun 18 09:28:07 lcarch systemd[552]: Starting D-Bus User Message Bus Socket.
Jun 18 09:28:07 lcarch systemd[552]: Reached target Paths.
Jun 18 09:28:07 lcarch systemd[552]: Listening on Sound System.
Jun 18 09:28:07 lcarch kernel: audit: type=1130 audit(1560821287.594:44): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:07 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:07 lcarch systemd[552]: Listening on D-Bus User Message Bus Socket.
Jun 18 09:28:07 lcarch systemd[552]: Reached target Sockets.
Jun 18 09:28:07 lcarch systemd[552]: Reached target Basic System.
Jun 18 09:28:07 lcarch systemd[1]: Started User Manager for UID 120.
Jun 18 09:28:07 lcarch systemd[1]: Started Session c1 of user gdm.
Jun 18 09:28:07 lcarch systemd[552]: Starting Update XDG user dir configuration...
Jun 18 09:28:07 lcarch systemd[552]: Started D-Bus User Message Bus.
Jun 18 09:28:07 lcarch systemd[552]: xdg-user-dirs-update.service: Succeeded.
Jun 18 09:28:07 lcarch systemd[552]: Started Update XDG user dir configuration.
Jun 18 09:28:07 lcarch systemd[552]: Reached target Main User Target.
Jun 18 09:28:07 lcarch systemd[552]: Startup finished in 1.720s.
Jun 18 09:28:09 lcarch sslocal[503]: INFO: loading config from /etc/shadowsocks/shadowsocks.json
Jun 18 09:28:10 lcarch kernel: audit: type=1131 audit(1560821290.480:45): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:10 lcarch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:10 lcarch systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jun 18 09:28:10 lcarch sslocal[503]: 2019-06-18 09:28:10 INFO loading libcrypto from libcrypto.so.1.1
Jun 18 09:28:10 lcarch sslocal[503]: 2019-06-18 09:28:10 INFO starting local at 127.0.0.1:1080
Jun 18 09:28:10 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.29' (uid=975 pid=541 comm="/usr/lib/colord-sane ")
Jun 18 09:28:10 lcarch dbus-daemon[501]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Jun 18 09:28:13 lcarch gnome-shell[591]: Failed to create backend: No GPUs found with udev
Jun 18 09:28:13 lcarch gnome-session[567]: gnome-session-binary[567]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jun 18 09:28:13 lcarch gnome-session-binary[567]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jun 18 09:28:13 lcarch gnome-session-binary[567]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jun 18 09:28:13 lcarch systemd[1]: session-c1.scope: Succeeded.
Jun 18 09:28:13 lcarch gdm[509]: Child process -562 was already dead.
Jun 18 09:28:13 lcarch systemd-logind[500]: Session c1 logged out. Waiting for processes to exit.
Jun 18 09:28:13 lcarch systemd-logind[500]: Removed session c1.
Jun 18 09:28:14 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.33' (uid=975 pid=541 comm="/usr/lib/colord-sane ")
Jun 18 09:28:14 lcarch dbus-daemon[501]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Jun 18 09:28:23 lcarch systemd[1]: Stopping User Manager for UID 120...
Jun 18 09:28:23 lcarch systemd[552]: Stopped target Main User Target.
Jun 18 09:28:23 lcarch systemd[552]: Stopping D-Bus User Message Bus...
Jun 18 09:28:23 lcarch systemd[552]: dbus.service: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Stopped D-Bus User Message Bus.
Jun 18 09:28:23 lcarch systemd[552]: Stopped target Basic System.
Jun 18 09:28:23 lcarch systemd[552]: Stopped target Paths.
Jun 18 09:28:23 lcarch systemd[552]: Stopped target Timers.
Jun 18 09:28:23 lcarch systemd[552]: Stopped target Sockets.
Jun 18 09:28:23 lcarch systemd[552]: dirmngr.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed GnuPG network certificate management daemon.
Jun 18 09:28:23 lcarch systemd[552]: gpg-agent-browser.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jun 18 09:28:23 lcarch kernel: audit: type=1131 audit(1560821303.584:46): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:23 lcarch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:23 lcarch systemd[553]: pam_unix(systemd-user:session): session closed for user gdm
Jun 18 09:28:23 lcarch systemd[552]: gpg-agent.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed GnuPG cryptographic agent and passphrase cache.
Jun 18 09:28:23 lcarch systemd[552]: gpg-agent-ssh.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jun 18 09:28:23 lcarch systemd[552]: p11-kit-server.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed p11-kit server.
Jun 18 09:28:23 lcarch systemd[552]: gpg-agent-extra.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jun 18 09:28:23 lcarch kernel: audit: type=1131 audit(1560821303.600:47): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:23 lcarch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@120 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:23 lcarch systemd[552]: pulseaudio.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed Sound System.
Jun 18 09:28:23 lcarch systemd[552]: pipewire.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed Multimedia System.
Jun 18 09:28:23 lcarch systemd[552]: dbus.socket: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Closed D-Bus User Message Bus Socket.
Jun 18 09:28:23 lcarch systemd[552]: Reached target Shutdown.
Jun 18 09:28:23 lcarch systemd[552]: systemd-exit.service: Succeeded.
Jun 18 09:28:23 lcarch systemd[552]: Started Exit the Session.
Jun 18 09:28:23 lcarch systemd[552]: Reached target Exit the Session.
Jun 18 09:28:23 lcarch systemd[1]: user@120.service: Succeeded.
Jun 18 09:28:23 lcarch systemd[1]: Stopped User Manager for UID 120.
Jun 18 09:28:23 lcarch systemd[1]: Stopping User Runtime Directory /run/user/120...
Jun 18 09:28:23 lcarch systemd[1]: run-user-120.mount: Succeeded.
Jun 18 09:28:23 lcarch systemd[1]: user-runtime-dir@120.service: Succeeded.
Jun 18 09:28:23 lcarch systemd[1]: Stopped User Runtime Directory /run/user/120.
Jun 18 09:28:23 lcarch systemd[1]: Removed slice User Slice of UID 120.
Jun 18 09:28:29 lcarch systemd[1]: systemd-hostnamed.service: Succeeded.
Jun 18 09:28:29 lcarch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:29 lcarch kernel: audit: type=1131 audit(1560821309.327:48): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:37 lcarch systemd-timesyncd[497]: Timed out waiting for reply from 108.59.2.24:123 (2.arch.pool.ntp.org).
Jun 18 09:28:37 lcarch systemd-timesyncd[497]: Synchronized to time server for the first time 94.130.49.186:123 (2.arch.pool.ntp.org).
Jun 18 09:28:44 lcarch systemd[1]: Started Getty on tty2.
Jun 18 09:28:44 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:44 lcarch kernel: audit: type=1130 audit(1560821324.332:49): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:45 lcarch kernel: usb 4-1.5: USB disconnect, device number 3
Jun 18 09:28:47 lcarch kernel: usb 4-1.5: new low-speed USB device number 4 using ehci-pci
Jun 18 09:28:47 lcarch kernel: usb 4-1.5: New USB device found, idVendor=17ef, idProduct=6019, bcdDevice= 1.00
Jun 18 09:28:47 lcarch kernel: usb 4-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 18 09:28:47 lcarch kernel: usb 4-1.5: Product: Lenovo USB Optical Mouse
Jun 18 09:28:47 lcarch kernel: usb 4-1.5: Manufacturer: PixArt
Jun 18 09:28:47 lcarch kernel: input: PixArt Lenovo USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/0003:17EF:6019.0002/input/input14
Jun 18 09:28:47 lcarch kernel: hid-generic 0003:17EF:6019.0002: input,hidraw0: USB HID v1.11 Mouse [PixArt Lenovo USB Optical Mouse] on usb-0000:00:1d.0-1.5/input0
Jun 18 09:28:47 lcarch mtp-probe[619]: checking bus 4, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5"
Jun 18 09:28:47 lcarch mtp-probe[619]: bus: 4, device: 4 was not an MTP device
Jun 18 09:28:47 lcarch mtp-probe[632]: checking bus 4, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5"
Jun 18 09:28:47 lcarch mtp-probe[632]: bus: 4, device: 4 was not an MTP device
Jun 18 09:28:47 lcarch dbus-daemon[501]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.39' (uid=975 pid=608 comm="/usr/lib/colord-sane ")
Jun 18 09:28:47 lcarch dbus-daemon[501]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Jun 18 09:28:48 lcarch login[605]: pam_unix(login:session): session opened for user lcc by LOGIN(uid=0)
Jun 18 09:28:48 lcarch kernel: audit: type=1006 audit(1560821328.878:50): pid=605 uid=0 old-auid=4294967295 auid=1000 tty=tty2 old-ses=4294967295 ses=2 res=1
Jun 18 09:28:48 lcarch systemd[1]: Created slice User Slice of UID 1000.
Jun 18 09:28:48 lcarch systemd[1]: Starting User Runtime Directory /run/user/1000...
Jun 18 09:28:48 lcarch systemd-logind[500]: New session 2 of user lcc.
Jun 18 09:28:48 lcarch kernel: audit: type=1130 audit(1560821328.905:51): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:48 lcarch kernel: audit: type=1006 audit(1560821328.911:52): pid=634 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
Jun 18 09:28:48 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:48 lcarch systemd[634]: pam_unix(systemd-user:session): session opened for user lcc by (uid=0)
Jun 18 09:28:48 lcarch systemd[1]: Started User Runtime Directory /run/user/1000.
Jun 18 09:28:48 lcarch systemd[1]: Starting User Manager for UID 1000...
Jun 18 09:28:49 lcarch systemd[634]: Listening on GnuPG network certificate management daemon.
Jun 18 09:28:50 lcarch kernel: audit: type=1130 audit(1560821329.008:53): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:49 lcarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 18 09:28:49 lcarch login[605]: LOGIN ON tty2 BY lcc
折腾了20多天了,还是没有想到解决办法,请高手指教!
最近编辑记录 qileilu (2019-06-20 15:16:20)
离线
lspci -k | grep -A 2 -E "(VGA|3D)"
05:00.0 VGA compatible controller: NVIDIA Corporation GT218 [NVS 300] (rev a2)
Subsystem: NVIDIA Corporation GT218 [NVS 300]
Kernel driver in use: nvidia
离线
提问不按基本法,非蠢即坏。你是蠢还是坏?
最近编辑记录 xtricman (2019-06-18 17:25:14)
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
提问不按基本法,非蠢即坏。你是蠢还是坏?
好吧,几年没提过问了,有点生疏,抱歉啊!
特地去复习了新手指南,翻墙看了提问的智慧。
不一定要告诉我具体解决方案,我更期待的是解决思路,还请赐教!
离线
那你说了你的问题是什么吗?我为什么要猜?既然你明确表示降级内核没问题,那我是不是就认为你已经解决了你自己的问题?那其中的求救的意义何在?
标题明确指明了一个已经不受Arch官方 支持的nvidia版本,连最minor的版本号都写了,那我猜也只能猜你要这个版本的nvidia kernel module跟新内核共同运作,然而内核是不停更新的,你是不是还期望过两年内核都6.0了这个nvidia driver还能用? 一个内核驱动版本不可能随着内核更新一直用的了我想你不会不知道。
那么我就猜你是想要gnome工作,那为什么1楼又 语言如此坚定强烈的要求必须使用一个legacy+proprietary 的kernel driver而不是一个就几乎不需要自己操心的up to date+ open source的driver?
这完全是个Unknow what you're asking的问题帖
最近编辑记录 xtricman (2019-06-19 17:58:16)
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
xtricman 太严厉了啦。
他这个问题提得比某些人强多了的说。
离线
大概就是因为内核会不时得改驱动的接口,而且驱动都是针对特定的内核版本编译的,所以不同时期的内核和驱动很容易出现这种情况。
类比一下就像,你想把windows xp的驱动用在windows 10上………这种事情就是很简单的……不可能。
不过你可以试一下dkms,如果dkms也拯救不了这个模块的话,那么你就只有两种选择了。
ecmascript是世界上最好的语言
离线
那你说了你的问题是什么吗?我为什么要猜?既然你明确表示降级内核没问题,那我是不是就认为你已经解决了你自己的问题?那其中的求救的意义何在?
标题明确指明了一个已经不受Arch官方 支持的nvidia版本,连最minor的版本号都写了,那我猜也只能猜你要这个版本的nvidia kernel module跟新内核共同运作,然而内核是不停更新的,你是不是还期望过两年内核都6.0了这个nvidia driver还能用? 一个内核驱动版本不可能随着内核更新一直用的了我想你不会不知道。
那么我就猜你是想要gnome工作,那为什么1楼又 语言如此坚定强烈的要求必须使用一个legacy+proprietary 的kernel driver而不是一个就几乎不需要自己操心的up to date+ open source的driver?
这完全是个Unknow what you're asking的问题帖
谢谢xtricman的解答,我再捋一捋我的问题:
1。我知道有开源的Nouveau驱动,但是其驱动性能并没有专有的NVIDIA驱动好。比方说玩《我的世界》,Nouveau驱动下卡得不得了,所以我不得不安装nvidia私有驱动,所以proprietary了。
2。我尝试了nvidia的多个新版本,无奈都不支持,有且仅有340XX能用,所以又legacy了。
3。我逼于无奈降级内核,很不完美的暂时解决了问题,但是我不甘心,我正是想要up to date+ open source,力求完美,才来这向大神们请教。
我想这次我说清楚了。
离线
xtricman 太严厉了啦。
他这个问题提得比某些人强多了的说。
还是仙子体贴:D
最近编辑记录 qileilu (2019-06-20 11:02:34)
离线
大概就是因为内核会不时得改驱动的接口,而且驱动都是针对特定的内核版本编译的,所以不同时期的内核和驱动很容易出现这种情况。
类比一下就像,你想把windows xp的驱动用在windows 10上………这种事情就是很简单的……不可能。
不过你可以试一下dkms,如果dkms也拯救不了这个模块的话,那么你就只有两种选择了。
谢谢,我学习一下Dynamic Kernel Module Support。
离线
再次感谢yw662,问题解决了。
我初步学习了下动态内核模块支持(DKMS) ,在看Wiki的时候发现了这么一句:DKMS的包的命名方式是:原始包名加"-dkms"后缀。
于是我就yaourt -Ss nvidia-340xx-dkms了一下,Aur里还真有,直接拿来主义,编译安装,没问题,搞定。
lcc@lcarch ~ %dkms status
nvidia, 340.107, 5.1.9-arch1-1-ARCH, x86_64: installed
还剩一个担心,不会每升级一次内核都需要编译一下吧?如果那样,还是不够完美。
离线
官方源LTS内核还是4.19,暂且跟340驱动一起用一段时间。反正Minecraft和Java8不会依赖高版本内核。
如果要最新内核那就等,AUR的340应该会更新,看维护者心情。毕竟你自己dkms是确实能在新内核用的。
再就是维护者不给你编译那你就自己dkms,可能坚持2天,也可能10年,毕竟现在你看见了ABI已经不兼容了,总有一天会连API都不再兼容。dkms说白了就是每次内核更新就编译一次,那个包里是nvidia340源码,不改代码重编译软体什么效果什么前提需求,不需要我说了,靠逻辑就能推导。
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
谢谢xtricman指导,又学到了ABI和API的区别。
看来nvidia340驱动在内核5.1.6之前是ABI兼容的,之后就不再ABI兼容了,所以出现了我的问题。
不过好在nvidia340驱动对于目前内核版本还可以API兼容,所以暂时可以dkms解决。
至于什么时候连API都不再兼容的时候,那就直接把这显卡扔掉好了。
离线
我的方案是不升级系统,一直不更新,这样就不用扔显卡了~
开源/Linux大众化,从驿窗开始~
离线
我的方案是不升级系统,一直不更新,这样就不用扔显卡了~
按你的方案,那是扔掉arch
离线