Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 886181

Summary: net-irc/irccloud-desktop-bin does not start if --no-sandbox is not set with nvidia-drivers (probably other electron-based programs too)
Product: Gentoo Linux Reporter: Marco Scardovi (scardracs) <mscardovi>
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marco Scardovi (scardracs) 2022-12-15 22:31:38 UTC
Hello everyone,
I'm opening that bug because irccloud does not start if --no-sandbox is not set with nvidia-drivers. I perfectly understand that running an electron application without sandbox is less secure but actually it does not work at all:

23:28:56.430 › setupConfig
23:28:56.508 › ready []
23:28:56.559 › isDefaultProtocolClient: irc true
23:28:56.560 › isDefaultProtocolClient: ircs true
23:28:56.562 › openMainWindow
[7632:1215/232857.706541:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
fish: Job 1, 'irccloud' terminated by signal SIGTRAP (Trace or breakpoint trap)

Is it possible to add --no-sandbox to irccloud.desktop IF nvidia-drivers is detected? Thanks
Comment 1 Marco Scardovi (scardracs) 2022-12-15 22:33:35 UTC
I don't really like the idea of disable it so, if you have better solution, please tell me
Comment 2 Marco Scardovi (scardracs) 2023-01-11 15:12:27 UTC
After some research it seems possible to use --in-process-gpu too