Xorg segfaults if i try to start any 3d app (or kwin with compositing) with KMS enabled. Classic mesa r300 works fine (KMS enabled or disabled), but slow with KMS. Arch Linux, 2.6.33.2, amd64. Video is rs690 built-in. libdrm and dri2proto from git 20100413 (there are no commits later); mesa from git 20100415 with build options: --enable-glx-tls \ --with-driver=dri \ --enable-xcb \ --enable-egl \ --enable-glu \ --enable-glut \ --enable-glw \ --enable-gallium \ --enable-gallium-radeon xf86-video-ati also from git 20100413. r300_dri.so is a symbolic link to radeong_dri.so. Backtrace: 0: /usr/bin/X (xorg_backtrace+0x28) [0x45cd68] 1: /usr/bin/X (0x400000+0x59a09) [0x459a09] 2: /lib/libpthread.so.0 (0x7f722367d000+0xeef0) [0x7f722368bef0] 3: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x1ab106) [0x7f7220142106] 4: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x1772df) [0x7f722010e2df] 5: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x17782f) [0x7f722010e82f] 6: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x175c54) [0x7f722010cc54] 7: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x2a9a9) [0x7f721ffc19a9] 8: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x18c559) [0x7f7220123559] 9: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x18a907) [0x7f7220121907] 10: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x18bb4b) [0x7f7220122b4b] 11: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x18c2b3) [0x7f72201232b3] 12: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x362aa) [0x7f721ffcd2aa] 13: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x213b5) [0x7f721ffb83b5] 14: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x145483) [0x7f72200dc483] 15: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x145bf3) [0x7f72200dcbf3] 16: /usr/lib/xorg/modules/dri/r300_dri.so (0x7f721ff97000+0x99360) [0x7f7220030360] 17: /usr/lib/xorg/modules/extensions/libglx.so (0x7f7221996000+0xf778) [0x7f72219a5778] 18: /usr/lib/xorg/modules/extensions/libglx.so (0x7f7221996000+0x31f03) [0x7f72219c7f03] 19: /usr/lib/xorg/modules/extensions/libglx.so (0x7f7221996000+0x36180) [0x7f72219cc180] 20: /usr/bin/X (0x400000+0x46194) [0x446194] 21: /usr/bin/X (0x400000+0x21aac) [0x421aac] 22: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f7222900b6d] 23: /usr/bin/X (0x400000+0x21659) [0x421659] Segmentation fault at address 0xf012659ce
Please, recompile Mesa with --enable-debug and provide logs once again.
r300g doesn't work on the RS690 or any Radeon Xpress IGP because there is no vertex shader in the hardware, and Gallium apparently doesn't work without one. I'm sure implementing a software fallback for VS processing isn't too difficult, but I sadly lack such knowledge. I also have a RS690 on my laptop running Arch x86_64, not that it matters.
Support for RS690 is on the way...
Thanks for replies. Well, when can i test the support of this chip? :)
I think r300g should more or less work on SWTCL chipsets now. Can you test?
Works fine, but slow. Thank you! Where can I ask about mesa compiling with llvm? It fails on dlopen in auxiliary/libgallium.a(u_dl.o).
1) Install the package llvm-dev 2) Compile with --enable-gallium-llvm (do make clean before it)
i had a problem with LDFLAGS, mesa with llvm not compile with default archlinux flags: "-Wl,--hash-style=gnu -Wl,--as-needed". workaround for this problem is empty LDFLAGS. // sorry for bad english Thank you!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.