wimpysworld / desktopify

Convert Ubuntu Server for Raspberry Pi into a Desktop
https://www.youtube.com/watch?v=umtZuUJOU38
MIT License
520 stars 89 forks source link

Bug: Desktopify doesn't enable the OpenGL compositing in browsers (KMS/FKMS) by default (Xubuntu) #56

Open pseudofunizer opened 4 years ago

pseudofunizer commented 4 years ago

A small glitch that may cause a bit of head-scratching for newcomers; you need to enable the OpenGL / acceleration manually in Firefox and Chromium (otherwise the whole KMS/FKMS tweak does not give any performance benefit.)

Desktopify installation seems not to do these configs by default, at least on Xubuntu.


As described in Dedoimedo's configuration instructions: https://www.dedoimedo.com/computers/rpi4-ubuntu-mate-hw-video-acceleration.html :

Firefox:

To override, go to about:config, and search for the following key:

layers.acceleration.force-enabled

And toggle it to true.

Chromium:

Similarly, if you choose to use Chromium, it will initially report no HW acceleration under chrome://gpu. We can change that through chrome://flags. What you want is Override software rendering list, and change the setting to Enabled.


Those two are the workaround(s) for now, but I wonder if there's a way to set those parameters using a bash script?

Other than those two and the PulseAudio glitch that I mentioned in another post on issues (see: https://github.com/wimpysworld/desktopify/issues/55 ), the Desktopify for Xubuntu seems to be working just great! Video playback especially on Firefox enhanced significantly after I got the layers.acceleration.force-enabled set to true.

Keep up the good work, all the best.