-
-
Notifications
You must be signed in to change notification settings - Fork 988
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. On *dGPU Only*-capable laptop. #9124
Comments
For me when |
ok, does sway produce something other than a black screen when forced to do dgpu? |
@vaxerski |
you can start sway using proprietary nvidia drivers with |
Okay so i tried and the results are similar to Hyprland. with with These are the only things i've found to test. Please let me know if there is something i'm missing or something else i should try. |
well yeah your laptop monitor is hardwired to the intel gpu so unless you have a mux switch that is changeable in the bios settings, like i do. i dont think this is possible, windows drivers has the capabilites to flip that mux switch on demand but as far as i know linux doesnt. |
Okay that may be the case then. Sad to hear though as i super like Hyprland and would love to use it. Still makes me wonder how Nobara does it. |
why are you trying to force hyprland to run on nvidia? works just fine without that. DRI_PRIME isnt used by nvidia either |
Because when using Hyprland on my second monitor, any window movement or any input feels choppy and sluggish. https://www.youtube.com/watch?v=9UuZfWMM8j4 |
yeah i suspect there is a bit of driver issues NVIDIA/open-gpu-kernel-modules#767 and NVIDIA/open-gpu-kernel-modules#743 , however the situation isnt entirerly perfect over here either hyprwm/aquamarine#134 |
NVIDIA/open-gpu-kernel-modules#743 (comment) |
this can probably be closed btw, if no mux switch, your laptop will remain hardwired to the igpu. so trying to force everything on the nvidia dgpu will surely make it black screened. |
Already reported ? *
Regression?
I don't know, I started using Hyprland only recently
System Info and Hyprland Version
System/Version info
Description
Same as this issue
"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/card1:/dev/dri/card0 (where card1 is my nvidia card), it shows black screen"
note: my nvidia card is
card1
What is different in my case is that i CAN run everything through the dGPU.
On Nobara i setup all-ways-egpu which enables using only the dGPU.
I have a second monitor and that one works fine with
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0
Actually hyprland feels buttery smooth while using that setting. But the laptop monitor is just black.
NOT using
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0
makes hyprland feel choppy and sluggish. Especially for the second monitor.How to reproduce
Select nvidia card by env = AQ_DRM_DEVICES,/dev/dri/<NVIDIA_CARD> in configuration file.
Launch Hyprland.
Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
Logs: log1.log
config: hyprland_config.txt
Crash logs: Unable to obtain crash log due to computer just freezing when attempting to move the cursor to the laptop screen.
The text was updated successfully, but these errors were encountered: