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

Fails to start with nvidia+wayland #82

Closed
SoMuchForSubtlety opened this issue Sep 6, 2023 · 1 comment
Closed

Fails to start with nvidia+wayland #82

SoMuchForSubtlety opened this issue Sep 6, 2023 · 1 comment

Comments

@SoMuchForSubtlety
Copy link

logs

$ flatpak run com.plexamp.Plexamp
Wayland socket is available, running natively on Wayland.
To disable, remove the --socket=wayland permission.
Using NVIDIA on Wayland, applying workaround
Passing the following arguments to Electron: --enable-gpu-rasterization --enable-zero-copy --enable-gpu-compositing --enable-native-gpu-memory-buffers --enable-oop-rasterization --disable-gpu-blocklist --ozone-platform=wayland --disable-gpu-sandbox --enable-features=UseSkiaRenderer
LaunchProcess: failed to execvp:
xdg-settings
[3:0906/214942.703144:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0906/214942.703189:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Main: restoring window state from /var/home/jakob/.var/app/com.plexamp.Plexamp/config/Plexamp/window-state-plexamp-main.json
Started Media Service: false
Linux: Registering MPRIS service.
[49:0906/214942.750243:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is egl, ANGLE is 
amdgpu: unknown (family_id, chip_external_rev): (149, 2)
[49:0906/214942.787032:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[49:0906/214942.787047:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 768x1024, RGBA_8888, usage SCANOUT
[49:0906/214942.787055:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[49:0906/214942.787059:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 768x1024, RGBA_8888, usage GPU_READ
[49:0906/214942.787062:ERROR:shared_image_backing_factory_gl_image.cc(359)] CreateSharedImage: Failed to create bindable image
[49:0906/214942.787068:ERROR:shared_image_factory.cc(697)] CreateSharedImage: could not create backing.
[49:0906/214942.787110:ERROR:shared_context_state.cc(538)] Failed to make current since context is marked as lost
[49:0906/214942.787115:ERROR:skia_output_surface_impl_on_gpu.cc(1744)] Failed to make current.
[49:0906/214942.787208:ERROR:shared_context_state.cc(538)] Failed to make current since context is marked as lost
[49:0906/214942.787212:ERROR:skia_output_surface_impl_on_gpu.cc(1744)] Failed to make current.
[49:0906/214942.787335:ERROR:raster_decoder.cc(1252)]   RasterDecoderImpl: Context lost during MakeCurrent.
[49:0906/214942.787514:ERROR:raster_decoder.cc(1252)]   RasterDecoderImpl: Context lost during MakeCurrent.
[49:0906/214942.795329:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[49:0906/214942.795339:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 768x1024, RGBA_8888, usage SCANOUT
[49:0906/214942.795343:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[49:0906/214942.795347:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(198)] Failed to create pixmap 768x1024, RGBA_8888, usage GPU_READ
[49:0906/214942.795350:ERROR:shared_image_backing_factory_gl_image.cc(359)] CreateSharedImage: Failed to create bindable image
[49:0906/214942.795360:ERROR:shared_image_factory.cc(697)] CreateSharedImage: could not create backing.
[3:0906/214943.032793:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=133
Error: GPU process (undefined) crashed (133) :(
Quitting...

Disabling wayland access with flatseal works but is not ideal.

@shrugal
Copy link

shrugal commented Jan 21, 2024

I have the same issue, though my log looks a bit different:

Wayland socket is available, running natively on Wayland.
To disable, remove the --socket=wayland permission.
Using NVIDIA on Wayland, applying workaround
Passing the following arguments to Electron: --enable-gpu-rasterization --enable-zero-copy --enable-gpu-compositing --enable-native-gpu-memory-buffers --enable-oop-rasterization --disable-gpu-blocklist --ozone-platform=wayland --disable-gpu-sandbox --enable-features=UseSkiaRenderer
LaunchProcess: failed to execvp:
xdg-settings
Main: restoring window state from /home/niko/.var/app/com.plexamp.Plexamp/config/Plexamp/window-state-plexamp-main.json
Started Media Service: false
Linux: Registering MPRIS service.
[49:0121/143303.151331:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=GPU_READ_CPU_READ_WRITE
[49:0121/143303.155073:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[49:0121/143303.155088:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[49:0121/143303.155095:ERROR:shared_image_factory.cc(926)] CreateSharedImage: could not create backing.
[49:0121/143303.155104:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[49:0121/143303.155136:ERROR:gpu_service_impl.cc(1089)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[55:0121/143303.160211:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3:0121/143303.163687:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704
Error: GPU process (undefined) abnormal-exit (8704) :(
Quitting...

System is Linux 6.6.9, Fedora 39, Gnome 45.3 on Wayland, RTX 3070 Ti with 545.29.06 driver. I also enabled dbus access in flatseal to get rid of the related error messages.

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

3 participants