bejuco
6 December 2022 00:18
1
Hello,
I recently installed Manjaro in a new Asus machine. I’m using the 5.15 Linux Kernel. When I tried installing optimus-manager and optimus-manager-qt, the laptop didn’t boot. It got stuck at the /dev/unit clean, xxx/xxx files, xxx/xxx blocks
screen. I followed the readme instructions including the /etc/sddm.conf
file edition. When I uninstall both packages, the laptop boots normally.
System info:
Manjaro Linux 22.0
KDE
SDDM
ASUS TUF Dash F15 (FX517ZE)
Latest stable release (optimus-manager)
Intel i5-12450H and NVIDIA GeForce RTX 3050 Ti
Logs:
/var/log/optimus-manager/switch/
[6] INFO: # Xorg pre-start hook
[6] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[6] INFO: Requested mode is: integrated
[26] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[26] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[28] INFO: switching=none, nothing to do
[873] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[873] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20221003T201150', 'requested_mode': 'integrated'}
[873] INFO: Xorg pre-start hook completed successfully.
/var/log/optimus-manager/daemon/:
[13] INFO: # Daemon pre-start hook
[13] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[15] INFO: Startup mode is: integrated
[15] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[15] INFO: Daemon pre-start hook completed successfully.
[15] INFO: Calling Xorg pre-start hook.
[1] INFO: # Commands daemon
[1] INFO: Opening UNIX socket
[1] INFO: Awaiting commands
[76595] INFO: Process stop requested
[76596] INFO: Closing and removing the socket...
[76596] INFO: Goodbye !
Any help or idea of what could be happening?
manjaro does not support for guideline that are outside forums
Need /var/log/Xorg.0.log for every graphics display problem.
brahma
6 December 2022 08:13
4
you probably installed with optimus some optional deps, like bbswitch/acpi … dont install anything with it, only optimus and optimus qt
bejuco
7 December 2022 01:55
5
Ah, you’re using Wayland, which literally the first paragraph of optimus -manager README.md says:
Only Archlinux and Archlinux-based distributions (such as Manjaro) are supported for now. Only Xorg sessions are supported (no Wayland).
Go back to X11.
bejuco
7 December 2022 12:14
8
I’m not sure, when I use echo $XDG_SESSION_TYPE
it prints x11
and in the OS settings is says Graphics Platform: X11 . Should I uninstall everything about Wayland?
Worth trying, there could be mess somewhere. If it still doesn’t work, paste the same log file, this time there should be no more reference to wayland.
bejuco
7 December 2022 12:40
10
Yes, it breaks a lot of dependencies:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing wayland breaks dependency 'wayland' required by egl-wayland
:: removing wayland breaks dependency 'wayland' required by gst-plugins-bad
:: removing wayland breaks dependency 'wayland' required by gtk3
:: removing wayland breaks dependency 'wayland' required by lib32-wayland
:: removing wayland breaks dependency 'wayland' required by libva
:: removing wayland breaks dependency 'wayland' required by mesa
:: removing wayland breaks dependency 'wayland' required by vulkan-tools
:: removing wayland breaks dependency 'wayland' required by wayland-utils
And seems like is not very recommended
Dude, I’m facing the same problem. Same errors. I’m almost ditching laptop and going back to desktop just to not have to face these issues anymore.
I am on X11.
➜ ~ loginctl show-session 8 -p Type
Type=x11
bejuco
13 December 2022 17:10
12
Yes, very frustrating. I already opened an issue in the optimus-manager github but no response so far. Maybe waiting for an update is the best option right now. Or re-installing Manjaro or keep checking configs, kernels, files (???).