Skip to content

Disable CEF use of GPU in production and disable sandboxing to get working on yoshi#81

Open
petelilley wants to merge 1 commit intodevfrom
cef-disable-gpu-in-production
Open

Disable CEF use of GPU in production and disable sandboxing to get working on yoshi#81
petelilley wants to merge 1 commit intodevfrom
cef-disable-gpu-in-production

Conversation

@petelilley
Copy link
Copy Markdown

Yoshi doesn't have a GPU

@petelilley petelilley changed the title Disable CEF usage GPU in production and disable sandboxing to get working on yoshi Disable CEF use of GPU in production and disable sandboxing to get working on yoshi Apr 10, 2026
@NicholasMy
Copy link
Copy Markdown
Member

I'd like to see if we can get this working without disabling the sandbox. Disabling the sandbox prevents us from safely being able to display webpages we don't control.

@petelilley
Copy link
Copy Markdown
Author

Ok, I wasn't aware of this. The reason why I turned it off was because the sandbox application needs special permissions on yoshi that I can't grant. The server crashes with the following output:

[20075:20075:0414/162118.752620:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:166] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /project/s26_cse302/LED-Video-Wall/server/cef/lib/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

I can try it again with sandboxing enabled once you grant these permissions to that chrome-sandbox file

@petelilley
Copy link
Copy Markdown
Author

You will only need to do this once because chrome-sandbox only gets built the first time make is run.

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.

2 participants