Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia 418 and optimus manager login loop #87

Open
themvl opened this issue Jan 25, 2022 · 0 comments
Open

nvidia 418 and optimus manager login loop #87

themvl opened this issue Jan 25, 2022 · 0 comments

Comments

@themvl
Copy link

themvl commented Jan 25, 2022

I tried installing 418 driver on my optimus laptop because the 418 driver supports vulkan while the 380xx driver from official repos does not yet. And is the newest driver for my card. This is absolutely necessary to play the gross of my bought games. So is pretty important to me.

The installation was successful after downgrading my kernel to 5.4. But i am using optimus manager and if i try to switch to nvidia it logs out like normal and the led for my nvidia card burns most of the logs seem to say the module loaded successfully. But i get in a login loop in gdm. Every time i try logging in i get a black screen for a few seconds and then throws me back to the login screen.

Tell me if im forgetting some logs.

optimus manger switch log

[24] INFO: # Xorg pre-start hook
[24] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[24] INFO: Requested mode is: integrated
[746] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[746] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[751] INFO: Loading module bbswitch
[1134] INFO: Setting GPU power to OFF via bbswitch
[1169] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1169] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220125T004801', 'requested_mode': 'integrated'}
[1169] INFO: Xorg pre-start hook completed successfully.
[8] INFO: # Xorg post-start hook
[25] INFO: Running /etc/optimus-manager/xsetup-integrated.sh
[42] INFO: Writing state {'type': 'done', 'switch_id': '20220125T004801', 'current_mode': 'integrated'}
[43] INFO: Xorg post-start hook completed successfully.

optimus manager deamon log

[45] INFO: # Daemon pre-start hook
[45] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[70] INFO: Copying /etc/optimus-manager/optimus-manager.conf to /var/lib/optimus-manager/tmp/config_copy.conf
[74] INFO: Startup mode is: integrated
[75] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[75] INFO: Daemon pre-start hook completed successfully.
[75] INFO: Calling Xorg pre-start hook.
[1] INFO: # Commands daemon
[2] INFO: Opening UNIX socket
[2] INFO: Awaiting commands
[49383] INFO: Received command : {"type": "switch", "args": {"mode": "nvidia"}}
[49383] INFO: Writing requested GPU mode nvidia
[49384] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'integrated'}
[104542] INFO: Process stop requested
[104543] INFO: Closing and removing the socket...
[104543] INFO: Goodbye !

journalctl -u optimus-manager.service

Jan 25 00:52:59 mvl-vast-kot systemd[1]: Starting Optimus Manager Commands Daemon...
Jan 25 00:52:59 mvl-vast-kot python3[769]: [45] INFO: # Daemon pre-start hook
Jan 25 00:52:59 mvl-vast-kot python3[769]: [45] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
Jan 25 00:52:59 mvl-vast-kot python3[769]: [70] INFO: Copying /etc/optimus-manager/optimus-manager.conf to /var/lib/optimus-manager/tmp/config_copy.conf
Jan 25 00:52:59 mvl-vast-kot python3[769]: [74] INFO: Startup mode is: integrated
Jan 25 00:52:59 mvl-vast-kot python3[769]: [75] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
Jan 25 00:52:59 mvl-vast-kot python3[769]: [75] INFO: Daemon pre-start hook completed successfully.
Jan 25 00:52:59 mvl-vast-kot python3[769]: [75] INFO: Calling Xorg pre-start hook.
Jan 25 00:53:00 mvl-vast-kot python3[852]: [22] INFO: # Xorg pre-start hook
Jan 25 00:53:00 mvl-vast-kot python3[852]: [22] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
Jan 25 00:53:00 mvl-vast-kot python3[852]: [22] INFO: Requested mode is: integrated
Jan 25 00:53:00 mvl-vast-kot python3[852]: [790] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
Jan 25 00:53:00 mvl-vast-kot python3[852]: [790] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
Jan 25 00:53:00 mvl-vast-kot python3[852]: [794] INFO: Loading module bbswitch
Jan 25 00:53:01 mvl-vast-kot python3[852]: [1191] INFO: Setting GPU power to OFF via bbswitch
Jan 25 00:53:01 mvl-vast-kot python3[852]: [1221] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Jan 25 00:53:01 mvl-vast-kot python3[852]: [1221] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220125T005300', 'requested_mode': 'integrated'}
Jan 25 00:53:01 mvl-vast-kot python3[852]: [1222] INFO: Xorg pre-start hook completed successfully.
Jan 25 00:53:02 mvl-vast-kot systemd[1]: Started Optimus Manager Commands Daemon.
Jan 25 00:53:02 mvl-vast-kot python3[946]: [1] INFO: # Commands daemon
Jan 25 00:53:02 mvl-vast-kot python3[946]: [2] INFO: Opening UNIX socket
Jan 25 00:53:02 mvl-vast-kot python3[946]: [2] INFO: Awaiting commands
Jan 25 00:53:51 mvl-vast-kot python3[946]: [49383] INFO: Received command : {"type": "switch", "args": {"mode": "nvidia"}}
Jan 25 00:53:51 mvl-vast-kot python3[946]: [49383] INFO: Writing requested GPU mode nvidia
Jan 25 00:53:51 mvl-vast-kot python3[946]: [49384] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'integrated'}
Jan 25 00:54:46 mvl-vast-kot python3[946]: [104542] INFO: Process stop requested
Jan 25 00:54:46 mvl-vast-kot python3[946]: [104543] INFO: Closing and removing the socket...
Jan 25 00:54:46 mvl-vast-kot python3[946]: [104543] INFO: Goodbye !
Jan 25 00:54:46 mvl-vast-kot systemd[1]: Stopping Optimus Manager Commands Daemon...
Jan 25 00:54:47 mvl-vast-kot systemd[1]: optimus-manager.service: Deactivated successfully.
Jan 25 00:54:47 mvl-vast-kot systemd[1]: Stopped Optimus Manager Commands Daemon.
Jan 25 00:54:47 mvl-vast-kot systemd[1]: optimus-manager.service: Consumed 1.140s CPU time.

journalctl -u gdm.service

Jan 25 00:53:02 mvl-vast-kot systemd[1]: Starting GNOME Display Manager...
Jan 25 00:53:02 mvl-vast-kot systemd[1]: Started GNOME Display Manager.
Jan 25 00:53:15 mvl-vast-kot gdm-password][1278]: pam_systemd_home(gdm-password:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 25 00:53:17 mvl-vast-kot gdm-password][1278]: gkr-pam: unable to locate daemon control file
Jan 25 00:53:17 mvl-vast-kot gdm-password][1278]: gkr-pam: stashed password to try later in open session
Jan 25 00:53:17 mvl-vast-kot gdm-password][1278]: pam_unix(gdm-password:session): session opened for user mvl(uid=1000) by (uid=0)
Jan 25 00:53:17 mvl-vast-kot gdm-password][1278]: pam_env(gdm-password:session): deprecated reading of user environment enabled
Jan 25 00:53:17 mvl-vast-kot gdm-password][1278]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Jan 25 00:53:30 mvl-vast-kot gdm[2271]: [8] INFO: # Xorg pre-start hook
Jan 25 00:53:30 mvl-vast-kot gdm[2271]: [23] INFO: RUNNING_UNDER_GDM is set and Xorg is still running. Aborting this hook because it was likely called by GDM when closing its login screen.
Jan 25 00:53:30 mvl-vast-kot gdm[2275]: [9] INFO: # Xorg pre-start hook
Jan 25 00:53:30 mvl-vast-kot gdm[2275]: [23] INFO: RUNNING_UNDER_GDM is set and Xorg is still running. Aborting this hook because it was likely called by GDM when closing its login screen.
Jan 25 00:53:30 mvl-vast-kot gdm[948]: Gdm: Child process -999 was already dead.
Jan 25 00:53:30 mvl-vast-kot gdm[2282]: [8] INFO: # Xorg pre-start hook
Jan 25 00:53:30 mvl-vast-kot gdm[2282]: [23] INFO: RUNNING_UNDER_GDM is set and Xorg is still running. Aborting this hook because it was likely called by GDM when closing its login screen.
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [9] INFO: # Xorg pre-start hook
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [22] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'integrated'}
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [22] INFO: Requested mode is: nvidia
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [692] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [692] INFO: Unloading modules ['nouveau'] (if loaded)
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [695] INFO: Loading module bbswitch
Jan 25 00:53:55 mvl-vast-kot gdm[2583]: [697] INFO: Setting GPU power to ON via bbswitch
Jan 25 00:53:56 mvl-vast-kot gdm[2583]: [1249] INFO: Loading module nvidia
Jan 25 00:53:56 mvl-vast-kot gdm[2583]: [1909] INFO: Loading module nvidia_drm
Jan 25 00:53:57 mvl-vast-kot gdm[2583]: [2490] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Jan 25 00:53:57 mvl-vast-kot gdm[2583]: [2490] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220125T005355', 'requested_mode': 'nvidia'}
Jan 25 00:53:57 mvl-vast-kot gdm[2583]: [2491] INFO: Xorg pre-start hook completed successfully.
Jan 25 00:54:11 mvl-vast-kot gdm-password][3008]: pam_systemd_home(gdm-password:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 25 00:54:13 mvl-vast-kot gdm-password][3008]: gkr-pam: unable to locate daemon control file
Jan 25 00:54:13 mvl-vast-kot gdm-password][3008]: gkr-pam: stashed password to try later in open session
Jan 25 00:54:13 mvl-vast-kot gdm-password][3008]: pam_unix(gdm-password:session): session opened for user mvl(uid=1000) by (uid=0)
Jan 25 00:54:13 mvl-vast-kot gdm-password][3008]: pam_env(gdm-password:session): deprecated reading of user environment enabled
Jan 25 00:54:13 mvl-vast-kot gdm-password][3008]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Jan 25 00:54:14 mvl-vast-kot gdm-password][3008]: pam_unix(gdm-password:session): session closed for user mvl
Jan 25 00:54:14 mvl-vast-kot gdm[948]: Gdm: GdmDisplay: Session never registered, failing
Jan 25 00:54:39 mvl-vast-kot gdm-password][3048]: pam_systemd_home(gdm-password:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 25 00:54:46 mvl-vast-kot gdm[948]: Gdm: Tried to look up non-existent conversation gdm-launch-environment
Jan 25 00:54:46 mvl-vast-kot systemd[1]: Stopping GNOME Display Manager...
Jan 25 00:54:46 mvl-vast-kot gdm[948]: Gdm: Freeing conversation 'gdm-launch-environment' with active job
Jan 25 00:54:46 mvl-vast-kot gdm-password][3048]: pam_unix(gdm-password:auth): conversation failed
Jan 25 00:54:46 mvl-vast-kot gdm-password][3048]: pam_unix(gdm-password:auth): auth could not identify password for [mvl]
Jan 25 00:54:46 mvl-vast-kot systemd[1]: gdm.service: Killing process 3048 (gdm-session-wor) with signal SIGKILL.
Jan 25 00:54:46 mvl-vast-kot systemd[1]: gdm.service: Killing process 3049 (gmain) with signal SIGKILL.
Jan 25 00:54:46 mvl-vast-kot systemd[1]: gdm.service: Deactivated successfully.
Jan 25 00:54:46 mvl-vast-kot systemd[1]: Stopped GNOME Display Manager.
Jan 25 00:54:46 mvl-vast-kot systemd[1]: gdm.service: Consumed 3.014s CPU time.

/var/log/Xorg.1.log

[152667.398] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[152667.398] _XSERVTransMakeAllCOTSServerListeners: server already running
[152667.398] (--) Log file renamed from "/var/log/Xorg.pid-278050.log" to "/var/log/Xorg.1.log"
[152667.399]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[152667.399] Build Operating System: Linux Manjaro Linux
[152667.399] Current Operating System: Linux mvl-vast-kot 5.13.1-3-MANJARO #1 SMP PREEMPT Sat Jul 10 20:15:35 UTC 2021 x86_64
[152667.399] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 root=UUID=03e1c4ff-dec9-452a-8f25-0efb8ccfb2eb rw quiet apparmor=1 security=apparmor resume=UUID=4e74571a-766f-47c2-907c-40b57d4a018e udev.log_priority=3
[152667.399] Build Date: 13 April 2021 04:11:08PM
[152667.399]
[152667.399] Current version of pixman: 0.40.0
[152667.399] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[152667.399] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[152667.399] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Jul 22 17:27:59 2021
[152667.399] (==) Using config directory: "/etc/X11/xorg.conf.d"
[152667.399] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[152667.400] (==) ServerLayout "layout"
[152667.400] (
) |-->Screen "nvidia" (0)
[152667.400] () | |-->Monitor ""
[152667.401] (
) | |-->Device "nvidia"
[152667.401] () | |-->GPUDevice "integrated"
[152667.401] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[152667.401] (
) |-->Inactive Device "integrated"
[152667.401] (==) Automatically adding devices
[152667.401] (==) Automatically enabling devices
[152667.401] (==) Automatically adding GPU devices
[152667.401] (==) Automatically binding GPU devices
[152667.401] (==) Max clients allowed: 256, resource mask: 0x1fffff
[152667.401] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[152667.401] Entry deleted from font path.
[152667.401] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[152667.401] Entry deleted from font path.
[152667.401] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[152667.401] Entry deleted from font path.
[152667.401] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[152667.401] Entry deleted from font path.
[152667.401] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF
[152667.401] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[152667.401] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[152667.401] (II) Module ABI versions:
[152667.401] X.Org ANSI C Emulation: 0.4
[152667.401] X.Org Video Driver: 24.1
[152667.401] X.Org XInput driver : 24.1
[152667.401] X.Org Server Extension : 10.0
[152667.401] (++) using VT number 1

[152667.401] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[152667.402] (II) xfree86: Adding drm device (/dev/dri/card1)
[152667.402] (II) xfree86: Adding drm device (/dev/dri/card0)
[152667.403] () OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[152667.403] (
) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
[152667.404] (--) PCI: (0@0:2:0) 8086:0416:1558:3537 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[152667.404] (--) PCI:*(1@0:0:0) 10de:11e2:1558:3537 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[152667.404] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[152667.404] (II) LoadModule: "glx"
[152667.404] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[152667.410] (II) Module glx: vendor="NVIDIA Corporation"
[152667.410] compiled for 4.0.2, module version = 1.0.0
[152667.410] Module class: X.Org Server Extension
[152667.410] (II) NVIDIA GLX Module 390.143 Fri Mar 12 07:23:57 UTC 2021
[152667.410] (II) LoadModule: "nvidia"
[152667.410] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[152667.411] (II) Module nvidia: vendor="NVIDIA Corporation"
[152667.411] compiled for 4.0.2, module version = 1.0.0
[152667.411] Module class: X.Org Video Driver
[152667.411] (II) LoadModule: "modesetting"
[152667.411] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[152667.411] (II) Module modesetting: vendor="X.Org Foundation"
[152667.411] compiled for 1.20.11, module version = 1.20.11
[152667.411] Module class: X.Org Video Driver
[152667.411] ABI class: X.Org Video Driver, version 24.1
[152667.411] (II) NVIDIA dlloader X Driver 390.143 Fri Mar 12 07:27:02 UTC 2021
[152667.411] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[152667.411] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[152667.412] (II) Loading sub module "fb"
[152667.412] (II) LoadModule: "fb"
[152667.412] (II) Loading /usr/lib/xorg/modules/libfb.so
[152667.412] (II) Module fb: vendor="X.Org Foundation"
[152667.412] compiled for 1.20.11, module version = 1.0.0
[152667.412] ABI class: X.Org ANSI C Emulation, version 0.4
[152667.412] (II) Loading sub module "wfb"
[152667.412] (II) LoadModule: "wfb"
[152667.412] (II) Loading /usr/lib/xorg/modules/libwfb.so
[152667.412] (II) Module wfb: vendor="X.Org Foundation"
[152667.412] compiled for 1.20.11, module version = 1.0.0
[152667.412] ABI class: X.Org ANSI C Emulation, version 0.4
[152667.412] (II) Loading sub module "ramdac"
[152667.412] (II) LoadModule: "ramdac"
[152667.412] (II) Module "ramdac" already built-in
[152667.412] (II) modeset(G0): using drv /dev/dri/card0
[152667.413] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[152667.413] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[152667.413] (==) NVIDIA(0): RGB weight 888
[152667.413] (==) NVIDIA(0): Default visual is TrueColor
[152667.413] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[152667.413] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[152667.413] () NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[152667.413] (
) NVIDIA(0): Option "Coolbits" "28"
[152667.413] (**) NVIDIA(0): Enabling 2D acceleration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant