-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Enabling GPU on NVIDIA drivers causes crashes #258
Comments
Coercing the software rendering pixel format to a 32 bit one instead of 24 will not change the GPU buffer format into a 32 bit one as well. It's still 24 bits, and those are not currently implemented. Besides, if you're using ZRLE encoding, you won't notice any performance improvement from setting the |
Oh well, looks like to make this work, I will have to make a lot of changes. I do not guarantee I will be able to even do it, and I don't guarantee it will be good, but if it works, I could try to make some commits. |
On my machine, nvidia proprietary driver, gbm_bo_map() returns ENOSYS which means its not implemented. |
You have been misled by the log message. The ZRLE log message was the last words before WayVNC crashed, but the actual crash occurred the H.264 codepath before it was able to print any debug log. I believe I've now debugged the problem, and it should affect both Nvidia and AMD GPUs, see Issue #327 for details. |
I don't think so. If the client chooses ZRLE, wayvnc is not going to even try H.264. |
WayVNC doesn't try H.264, but TigerVNC does. For the record, TigerVNC appears to always try ZRLE first, before it immediately tries again via H.264 (Even if H.264 is set as the preferred option). WayVNC only logs See the two highlighted lines.
|
Useful information:
Please, try to gather as much of useful information as possible and follow
these instructions:
Version:
wayvnc -V
Try to reproduce while capturing a trace log:
wayvnc -Ltrace | tee wayvnc-crash.log
coredumpctl
, you can gather the stack trace after a crash usingcoredumpctl gdb wayvnc
and then runbt full
to obtain the stack trace.wayvnc in gdb like so:
gdb --args wayvnc -Ltrace
??
, please compilewayvnc and those other projects from source with debug symbols and try
again.
I applied the patch recommended in wayvnc doesn't work with nvidia drivers, because neatvnc doesn't support 24bit pixel input #139 to wlroots in my Hyprland DE. I then had the issue from Segmentation Fault on Arch/Wayland/Hyprland #248 and applied the patch from there to neatvnc. I was able to connect using RealVNC to Hyprland running on a PC with an NVIDIA card. It was in CPU mode so I added
--gpu
to it, and this error happened.The text was updated successfully, but these errors were encountered: