Skip to content

fix crash on shitvidia when running under wayland#237

Closed
AAGaming00 wants to merge 4 commits into
Vencord:mainfrom
AAGaming00:fix-nvidia-wayland-crash
Closed

fix crash on shitvidia when running under wayland#237
AAGaming00 wants to merge 4 commits into
Vencord:mainfrom
AAGaming00:fix-nvidia-wayland-crash

Conversation

@AAGaming00
Copy link
Copy Markdown
Contributor

works around this issue

[23720:1113/145745.110129:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[23720:1113/145745.110235:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[23720:1113/145745.110468:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[23720:1113/145745.110530:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ

when using meme gpus and --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations

no idea why this works lmao

Screenshot from 2023-11-13 14-55-59

@ibrokemypie
Copy link
Copy Markdown

confirmed fix for me, without this patch --ozone-platform-hint=auto causes the discord window to never appear (unless run with --disable-gpu), with the patch vencord now loads fine with --ozone-platform-hint=auto and without --disable-gpu, and confirmed running on wayland natively with xlsclients

@RubberDuckShobe
Copy link
Copy Markdown

fix works for me too, using an RTX 2070

@AAGaming00
Copy link
Copy Markdown
Contributor Author

fixed in d71d0c1

@AAGaming00 AAGaming00 closed this Dec 28, 2023
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

Successfully merging this pull request may close these issues.

4 participants