-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Black screen when setting env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
#9113
Comments
You're reading from the wiki that relates to git/master branch Here's 44.1: https://wiki.hyprland.org/0.41.1/Configuring/Multi-GPU/#telling-hyprland-which-gpu-to-use (your HL/AQ versions are also severly out of date) |
Thank you for your reply! Since you mentioned my Hyprland version was severely outdated, I’ve updated it to 0.46.2. While the screen is no longer black, it’s now frozen. I've also tried to run I’m currently following the latest documentation—should I continue with that? |
Can you try with full path to cards? `env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1' |
It gives the same result... |
You might need to look through https://wiki.hyprland.org/0.46.0/Nvidia/ And set up some extra variables for Nvidia |
I've already followed the steps on that page before, but I'm not sure if I did it successfully. Is there any way to verify it? Or should I go through the setup again to double-check? Edit: And here is my config about
In export __NV_PRIME_RENDER_OFFLOAD=1 # Default to use NVIDIA card
export __GLX_VENDOR_LIBRARY_NAME=nvidia # GLX
export __VK_LAYER_NV_optimus=NVIDIA_only # Vulkan
export GBM_BACKEND=nvidia-drm # Copied from hyprland.conf
export __GL_GSYNC_ALLOWED=1
export __GL_VRR_ALLOWED=0 |
Does HL freeze when setting And comment out anything Nvidia-related? Ideally you should set environment variables in hyprland.conf, or just launch like |
@ShelpAm are you using a laptop without mux switch? |
you cannot use your dgpu to drive your internal display unless you have a mux switch to completely disable the igpu. This is a hardware limitation of Nvidia's cards |
Already reported ? *
Regression?
I don't know, I started using Hyprland only recently
System Info and Hyprland Version
System/Version info
Description
I want to use NVIDIA dgpu to start hyprland, so I found in the wiki.
But when setting environment variable by
env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
(where card0 is my nvidia card), it shows black screen sadly.How to reproduce
env = AQ_DRM_DEVICES,/dev/dri/xxxx_nvidia_card
in configuration file.Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
The file hyprland1.log (I got it by
HYPRLAND_TRACE=1 AQ_TRACE=1 Hyprland > hyprland1.log 2>&1
) says thatsrc/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808669784
. This may be the cause, but I don't know much about what this means :( SorryThe text was updated successfully, but these errors were encountered: