Skip to content
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 upon running command in terminal #34

Open
ModestTom opened this issue May 11, 2023 · 7 comments
Open

Black screen upon running command in terminal #34

ModestTom opened this issue May 11, 2023 · 7 comments

Comments

@ModestTom
Copy link

System:
Arch + Hyprland
Ryzen 5 6600H
RTX 3050 ti

Issue:
When running the command the output is,
[WARN] 24 bit formats are unsupported, hyprpicker may or may not work as intended! #000000
If I keep my cursor completely still and navigate via keyboard, the screen does not go black. As soon as I start moving my cursor, the screen blacks out. Since my screen goes entirely black after launching, I can only click on the black of the screen, resulting in the hex code above. My cursor also changes to the xwayland default cursor while the program is running. Nothing crashes. As soon as I either "ESC" or click on the black screen, the program finishes. Thanks for the great WM, hope I can make use of the colorpicker as well.

Version:
I tried the current AUR package (r8.0fc1134-1) and compiled main with latest commit. Both having the same exact issue and output in terminal.

@vaxerski
Copy link
Member

probably the nvidia fix that was once merged stopped working.

@ModestTom
Copy link
Author

Do you know what commit had this fix working? I will happily just compile that as long as it's functional.

@ModestTom
Copy link
Author

Setting monitor bit depth to 10 has resolved blackscreen issue. Not a desired solution for sure, so in case there is a plan to take another look at the 24 bit depth buffer I will leave this open. Otherwise, feel free to close.

@vaxerski
Copy link
Member

234c2da had it working

@ModestTom
Copy link
Author

ModestTom commented May 19, 2023

Thank you but, unless I didn't revert the branch correctly, this compiled version still doesn't support 24 bit. I was keeping bitdepth set to 10 for this but that is no longer working now. There hasn't been a driver update in the time frame that it stopped working.

@rondao
Copy link

rondao commented May 25, 2023

@ModestTom

I had this exact same Issue using nvidia card.
However it did not seem to be a problem exclusive to hyprpicker, because the same problem happened with grim.
All screenshots taken with grim were completely black.

Interestingly, after updating the system (mainly hyprland, wlroots and nvidia drivers), both grim and hyprpicker started working.
Maybe more interestingly, is that after the update, the warning [WARN] 24 bit formats are unsupported, hyprpicker may or may not work as intended! stopped showing.
So I can't say that it is working with 24-Bit format, but the problem was gone.

System:
Gentoo + Hyprland
AMD Ryzen 5 1600 Six-Core Processor
NVIDIA GeForce GTX 1060 3GB

Versions:
x11-drivers/nvidia-drivers-525.116.04::gentoo
gui-apps/hyprpicker-0.1.0-r1::guru
dev-libs/hyprland-protocols-0.2::guru
gui-wm/hyprland-0.25.0::gentoo
gui-libs/wlroots-0.16.2::gentoo
gui-libs/xdg-desktop-portal-hyprland-0.3.1::guru

@i0dk1
Copy link

i0dk1 commented Jul 6, 2023

It's actually an nvidia bug:
https://forums.developer.nvidia.com/t/530-41-03-external-monitor-stays-frozen-until-i-move-my-mouse/247244/1

Patch will be available in the next release. For now @ModestTom, you can add bitdepth,10 in your monitor configuration as a workaround. Or, alternatively, downgrade to 525.89.02-2

This also fixes the black screenshots problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants