radeon crashes kicad when using modeset
https://bugs.freedesktop.org/show_bug.cgi?id=29833
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Product|xorg |Mesa
Component|Driver/Radeon |Drivers/DRI/r300
AssignedTo|[email protected] |[email protected]
| |.org
QAContact|[email protected] |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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #3 from Alex Deucher <[email protected]> 2010-08-27 09:18:28 PDT --- This is most likely a 3D driver bug.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #4 from Fabio Varesano <[email protected]> 2010-08-27 10:42:57 PDT --- [fabio@gamma ~]$ uname -a
Linux gamma 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 20 22:49:24 CEST 2010 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
xorg.conf: http://sprunge.us/WKda
dmesg: http://sprunge.us/KAGh
Xorg.0.log: http://sprunge.us/hcKb
[root@gamma ~]# X -version
This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-ARCH x86_64
Current Operating System: Linux gamma 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 20 22:49:24 CEST 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz26 root=/dev/disk/by-uuid/d3e811ea-3d79-4380-9a15-7f60474ef034 ro resume=/dev/sda6 quiet
Build Date: 21 June 2010 12:01:49PM
Current version of pixman: 0.18.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
Alain Portal <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Alain Portal <[email protected]> 2010-09-02 07:30:09 PDT --- I'm not sure this bug is relative to the radeon video driver because somebody reported a similar bug with a different video card:
https://bugzilla.redhat.com/show_bug.cgi?id=592047
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #6 from Alain Portal <[email protected]> 2010-09-02 07:37:14 PDT ---
https://bugzilla.redhat.com/show_bug.cgi?id=592047#c24
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #7 from Fabio Varesano <[email protected]> 2010-10-06 08:51:18 PDT --- Guys, would you please explain me how to troubleshoot this one?
I do have programming knowledge but I need guidance on how to debug this one.
How can I check if this is a radeon bug or kicad bug or what else???
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #8 from Fabio Pedretti <[email protected]> 2010-10-06 09:11:19 PDT --- You may want to try the r300 gallium driver that should be more stable e.g. installing the mesa packages from the xorg-edgers ppa:
https://edge.launchpad.net/~xorg-edgers/+archive/ppa
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #9 from Alex Deucher <[email protected]> 2010-10-06 09:15:57 PDT --- The kernel is rejecting your command stream as invalid. The command stream is the stream of register writes produced by the 3D driver based on the GL state. The bug is either in the drm command checker in the kernel or in the mesa 3D driver. The error in your dmesg is saying that the Z buffer is enabled in the command stream, but that there is no buffer associated with it. I would guess perhaps ZB_CNTL (0x4F00) is not getting emitted as part of the command stream.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #10 from Fabio Varesano <[email protected]> 2010-10-06 14:29:04 PDT --- @Fabio Pedretti I'm running Archlinux so I'm unable to use the ppa .. how can I test it with my current config? (see my logs above for software versions)
@Alex ok.. how can I check if this is the case?
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #11 from Fabio Pedretti <[email protected]> 2010-10-07 01:55:24 PDT ---
Quoted 2 lines
@Fabio Pedretti I'm running Archlinux so I'm unable to use the ppa .. how can I test it with my current config? (see my logs above for software versions)
I think you used Ubuntu since you referenced the Ubuntu bug. You should then compile mesa 7.9 from source and replace your r300_dri.so with the new one compiled found in lib/gallium/r300_dri.so.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #12 from Fabio Varesano <[email protected]> 2010-10-08 00:57:43 PDT --- I did what Fabio suggested above. I'm not sure on how to verify that I'm actually running the gallium driver. This is my Xorg log:
http://sprunge.us/ZYiK
However, running with the gallium driver I now get this:
[fabio@gamma ~]$ pcbnew
The program 'pcbnew' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
(Details: serial 88834 error_code 9 request_code 136 minor_code 8) (Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Any idea? How can I break on the gdk_x_error() function?
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #13 from Fabio Pedretti <[email protected]> 2010-10-08 01:13:25 PDT --- To see which mesa driver you are using try:
glxinfo | grep OpenGL
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #14 from Fabio Varesano <[email protected]> 2010-10-08 01:25:05 PDT --- (In reply to comment #13)
Quoted 2 lines
To see which mesa driver you are using try:
glxinfo | grep OpenGL
[fabio@gamma ~]$ glxinfo | grep OpenGL OpenGL vendor string: X.Org R300 Project OpenGL renderer string: Gallium 0.4 on RV530 OpenGL version string: 2.1 Mesa 7.9 OpenGL shading language version string: 1.20 OpenGL extensions:
[fabio@gamma ~]$
Looks correct to me.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #15 from Alain Portal <[email protected]> 2010-10-08 10:01:29 PDT --- (In reply to comment #13)
Quoted 2 lines
To see which mesa driver you are using try:
glxinfo | grep OpenGL
Here is mine, I get the same crash
[alain@portable ~]$ glxinfo | grep OpenGL
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV515 7210) 20090101 TCL DRI2 OpenGL version string: 1.5 Mesa 7.7.1-DEVEL
OpenGL extensions:
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #16 from Alex Deucher <[email protected]> 2010-10-08 10:17:20 PDT --- (In reply to comment #10)
Quoted 1 line
@Alex ok.. how can I check if this is the case?
enable state debugging and make sure the zs and zb state atoms are getting emitted. See radeon_print_state_atom() in radeon_common.c for more info.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=29833
--- Comment #17 from Fabio Pedretti <[email protected]> 2010-10-11 02:47:42 PDT --- Note that the gallium driver only work with KMS (with radeon.modeset=0 it doesn't work).
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.
[Bug 29833] [RADEON:KMS:M56P:R300G] crashes kicad when using modeset
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29833
Jerome Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|radeon crashes kicad when |[RADEON:KMS:M56P:R300G]
|using modeset |crashes kicad when using
| |modeset--- Comment #18 from Jerome Glisse <[email protected]> 2011-02-09 07:24:46 PST --- Still an issue with more recent driver ?
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.
[Bug 29833] [RADEON:KMS:M56P:R300G] crashes kicad when using modeset
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29833
Fabio Varesano <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG--- Comment #19 from Fabio Varesano <[email protected]> 2011-02-09 08:30:59 PST --- (In reply to comment #18)
Quoted 1 line
Still an issue with more recent driver ?
Nope. This was actually a bug in the program. However only some video drivers was letting this crash.
For more info see: https://bugs.launchpad.net/kicad/+bug/582997
The fix has been committed in rev 2767 if you guys are interested in what was wrong.
Thanks.
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.