You are not logged in.
Hoping someone with knowledge can help me.
I am running Arch Linux on one partition on my Laptop (Razor Blade 16 2025)
Specs:
GPU: NVIDIA® GeForce RTX™ 5070 Ti Laptop GPU
CPU: AMD Ryzen™ AI 9 365 (Strix Point)
Display: 16" QHD+ OLED, 240Hz, 0.2ms, 100% DCI-P3
I did a fresh install and followed this Youtube Video
Basically installed it with minimal pacakges no DE.
Then added Hyprland and requried packages to get ML4W running.
The issue is the following:
I want to be able to use my iGPU and then chose which applications run using the RTX GPU.
Mainly for battery life as I only get 2 Hours other wise.
When I select the following setting in the BIOS
nVidia Dynamic Switch -> Dedicated Graphics Only.
I have no issues. Everything runs as it should.
When I select
nVidia Dynamic Switch -> nVidia Dynamic Display Switch
I am not able to get into Hyprland anymore.
Error and the Bios Setting Images:
https://imgur.com/a/G6HOmR8
Below are some of the Hyprland Conf variables I have tried.
(Gemini Troubleshooting attempt)
# # 1. Use direct paths first to ensure it works
# env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2
# # 2. Fix for internal display 'blanking' on some hybrid setups
# env = WLR_DRM_NO_ATOMIC,1
# # 3. NVIDIA environment variables (Required for the fallback to work)
# env = LIBVA_DRIVER_NAME,nvidia
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# # NVIDIA Specifics
# env = LIBVA_DRIVER_NAME,nvidia
# env = XDG_SESSION_TYPE,wayland
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm
# # Important for Hybrid Laptop Screens
# env = WLR_NO_HARDWARE_CURSORS,1
# render {
# direct_scanout = false
#}I have also added the following to my Kernal Perimeters with no luck.
amdgpu.dcdebugmask=0x10
nvidia-drm.modeset=1LSPCI Shows the following
❯ lspci | grep -E 'VGA|3D|Display'
c5:00.0 VGA compatible controller: NVIDIA Corporation GB205M [GeForce RTX 5070 Ti Mobile] (rev a1)
c6:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] (rev c4)
❯ ls /dev/dri/by-path/
pci-0000:c5:00.0-card pci-0000:c5:00.0-render pci-0000:c6:00.0-card pci-0000:c6:00.0-renderLast edited by homelab15 (2025-12-30 07:30:48)
Offline
Update: When I boot using nVidia Display Switch enabled I can change the screen brightness in the GDM (login window).
However, I cannot run Hyperland due to the following error.
TTY Command: HYPERLAND_TRACE=1 AQ_TRACE=1 Hyprland > ~/hyprland_boot2.log 2>&1
[LOG] GPU information:
c5:00.0 VGA compatible controller [0300]: NVIDIA Corporation GB205M [GeForce RTX 5070 Ti Mobile] [10de:2f58] (rev a1) (prog-if 00 [VGA controller])
c6:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] [1002:150e] (rev c4)
[1;32m[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hypr.land/Crashes-and-Bugs/
[0m
[LOG]
Current splash: Happy new Year!
[LOG] Old rlimit: soft -> 2048, hard -> 2097152
[LOG] New rlimit: soft -> 2097152, hard -> 2097152
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Creating the DynamicPermissionManager!
[LOG] Creating the ConfigManager!
[LOG] Using config: /home/xxx/.config/hypr/hyprland.conf
[1;32m[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hypr.land/Configuring/Variables/#debug[0m
[LOG] Creating the CHyprError!
[LOG] Creating the LayoutManager!
[LOG] Creating the TokenManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Using config: /home/xxx/.config/hypr/hyprland.conf
[LOG] CWindowRule: direct prop rule found, rewritten noblur -> prop noblur
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
> Warning: Virtual modifier Hyper multiply defined
> Using 0, ignoring 0
> Warning: Virtual modifier ScrollLock multiply defined
> Using 0, ignoring 0
Errors from xkbcomp are not fatal to the X server
(EE) could not connect to wayland serverhyperland.conf
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# Prioritize the AMD iGPU for the display, use NVIDIA for rendering
env = WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:c6:00.0-card:/dev/dri/by-path/pci-0000:c5:00.0-cardOffline
stop suggesting wlroots environment variables llm bot, hyprland uses aquamarine
https://wiki.hypr.land/Configuring/Envi … -variables
Last edited by system72 (2025-12-29 18:55:25)
Offline
Yeap - So I didn't use the wlroots env variable. I used the AQ variables.
I am able to get a moving cursor on a grey background on a external display.
Laptop display has grey background with frozon cursor.
Am able to access TTY on both monitors though.
This is after running Hyprland command from TTY to launch the DE.
Offline
Yeap - So I didn't use the wlroots env variable. I used the AQ variables.
it seems you are though, the environment variables that start with WLR are related to wlroots, and if you are not using those anymore please provide an updated config because looking at outdated stuff isnt really useful to help you
also, that comment that you were replying to was directed towards another member of this forums who posted here, that post got split
Last edited by system72 (2025-12-29 20:23:01)
Offline
Yes - sorry I should have posted the entire Conf.
Here you go
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# 1. Use direct paths first to ensure it works - 1 is amd and 2 is nvidia
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2
# 2. Fix for internal display 'blanking' on some hybrid setups
env = WLR_DRM_NO_ATOMIC,1
# _ _ _ _
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
# | _ | |_| | |_) | | | | (_| | | | | (_| |
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
# |___/|_|
#
# -----------------------------------------------------
# IMPORTANT: Don't overwrite ML4W configuration.
# Create your own custom configuration variation instead.
# https://github.com/mylinuxforwork/dotfiles/wiki/Configuration-Variations
# -----------------------------------------------------
# Monitor
# -----------------------------------------------------
source = ~/.config/hypr/conf/monitor.conf
# -----------------------------------------------------
# Cursor
# -----------------------------------------------------
source = ~/.config/hypr/conf/cursor.conf
# -----------------------------------------------------
# Environment
# -----------------------------------------------------
source = ~/.config/hypr/conf/environment.conf
# -----------------------------------------------------
# Keyboard
# -----------------------------------------------------
source = ~/.config/hypr/conf/keyboard.conf
# -----------------------------------------------------
# Load color file
# -----------------------------------------------------
source = ~/.config/hypr/colors.conf
$color8 = $primary
$color11 = $on_surface
# -----------------------------------------------------
# Autostart
# -----------------------------------------------------
source = ~/.config/hypr/conf/autostart.conf
# -----------------------------------------------------
# Load configuration files
# -----------------------------------------------------
source = ~/.config/hypr/conf/window.conf
source = ~/.config/hypr/conf/decoration.conf
source = ~/.config/hypr/conf/layout.conf
source = ~/.config/hypr/conf/workspace.conf
source = ~/.config/hypr/conf/misc.conf
source = ~/.config/hypr/conf/keybinding.conf
source = ~/.config/hypr/conf/windowrule.conf
# -----------------------------------------------------
# Animation
# -----------------------------------------------------
source = ~/.config/hypr/conf/animation.conf
# -----------------------------------------------------
# Environment for xdg-desktop-portal-hyprland
# -----------------------------------------------------
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# -----------------------------------------------------
# ML4W Configuration
# -----------------------------------------------------
source = ~/.config/hypr/conf/ml4w.conf
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
source = ~/.config/hypr/conf/custom.confOffline
- WLR_DRM_NO_ATOMIC,1
+ AQ_NO_ATOMIC,1No idea whether WLR_NO_HARDWARE_CURSORS,1 is used.
# 1. Use direct paths first to ensure it works - 1 is amd and 2 is nvidia
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2
Is that actually true?
ls -l /dev/dri/by-path/
lspciOffline
- WLR_DRM_NO_ATOMIC,1 + AQ_NO_ATOMIC,1No idea whether WLR_NO_HARDWARE_CURSORS,1 is used.
# 1. Use direct paths first to ensure it works - 1 is amd and 2 is nvidia
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2Is that actually true?
ls -l /dev/dri/by-path/ lspci
Yes I tried with and without the first variable.
And yes the second LS commands were true.
Offline
Please avoid bloating the thread w/ poinless full quotes.
The suggestion was to substitute the WLR variable w/ the AQ one if you want to try/use that.
Also the second commands are not "true"
The outputs will however allow us to tell whether /dev/dri/card1 is acutally your IGP…
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stOffline
Sorry about the mass quote. I am new to the forum so just getitng the hang of it.
Can confirm WITH the AQ command NO WLR command I can now reach the desktop with hybrid graphics(nvidia dynamic display) enabled.
So this is further than I have got before..
Before this I wasn't able to get to a usable desktop.
But even still, it appears the nVidia card is doing the rendering.
I tried to swap around the GPU card order in the AQ variable I set in hyperland.conf but got the same issue.
One time when I logged in I checked brightnessctl -l and it actually had amdgpu_bl1 which is the class I need to control the backlight but the same utility couldn't change the brightness when I used the SET flag.
❯ curl -F'file=@boot_log2.txt' https://0x0.st
curl -F'file=@devdribypath.txt' https://0x0.st
curl -F'file=@hyprland.conf' https://0x0.st
curl -F'file=@lspci.txt' https://0x0.st
https://0x0.st/P-ow.txt
https://0x0.st/P-oy.txt
https://0x0.st/P-ot.conf
https://0x0.st/P-ov.txt
I am keen to get your thoughts. I think we might be close.
I did install some AMD drivers in order to get mesa
I used this command
sudo pacman -S --needed mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeonOffline
Okay AMAZING NEWS!!
I copied over the commands you recomended (AQ and got rid of the WLM one).
Did the outstanding updates on my CachyOS partition (not my Arch one I was troubleshooting) just to see if it worked..appy
And it did!
I'm so happy!
I am now using brightnessctl to control my brightness and have binded it to the keys.
Checked desktop is rendering using AMD GPU.
Now I just need to figure out how to use Prime to run apps on my dedicated GPU.
I have pasted below any code I think might be useful to people reading this in future.
Razor Blade 16 - ? cpu │ AMD Ryzen AI 9 365 (8+12) @ 5.09 GHz
grub:
GRUB_CMDLINE_LINUX_DEFAULT='amdgpu.psr=0 amdgpu.dcdebugmask=0x10 nvidia_drm.modeset=1 nowatchdog nvme_load=YES zswap.enabled=0 splash loglevel=3'
mkinitcpio.CONFIG
MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)
Hyper Conf:
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# 1. Use direct paths first to ensure it works
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0
env = AQ_NO_ATOMIC,1
env = __EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/50_mesa.json
#env = WLR_DRM_NO_MODIFIERS,1
--- 1. SYSTEM IDENTITY ---
Kernel: 6.18.2-3-cachyos
CPU: AMD Ryzen AI 9 365 w/ Radeon 880M
--- 2. KERNEL PARAMETERS (/proc/cmdline) ---
BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos root=UUID=0f6e41b8-b335-478e-bdfd-04fee829ba1f rw rootflags=subvol=@ amdgpu.psr=0 amdgpu.dcdebugmask=0x10 nvidia_drm.modeset=1 nowatchdog nvme_load=YES zswap.enabled=0 splash loglevel=3
--- 3. RELEVANT KERNEL MODULES (amdgpu/nvidia) ---
nvidia_wmi_ec_backlight 12288 0
nvidia_drm 151552 3
nvidia_uvm 2543616 4
nvidia_modeset 1974272 2 nvidia_drm
amdgpu 17072128 29
nvidia 15532032 36 nvidia_uvm,nvidia_modeset
drm_panel_backlight_quirks 12288 1 amdgpu
drm_buddy 32768 1 amdgpu
drm_suballoc_helper 20480 1 amdgpu
drm_exec 16384 1 amdgpu
i2c_algo_bit 20480 1 amdgpu
gpu_sched 69632 2 amdxdna,amdgpu
amdxcp 12288 1 amdgpu
drm_display_helper 282624 1 amdgpu
drm_ttm_helper 16384 3 amdgpu,nvidia_drm
video 81920 3 nvidia_wmi_ec_backlight,amdgpu,nvidia_modeset
ttm 131072 2 amdgpu,drm_ttm_helper
wmi 36864 3 video,nvidia_wmi_ec_backlight,wmi_bmof
cec 102400 2 drm_display_helper,amdgpu
--- 4. GPU HARDWARE (lspci) ---
c5:00.0 VGA compatible controller [0300]: NVIDIA Corporation GB205M [GeForce RTX 5070 Ti Mobile] [10de:2f58] (rev a1)
c6:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] [1002:150e] (rev c4)
--- 5. HYPRLAND VERSION & RENDERER ---
Hyprland 0.53.0 built from branch v0.53.0 at commit ea444c35bb23b6e34505ab6753e069de7801cc25 clean (version: bump to 0.53.0).
Date: Mon Dec 29 15:21:36 2025
Tag: v0.53.0, commits: 6756
DEBUG from aquamarine ]: CDRMRenderer(drm): Using device /dev/dri/card1
DEBUG from aquamarine ]: CDRMRenderer: IMG_context_priority supported, requesting high
DEBUG from aquamarine ]: CDRMRenderer: EXT_create_context_robustness supported, requesting lose on reset
DEBUG from aquamarine ]: CDRMRenderer: Got a high priority context
DEBUG from aquamarine ]: Creating CDRMRenderer on gpu /dev/dri/renderD128
DEBUG from aquamarine ]: Renderer: AMD Radeon 890M Graphics (radeonsi, gfx1150, LLVM 21.1.6, DRM 3.64, 6.18.2-3-cachyos)
DEBUG from aquamarine ]: CDRMRenderer(drm): Using device /dev/dri/card1
DEBUG from aquamarine ]: CDRMRenderer: IMG_context_priority supported, requesting high
DEBUG from aquamarine ]: CDRMRenderer: EXT_create_context_robustness supported, requesting lose on reset
DEBUG from aquamarine ]: CDRMRenderer: Got a high priority context
DEBUG from aquamarine ]: Creating CDRMRenderer on gpu /dev/dri/renderD128
DEBUG from aquamarine ]: Renderer: AMD Radeon 890M Graphics (radeonsi, gfx1150, LLVM 21.1.6, DRM 3.64, 6.18.2-3-cachyos)
--- 6. HYPRLAND CONFIG (Environment Variables) ---
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0
env = AQ_NO_ATOMIC,1
env = __EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/50_mesa.json
--- 7. INSTALLED VERSIONS ---
local/brightnessctl 0.5.1-3
local/egl-gbm 1.1.2.1-1.1
local/egl-wayland 4:1.1.21-1.1
local/egl-wayland2 1.0.0.rc.r53.gf4a2d32-1.1
local/egl-x11 1.0.4-1.1
local/glu 9.0.3-2.1
local/grimblast-git r152.db18f83-1
local/hyprcursor 0.1.13-3.1
local/hyprgraphics 0.5.0-1.1
local/hypridle 0.1.7-6.1
local/hyprland 0.53.0-2
local/hyprland-guiutils 0.2.1-2.1
local/hyprlock 0.9.2-8.1
local/hyprshade 4.0.1-1
local/hyprutils 0.11.0-1.1
local/hyprwayland-scanner 0.4.5-1.1
local/lib32-mesa 1:25.3.2-2
local/lib32-nvidia-utils 590.48.01-2
local/lib32-opencl-nvidia 590.48.01-2
local/lib32-vulkan-mesa-implicit-layers 1:25.3.2-2
local/libva-nvidia-driver 0.0.14-1.1
local/libvdpau 1.5-3.1
local/libxnvctrl 590.48.01-2
local/linux-cachyos-lts-nvidia-open 6.12.63-2
local/linux-cachyos-nvidia-open 6.18.2-3
local/linux-firmware 1:20251125-2
local/linux-firmware-amdgpu 1:20251125-2
local/linux-firmware-atheros 1:20251125-2
local/linux-firmware-broadcom 1:20251125-2
local/linux-firmware-cirrus 1:20251125-2
local/linux-firmware-intel 1:20251125-2
local/linux-firmware-mediatek 1:20251125-2
local/linux-firmware-nvidia 1:20251125-2
local/linux-firmware-other 1:20251125-2
local/linux-firmware-radeon 1:20251125-2
local/linux-firmware-realtek 1:20251125-2
local/linux-firmware-whence 1:20251125-2
local/mesa 1:25.3.2-2
local/mesa-utils 9.0.0-7.1
local/nvidia-prime 1.0-5
local/nvidia-settings 590.48.01-2
local/nvidia-utils 590.48.01-4
local/nvtop 3.2.0-1.1
local/nwg-displays 0.3.26-1
local/nwg-dock-hyprland 0.4.8-4.1
local/opencl-nvidia 590.48.01-4
local/vulkan-mesa-implicit-layers 1:25.3.2-2
local/xdg-desktop-portal-hyprland 1.3.11-3.1
--- 8. DISPLAY PERFORMANCE (240Hz) ---
Monitor eDP-1 (ID 0):So yeah thanks for your help!
I am yet to test it with an external monitor but am hopeful.
Offline