Skip to contentSkip to conversation

New: r300g causes Xorg segfault with compositing enabled

Bug 27666 [email protected] 1 participant 8 messages Apr 15, 2010 – May 16, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=27666

Summary: r300g causes Xorg segfault with compositing enabled
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 27666] r300g causes Xorg segfault with compositing enabled

https://bugs.freedesktop.org/show_bug.cgi?id=27666

--- Comment #1 from Rafał Miłecki <[email protected]> 2010-04-15 13:27:06 PDT --- Please, recompile Mesa with
--enable-debug
and provide logs once again.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 27666] r300g causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

--- Comment #2 from [email protected] 2010-04-15 17:20:09 PDT --- 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 27666] r300g causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

--- Comment #3 from Marek Olšák <[email protected]> 2010-04-15 18:26:44 PDT --- Support for RS690 is on the way...

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 27666] r300g causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

--- Comment #4 from Nikolay Rysev <[email protected]> 2010-04-16 12:00:49 PDT --- Thanks for replies. Well, when can i test the support of this chip? :)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 27666] [r300g] causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|r300g causes Xorg segfault  |[r300g] causes Xorg
                   |with compositing enabled    |segfault with compositing
                   |                            |enabled

--- Comment #5 from Marek Olšák <[email protected]> 2010-05-15 21:58:43 PDT --- I think r300g should more or less work on SWTCL chipsets now. Can you test?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 27666] [r300g] causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

Nikolay Rysev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Nikolay Rysev <[email protected]> 2010-05-16 06:38:41 PDT --- 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).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 27666] [r300g] causes Xorg segfault with compositing enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27666

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         AssignedTo|[email protected] |[email protected]
                   |.org                        |

--- Comment #7 from Marek Olšák <[email protected]> 2010-05-16 07:41:09 PDT ---
1) Install the package llvm-dev
2) Compile with --enable-gallium-llvm (do make clean before it)

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel