You are not logged in.
So I have a lenovo legion 5 15ARP8 laptop with advanced optimus and an nvidia rtx 4060 with ryzen 7 7735hs. I made a dual boot with arch linux and setup the sddm and wayland, but everything breaks when i change to igpu, specifically when trying to change graphics mode to dynamic in my bios which is basically hybrid mode after switching to hybrid using envycontrol. But normally it breaks everytime i change to dynamic graphics. this is the output from journalctl:
May 02 18:31:49 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PB2], A
E_NOT_FOUND (20240827/dswload2-162)
May 02 18:31:49 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20240827/pso
bject-220)
May 02 18:31:49 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PB2], A
E_NOT_FOUND (20240827/dswload2-162)
May 02 18:31:49 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20240827/pso
bject-220)
May 02 18:31:49 archlinux kernel: hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
May 02 18:31:49 archlinux kernel:
May 02 18:31:49 archlinux kernel: amdgpu 0000:06:00.0: [drm] *ERROR* dp_get_max_link_enc_cap: Max li
nk encoder caps unknown
May 02 18:31:49 archlinux kernel: amdgpu 0000:06:00.0: [drm] *ERROR* dp_get_max_link_enc_cap: Max li
nk encoder caps unknown
May 02 18:31:49 archlinux kernel: amdgpu 0000:06:00.0: [drm] *ERROR* dp_get_max_link_enc_cap: Max li
nk encoder caps unknown
May 02 18:31:49 archlinux kernel: amdgpu 0000:06:00.0: [drm] *ERROR* dp_get_max_link_enc_cap: Max li
nk encoder caps unknown
May 02 18:31:50 archlinux bluetoothd[640]: Failed to set mode: Failed (0x03)
May 02 18:48:49 archlinux /usr/bin/nvidia-powerd[641]: watchEvent failure : status : 1
May 02 18:48:49 archlinux /usr/bin/nvidia-powerd[641]: Failed to initialize Dynamic Boost
May 02 18:48:49 archlinux /usr/bin/nvidia-powerd[641]: Failed to detach GPU id 256
May 02 18:48:49 archlinux dbus-broker-launch[636]: Activation request for 'org.bluez' failed.
May 02 18:48:49 archlinux dbus-broker-launch[636]: Activation request for 'org.bluez' failed.
May 02 18:48:51 archlinux dbus-broker-launch[636]: Activation request for 'org.freedesktop.nm_dispat
cher' failed.
May 02 18:48:52 archlinux dbus-broker-launch[636]: Activation request for 'org.freedesktop.nm_dispat
cher' failed.for more clarity.
Dual-boot: Arch Linux (primary OS) + Windows.
Display Manager: SDDM.
Display Server: Wayland (tried Xorg too).
Tools: envycontrol for GPU switching.
The system fails to boot properly (stuck at /dev/nvme0n1p3 clean, or freezes at a part where an underscore appears in the far left corner).
Switching to iGPU-only mode also breaks the display.
Works fine in dGPU-only mode.
Enable "Dynamic Graphics" in BIOS.
Use envycontrol -s hybrid (envycontrol is in a virtual environment ).
Reboot then system hangs or fails to start the display manager.
Any help is appreciated!
Offline
https://wiki.archlinux.org/title/Dual_b … ibernation
Disable windows fast startup and hibernation, then reboot both OSes twice to ensure the changes stuck.
Also read the rest of that wiki page.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I understand but in the wiki it talks about the case of a dual boot in the same drive as windows, my Linux is installed in my second ssd drive which was empty. Still should I check windows settings that could disrupt changes in Linux?
Offline
Yes, windows fast startup/hibernation can affect hardware directly.
An infamous example is that of network cards that are powered down (due to power saving options) when hibernating windows and are impossible to re-activate from linux.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Got it, il test this out
Offline