Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886181 - net-irc/irccloud-desktop-bin does not start if --no-sandbox is not set with nvidia-drivers (probably other electron-based programs too)
Summary: net-irc/irccloud-desktop-bin does not start if --no-sandbox is not set with n...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 22:31 UTC by Marco Scardovi (scardracs)
Modified: 2023-01-30 21:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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