Help Changing Default Depth to 16 [SOLVED]

So, I got Ubuntu MATE 16.04 installed and running on my PowerBook G4 with a Radeon 9700 GPU. However, it appears I have no 3D acceleration. When I input glxgears into the terminal, I get this return:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: r300
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Error: couldn’t get an RGB, Double-buffered visual

I have the following set as a yaboot startup parameter:

image=/vmlinux
label=Linux
read-only
initrd=/initrd.img
append=“Linux radeon.modeset=1 video=offb:off video=radeonfb:off video=1280x854-32 radeon.agpmode=-1”

While searching for a solution, I was directed to this bug report:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949

The gist of it is, I need to edit my xorg.conf file to make the default depth 16. Problem is, there is no xorg.conf file. I have no idea where to go from here. Any help would be greatly appreciated.

Did you check the Additional Hardware tool?:

First thing I always check. Wish it was that simple.

Create an /etc/X11/xorg.conf skeleton:

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 16
EndSection
2 Likes

Do I just open a blank Pluma file and make it just like that and save it in /etc/X11? What do I put for “Default Screen?” “Configured Monitor?” “Configure Video Device?” Seriously, I have no idea.

I shall try to help you:
Open a terminal window: ctrl+alt+t
copy this sentence: sudo nano /etc/X11/xorg.conf
in terminal, press shift+ctrl+v to paste the sentence
press enter
then copy this (all at once):
Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
DefaultDepth 16
EndSection

in terminal, press shift+ctrl+v to paste the section
Finally, remember to save (ctrl+o) and exit (ctrl+x),

I just did this my self, I have a Powerbook with Radeon 9700 as well.

2 Likes

cgaustad,

Thank you, thank you THANK YOU!!! :sweat_smile:

You are very welcome! Glad to be of assistance!

Have a look at this blog post; It is very helpful. I managed to get sound working for a start:

It is for Debian Linux, but most of the commands are applicable to Ubuntu.

1 Like

Hi guys,

I'm struggling with the same topic and i've tried to apply the steps from above, but without success.
I'm working on 18.04 in Docker environment and i got a display opened with Xvfb. When i create the xorg.conf file the color depth remains the same.

I need to change the depth but without closing the window or rebooting the device.

Any idea ?