[ Changes Subject to Success? Wayland with radeon-KMS pageflipping ]
Yay or NOT to yay :-)?
I could now run Wayland compositor (screenshot attached). The pic is as you can see crumpled.
I have attached my autogen lines, packages with GIT log information and a list of missing Debian/sid packages on my system.
$ cd wayland/compositor/
$ LC_ALL=C ; LIBGL_DRIVERS_PATH=/opt/wayland/lib/dri DISPLAY=:0.0 ./compositor r300: Warning: Unknown chipset 0x4c66 radeon: The kernel rejected CS, see dmesg for more information. radeon: The kernel rejected CS, see dmesg for more information
Funny to see that r300 is used as this a RV250 (r200).
# lsof | grep wayland bash 1797 sd cwd DIR 8,3 4096 535411 /home/sd/src/wayland/wayland/compositor bash 11663 root cwd DIR 8,5 4096 316376 /opt/wayland/lib/dri lt-compos 11880 sd cwd DIR 8,3 4096 535411 /home/sd/src/wayland/wayland/compositor lt-compos 11880 sd txt REG 8,3 151648 529154 /home/sd/src/wayland/wayland/compositor/.libs/lt-compositor lt-compos 11880 sd mem REG 8,5 14830212 261114 /opt/wayland/lib/egl/st_GL.so lt-compos 11880 sd mem REG 8,5 3591936 261111 /opt/wayland/lib/egl/pipe_r300.so lt-compos 11880 sd mem REG 8,5 1352956 261113 /opt/wayland/lib/egl/egl_gallium.so lt-compos 11880 sd mem REG 8,5 130800 261055 /opt/wayland/lib/libGLESv2.so.2.0.0 lt-compos 11880 sd mem REG 8,5 285608 261090 /opt/wayland/lib/libEGL.so.1.0 lt-compos 11880 sd mem REG 8,3 78296 529043 /home/sd/src/wayland/wayland/wayland/.libs/libwayland-server.so.0.0.0 lsof 11896 root cwd DIR 8,5 4096 316376 /opt/wayland/lib/dri grep 11897 root cwd DIR 8,5 4096 316376 /opt/wayland/lib/dri lsof 11898 root cwd DIR 8,5 4096 316376 /opt/wayland/lib/dri
Might be I have to remove r300 from my autogen line for mesa (as /opt/wayland/lib/egl/pipe_r300.so is used) :
[ CURRENT ] ./autogen.sh --prefix=/opt/wayland --with-driver=dri --with-dri-driverdir=/opt/wayland/lib/dri --with-dri-drivers=r200,r300,swrast --enable-gallium-radeon --enable-gallium-swrast --with-state-trackers=dri,glx,egl --enable-egl --enable-gles2
[ NEW ] ./autogen.sh --prefix=/opt/wayland --with-driver=dri --with-dri-driverdir=/opt/wayland/lib/dri --with-dri-drivers=r200,swrast --enable-gallium-swrast --with-state-trackers=dri,glx,egl --enable-egl --enable-gles2
[ dmesg ]
[ 7409.971451] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 7409.973475] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 7409.974565] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Hope this helps other interested people to join the long long long WAYland :-)
- Sedat -
dri-devel@lists.freedesktop.org