jlesage / docker-firefox

Docker container for Firefox
MIT License
1.4k stars 266 forks source link

[Feature request] Hardware acceleration for Intel I-GPU #191

Open cfouche3005 opened 1 year ago

cfouche3005 commented 1 year ago

Idea

Is it possible to add support for gpu like the Linuxserver Image by passing /dev/dri ?

jlesage commented 11 months ago

Yes it should work, but it is not... I'm trying to see why.

cfouche3005 commented 9 months ago

Sorry to come back like this but is there any news ? I have retried with the latest version and used the configuration options in this issue but no luck.

jlesage commented 9 months ago

From what I understand, the hardware acceleration is done through the X server. The X server in the image doesn't support hardware acceleration currently. I'm trying to see if Firefox can use another method.

cfouche3005 commented 9 months ago

This is also what i have concluded after searching about the different components of the image.

amcco1 commented 9 months ago

Following this also, looking for hardware acceleration as well as audio to be able to watch videos within it.

cfouche3005 commented 7 months ago

I come back after I stumbled on this : Cage which is a kiosk wayland compositor (that support gpu). This could be used in association with Wayvnc. Both of them are in alpine repos (Cage and Wayvnc) so no need to build them. This might be like a whole V2 of this project but I leave it there is you want to comment on it.

IgitBuh commented 4 months ago

Just stumbled upon this issue. Is this the reason why WebGL might not be working at the moment? In my understanding WebGL should at least be working slowly without it (which it doesn't: https://github.com/jlesage/docker-firefox/issues/54). But maybe enabling hardware acceleration would automatically solve this as well?