Closed TetsujinXLIV closed 4 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Don't mount in /dev/dri If you discover the package needed in the alpine repos for this gpu feel free to post it, I don't have any broadcom stuff.
Thank you for commenting back. I have tried both with and without /dev/dri. I will remove it again. I'm not sure how to find that. Is there something I can look for to identify what's needed?
I don't have a pi, but I remember the boot config needs to enable the GPU as it is disabled by default. https://wiki.alpinelinux.org/wiki/Raspberry_Pi#Traditional_disk-based_(sys)_installation
The vc4 stuff, this is outside the container, but in general without dri you should be good from a rendering standpoint as it is pure cpu like other systems.
Also drop privileged that mounts in the video card as well.
I checked and those settings were already set so that part is good. YES! Turning off privileged mode has fixed it! However, what I am trying to do is have this be a desktop that I can do some coding on and to do that I need vs-code and 1password installed. vs-code needs privileged mode I believe. I just checked and I can't launch vs-code in the desktop now with privileged mode disabled.
vs-code needs seccomp unconfined unless you launch it with --no-sandbox
The privileged flag will just enable docker in the container.
https://github.com/linuxserver/docker-vscodium/blob/master/root/usr/bin/codium
In general though this makes me realize I need a flag to disable DRI3 acceleration as it might not work all the time.
Thank you this did fix it!
Is there an existing issue for this?
Current Behavior
When trying to set this up on my raspberry pi 4 Firefox and VS-Code I haven't tried anything else won't render properly. I found an old issue with something similar and it was commented to not use portainer which I was using but I have since tried it with docker-compose and have the same issue both with and without /dev/dri mounted. I have also checked for the config that was mentioned I found it on rdesktop not on webtop I assume because it my be standard now since I didn't have to change the setting it was already set properly. I will attached my compose layout
Expected Behavior
No response
Steps To Reproduce
Use the config I provided above. Open Kasmvnc in another browser and then once on the ubuntu desktop open Firefox.
Environment
CPU architecture
arm64
Docker creation
Container logs