Tag Archives: gnome-shell

gnome-shell missing characters and display corruption with Xorg and radeon

After connecting an external monitor to the HDMI port of my laptop (featuring an AMD/ATI Mobility Radeon HD 5470 graphics card with 512 MB video memory, interfaced by Xorg’s open-source radeon driver), the title bar of gnome-shell version 3.6.2 was missing letters

gnome-shell corrupted title bar radeon xorg

The gnome-shell’s title bar is missing letters on the external monitor.

Sometimes, even the entire display was heavilly corrupted. Interestingly, restarting the gnome-shell

ALT-F2 + 'r'

resolved the problems in all cases. Researching the problem turned out to be quite cumbersome, given that the zoo of graphic related bugs is quite tremendous. Finally, this post here brought me onto the right track.

Video Memory vs. GART/GTT Memory

Typically, a graphics card is equipped with memory, the so called video memory. In my case, this amounted to 512 MegaBytes. Apart from its internal memory, the graphics card is given direct access to system memory (RAM). The RAM assigned to the graphics card is called GART or GTT memory. Its size is set by the kernel module and can be obtained from dmesg,

dmesg | grep GTT

and is usually set to the video memory size by default:

[    2.3462] [drm] radeon: 512M of GTT memory ready.

The Xorg server inherits the kernel module’s settings (plus/minus epsilon), as the output of

cat /var/log/Xorg.0.log | grep gart


[    24.201] (II) RADEON(0): mem size init: gart size :1fdff000 vram size: s:20000000 visible:fba0000

Please note that 0x1fdff000 / (1024*1024) = 510 MegaBytes.

A Solution to the Problem

Providing more GART/GTT memory to the graphics card solves the problem. This can be achieved by either adding


to the kernel boot command-line or by configuring a permanent parameter for the kernel’s radeon module. This is done by creating a file called radeon.conf or similar in


and adding a single line

options radeon gartsize=1024

to this file. Finally note that on Debian-based systems you must run

sudo update-initramfs -u

after adding a file to /etc/modprobe.d.

Ubuntu 12.04 LTS Precise Pangolin – gnome-shell does not start

After activating the Screen Keyboard in the Typing tab of the Universal Access dialog in System Settings, my Gnome Shell display freezed. After restarting the X server and logging into my account, the Gnome Shell refused to load. I ended up staring at the default background image and after a while, apport proposed to submit a bug report about a crash in gnome-shell (due to XML input).

In .xsession-errors, I found another hint, that gnome-shell crashed (mind the last line!)

gnome-session[2146]: WARNING: Application 'gnome-shell.desktop' killed by signal
gnome-session[2146]: WARNING: Application 'gnome-shell.desktop' killed by signal
gnome-session[2146]: WARNING: App 'gnome-shell.desktop' respawning too quickly
gnome-session[2146]: CRITICAL: We failed, but the fail whale is dead. Sorry....

and dmesg hinted at a problem in XML input just as apport suggested,

gnome-shell: segfault at 0 ip 00007f5aefcda85e sp 00007fff17afac60 error 4 in libxml2.so.2.7.8[7f5aefc8d000+151000]
gnome-shell: segfault at 1f730a0 ip 0000000001f730a0 sp 00007fffce54ffc8 error 15

Suspecting that the activated screen keyboard is the problem, start a Gnome Classic (No Effects) session. For this, click on the small wheel icon in the top right corner of your login box. In Gnome Classic, revert your screen keyboard settings in the system settings dialog and deactivate the screen keyboard.

This will let you login to the Gnome Shell again.