Wayland with radeon-KMS pageflipping

Sedat Dilek sedat.dilek at googlemail.com
Sun Oct 31 02:36:22 PDT 2010


I made a 2nd wayland build:

OK, there is definitely a problem with $DISPLAY,
if I use a different one (for example DISPLAY=:1.0), I get "failed to
create compositor".
If I want to use DISPLAY=:0.0, the error-message is "failed to
initialize display" ending with a Segmentation fault.

Having a look into dmesg:
[   61.979227] lt-compositor[1702]: segfault at 30 ip 0804db9e sp
bf8d2bd0 error 4 in lt-compositor[8048000+a000]

That's saying not much to me.

How can I dig deeper into the problem?

Use and create packages with debug symbols I guess?
For mesa I know there is --debug.
Enable debug-build for cairo-gl and wayland?

Any suggestions for Linux kernel-config parameters to better debug Wayland?

- Sedat -


$ echo $DISPLAY
:0.0

$ cd $HOME/src/wayland/wayland/compositor

$ LC_ALL=C ; LIBGL_DRIVERS_PATH=/opt/wayland/lib/dri DISPLAY=:1.0
./compositor -b ../../backgrounds/dscn1843.jpg
failed to create compositor

$ LC_ALL=C ; LIBGL_DRIVERS_PATH=/opt/wayland/lib/dri DISPLAY=:0.0
./compositor -b ../../backgrounds/dscn1843.jpg
failed to initialize display
Segmentation fault

$ dmesg | tail -10
[   21.151574] Bluetooth: RFCOMM socket layer initialized
[   21.151577] Bluetooth: RFCOMM ver 1.11
[   21.156060] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   21.156064] Bluetooth: BNEP filters: protocol multicast
[   21.350328] Bluetooth: SCO (Voice Link) ver 0.6
[   21.350333] Bluetooth: SCO socket layer initialized
[   29.904036] wlan0: no IPv6 routers present
[   61.979227] lt-compositor[1702]: segfault at 30 ip 0804db9e sp
bf8d2bd0 error 4 in lt-compositor[8048000+a000]
[  152.636425] lt-compositor[1768]: segfault at 30 ip 0804db9e sp
bf9e7f30 error 4 in lt-compositor[8048000+a000]
[  197.229767] lt-compositor[1803]: segfault at 30 ip 0804db9e sp
bffb9330 error 4 in lt-compositor[8048000+a000]


More information about the wayland-devel mailing list