How can I disable hardware acceleration for the system?

I need to completely disable hardware acceleration for the system. I'm using zorin lite...
thanks!

Create a new file:

sudo nano /etc/X11/xorg.conf.d/disable-gpu.conf

Paste this into it:

Section "Extensions"
    Option "GLX" "Disable"
EndSection

Tap ctrl+x to exit, then the y key to say yes to save, then teh enter key to save and exit.
Reboot to test.

1 Like

no xorg.conf.d folder. do i have to create one??

Yes, you must create the file.

the folder xorg.conf.d didn't exist, so i created it. now i'll reboot and see

rebooted. i saw only the desktop. so, i disabled compiz(control alt t for terminal and xfwm4 --replace)
but how to use compiz even without glx?

You meant xorg, right?

yes yes

I am not sure, actually... I have not really faced this issue before.

Why do you want to disable hardware acceleration.

firefox or brave run smoothly with hardware acceleration disabled.
but if i run, like, 2 brave tab, discord(no hardware acc.), and element(i can't disable it here), it lags, so much.
because 1 app is using hardware acc.

You should just disable acceleration in the browser, then.

Unmake that file you made earlier...

See if this works in Brave:

yes, but i need to disable it on apps that don't have this setting, such as element, spotify, so i'll keep it disabled and mark your post as solution...
Thanks!!