OpenGL app crashes randomly with 'drmRadeonCmdBuffer: -12'
http://bugs.freedesktop.org/show_bug.cgi?id=23993
Juhana Uuttu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--- Comment #5 from Juhana Uuttu <[email protected]> 2010-01-09 05:07:08 PST --- I just bumped into this while playing Quake Live. Since it runs through Firefox (and it's variants), the crash takes the browser with it - which isn't nice.
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] libdrm-2.4.12
mesa-7.5.1
xorg-server-1.6.3
xf86-video-ati-6.12.2
kernel-2.6.32.2
drmRadeonCmdBuffer: -12
(icecat-bin:1844): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'
(icecat-bin:1844): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
icecat-bin: page allocation failure. order:4, mode:0x40d0
Pid: 2139, comm: icecat-bin Not tainted 2.6.32.2 #1
Call Trace: [<c014ce6d>] ? 0xc014ce6d [<c014cebb>] ? 0xc014cebb [<e1191ca8>] ? 0xe1191ca8 [<c0118b01>] ? 0xc0118b01 [<c038dc60>] ? 0xc038dc60 [<c0118b01>] ? 0xc0118b01 [<c010e31b>] ? 0xc010e31b [<c0137ecb>] ? 0xc0137ecb [<c0138ca5>] ? 0xc0138ca5 [<c0138d56>] ? 0xc0138d56 [<c01321aa>] ? 0xc01321aa [<c03e4a02>] ? 0xc03e4a02 [<e0868b4e>] ? 0xe0868b4e [<c01293aa>] ? 0xc01293aa [<e0868e36>] ? 0xe0868e36 [<e0866360>] ? 0xe0866360 [<e08664a9>] ? 0xe08664a9 [<e1191b97>] ? 0xe1191b97 [<c03e347e>] ? 0xc03e347e [<c03871b7>] ? 0xc03871b7 [<c016911f>] ? 0xc016911f [<c0173418>] ? 0xc0173418 [<c017394c>] ? 0xc017394c [<c0134c11>] ? 0xc0134c11 [<c0134d4b>] ? 0xc0134d4b [<c01739af>] ? 0xc01739af [<c0102955>] ? 0xc0102955
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 0
active_anon:42068 inactive_anon:42134 isolated_anon:0
active_file:15136 inactive_file:14967 isolated_file:0 unevictable:1 dirty:0 writeback:0 unstable:0
free:1839 slab_reclaimable:1326 slab_unreclaimable:1393 mapped:10564 shmem:581 pagetables:573 bounce:0
DMA free:2028kB min:84kB low:104kB high:124kB active_anon:2120kB inactive_anon:2288kB active_file:2928kB inactive_file:2160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:52kB slab_unreclaimable:56kB kernel_stack:0kB pagetables:4kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 492 492 492
Normal free:5328kB min:2792kB low:3488kB high:4188kB active_anon:166152kB inactive_anon:166248kB active_file:57616kB inactive_file:57708kB unevictable:4kB isolated(anon):0kB isolated(file):0kB present:503872kB mlocked:4kB dirty:0kB writeback:0kB mapped:42256kB shmem:2324kB slab_reclaimable:5252kB slab_unreclaimable:5516kB kernel_stack:524kB pagetables:2288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 3*4kB 40*8kB 2*16kB 2*32kB 17*64kB 4*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2028kB
Normal: 1116*4kB 50*8kB 9*16kB 2*32kB 4*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 5328kB
34450 total pagecache pages
3762 pages in swap cache
Swap cache stats: add 39475, delete 35713, find 42078/43867
Free swap = 993604kB
Total swap = 1052216kB
131040 pages RAM
0 pages HighMem
2336 pages reserved
45231 pages shared
104783 pages non-shared
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #6 from Rafał Mużyło <[email protected]> 2010-01-09 06:08:53 PST --- I think there's some inefficiency in a way r300_dri.so
frees memory, compared to swrast_dri.so.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #7 from Dennis Nezic <[email protected]> 2010-01-10 15:14:16 PST --- With 2.6.33-rc3, the problem still exists but the crash error is slightly more descriptive :s..
"drmRadeonCmdBuffer: -12. Kernel failed to parse or rejected command stream. See dmesg for more info."
(P.S. If I run the offending program from an xterm, for example, by the way, it also crashes the xterm window and I have to kill it.)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #8 from Alex Deucher <[email protected]> 2010-01-11 06:51:48 PST --- Does mesa from git master or the 7.7 branch work any better? This commit might help:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=554043bff72ced41b2a5e03e61cbc087bb41bd3d
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #9 from Rafał Mużyło <[email protected]> 2010-01-11 09:19:59 PST --- By now, I'm on 7.7 and this single patch
doesn't seem to help.
Now it's
xorg-server 1.7.4
kernel 2.6.32
libdrm-2.4.17
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #10 from Dennis Nezic <[email protected]> 2010-01-13 16:53:54 PST --- Any other bright ideas?
(I tried compiling older versions of xf86-video-ati, but they don't seem to be compatible with the new xorg-server's, complaining about "xf86Resources.h: No such file or directory".)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #11 from James Broadhead <[email protected]> 2010-01-21 06:29:35 PST --- Created an attachment (id=32755)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32755)
dmesg output (jamesbroadhead)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #12 from James Broadhead <[email protected]> 2010-01-21 06:31:28 PST --- Created an attachment (id=32756)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32756)
xorg log (jamesbroadhead)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #13 from James Broadhead <[email protected]> 2010-01-21 06:34:10 PST --- Seeing this as well, running xbmc initially, but tested with extreme-tuxracer with the same effects.
Environment:
gentoo x86 2.6.31-gentoo-r6
media-tv/xbmc-9.11-r1 (Confluence skin, no unusual plugins/scripts)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
media-libs/mesa-7.5.2
x11-base/xorg-server-1.6.5-r1
x11-drivers/xf86-video-ati-6.12.4
x11-libs/libdrm-2.4.15
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #14 from Dennis Nezic <[email protected]> 2010-01-21 06:40:04 PST --- Are there any NON-gentoo users seeing this bug? :P
(Just to throw in a few more stats, I'm running vanilla kernel sources 2.6.33_rc3, and my vcard is: RADEON(0): Chipset: "ATI Mobility Radeon X700 (M26) (PCIE)" (ChipID = 0x5653) )
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #15 from Dennis Nezic <[email protected]> 2010-01-21 06:44:26 PST --- Are there any NON-gentoo users seeing this bug? :P
(Just to throw in a few more stats, I'm running vanilla kernel sources 2.6.33_rc3, and my vcard is: RADEON(0): Chipset: "ATI Mobility Radeon X700 (M26) (PCIE)" (ChipID = 0x5653) )
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
James Broadhead <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #16 from James Broadhead <[email protected]> 2010-01-21 06:47:19 PST --- (In reply to comment #14)
Quoted 6 lines
Are there any NON-gentoo users seeing this bug? :P
(Just to throw in a few more stats, I'm running vanilla kernel sources 2.6.33_rc3, and my vcard is: RADEON(0): Chipset: "ATI Mobility Radeon X700 (M26) (PCIE)" (ChipID =
0x5653) )
Here's an example of it on a debian system. There are more mentions on some other mailing lists.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563257
This bug report seems to cover this and another problem;
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/446674
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #17 from James Broadhead <[email protected]> 2010-01-21 06:49:55 PST --- ... and the ubuntu bug leads me to this :
https://bugs.freedesktop.org/show_bug.cgi?id=24414
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #18 from James Broadhead <[email protected]> 2010-01-22 07:52:26 PST --- Just updated my system to see if it would go away, problem still exists. (although it seems to take longer to happen now both with xbmc and extreme-tuxracer)
media-libs/mesa-7.7-r1
x11-base/xorg-server-1.7.4
x11-drivers/xf86-video-ati-6.12.4-r1
x11-libs/libdrm-2.4.17
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #19 from James Broadhead <[email protected]> 2010-01-22 07:54:04 PST --- Created an attachment (id=32763)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32763)
syslog with updated system (jamesbroadhead)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #20 from Dennis Nezic <[email protected]> 2010-01-25 09:33:39 PST --- That bug report referenced in Comment #17 suggests that downgrading mesa gets rid of the bug, I tried compiling many many git snapshots from the current 2010-Jan "1.5 Mesa 7.8-devel" all the way back to 2008-Dec "1.3 Mesa 7.3-devel", and all the builds had this bug. (I'm not sure if I can compile versions much older than that -- they complain about something regarding swrast.) So, I don't think it's a mesa problem.
I also have problems compiling older versions of xf86-video-ati :|.
Do the developers not have this bug? (I find the more graphics-intensive the opengl ap, like a huge q3 map, the sooner / more likely it will crash.)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #21 from Pauli <[email protected]> 2010-01-27 02:40:42 PST --- Problem here is kernel part of radeon driver which tries to allocate more than one continues memory page which gets very hard under memory presure. So fix should go to kernel that it allocates only single non-continues memory pages.
Possible work arounds for users are:
1. Free all possible memory so kernel has enough continues free pages for radeon driver.
2. Downgrade kernel to 2.6.29(?). I'm not exactly sure if that was the last version which used old kernel driver without this bug.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #22 from Rafał Mużyło <[email protected]> 2010-01-27 06:11:16 PST --- While comment 21 sounds like the real reason,
neither 1. nor 2. seems a good solution.
1. doesn't solve anything and kernel downgrade
seems a bad idea.
However if that the real problem, what are the chances of getting it fixed by 2.6.34 (as 2.6.33 is probably out of the question now) ?
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #23 from Rafał Mużyło <[email protected]> 2010-01-27 06:34:40 PST --- Unless we're lucky and it's only this commit, that creates problems:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6abf66018f7fe231720e50f9a47b142182388869
Due to KMS migration, it's really hard to tell, what could be the real reason, as this is one of the dirs with most of the changes.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #24 from Rafał Mużyło <[email protected]> 2010-01-27 06:40:39 PST --- Sorry for the noise: comment 23 was a silly idea
- that commit is probably off-topic here.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #25 from Pauli <[email protected]> 2010-01-29 06:27:49 PST --- Created an attachment (id=32899)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32899)
Possible fix. Only tested with r200 card!
Attached patch applies to current development kernel from Linus' tree (2.6.33-rc5 should work too).
If you know how to compile your own kernel you can apply that patch to vanila kernel source and tes if it fixes problems for you. But notice that this only affects old kernel driver code and new KMS code is not changed anyway. If you have same dmesg error messange with KMS it is different bug.
I tested patch shortly with r200 card (radeon 9200). Sauerbraten and compiz did run without crashing.
IMPORTANT: I can't test r300-r500 (radeon 9500-x1950) code path so you must be extra carefull with those cards. Kernel might crash or corrupt memory if there is any hiden bugs which may destroy your data or eat your pet. But if you are still willing to test with one those cards I'm happy to hear about any errors you might see.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #26 from Rafał Mużyło <[email protected]> 2010-01-29 17:47:04 PST --- (In reply to comment #25)
Well, it's r300 for me and that comment makes me
oh-so-confident.
Could somebody verify the correctness of that code for my model ?
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #27 from Thomas Schwarzgruber <[email protected]> 2010-01-30 12:55:29 PST --- I tested this possible fix and first of all: it seems to work now, at least I haven't experienced any problems yet.
More information:
I have here a radeon 9600 Mobility .. this is some sort of r300.
The kernel I patched is the SuSe Kernel of 11.2 -- this is some 2.6.31 with those Suse patches applied -- and this patch applied cleanly (just some hunks..)
I rebuilt only the radeon module and as it seems it works now for me!
Thx for the patch, now the occasional Urban Terror game is enjoyable again!
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #28 from Rafał Mużyło <[email protected]> 2010-01-31 19:03:20 PST --- So I went and tested that patch.
No luck, right at the start:
[drm:r300_do_cp_cmdbuf] *ERROR* bad cmd_type 0 at byte 1220
in the syslog and app goes bye-bye.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #29 from Pauli <[email protected]> 2010-02-01 02:22:34 PST --- Thanks for testing.
Can you reproduce the bug? If yes then booting with drm.debug=1 kernel parameter and providing dmesg log showing what is going wrong in command stream parsing would help fixing the bug.
PS. The patch affects drm.ko and radeon.ko so both of them has to be installed if you only build the module instead of the full kernel.
--- Comment #28 from Rafał Mużyło <[email protected]> 2010-01-31 19:03:20 PST
Quoted 9 lines
---
So I went and tested that patch.
No luck, right at the start:
[drm:r300_do_cp_cmdbuf] *ERROR* badcmd_type0 at byte 1220 in the syslog and app goes bye-bye.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #30 from Thomas Schwarzgruber <[email protected]> 2010-02-01 03:39:10 PST --- Im sorry, your patch also doesn't work for me -- i see the same error as Rafał now.
I hadn't checked before if the correct kernel module was loaded.
So now I have rebuilt and loaded the correct modules drm.ko and radeon.ko, and the problem is simply reproduceable by running glxgears for instance.
To help you debug I loaded the drm module with debug=1 and got the log which I will attach. Note: After loading this module produces a lot of debug messages, I skipped a lot of the standard messages in the beginning, and the log stops with the error, that appears when running glxgears (Nothing interesting happens after that ...).
If I can provide more infos, I would be glad to help.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=23993
--- Comment #31 from Thomas Schwarzgruber <[email protected]> 2010-02-01 03:42:32 PST --- Created an attachment (id=32963)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32963)
Log produced by drm.debug=1
This log shows the messages produced by the patched drm and radeon modules. The log ends with the error that occurs when running "glxgears".
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --
http://bugs.freedesktop.org/show_bug.cgi?id=23993
Pauli <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32899|0 |1
is obsolete| |
AssignedTo|dri- |[email protected]
|[email protected] |
Status|NEW |ASSIGNED--- Comment #32 from Pauli <[email protected]> 2010-02-01 03:56:13 PST --- Created an attachment (id=32964)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32964)
Second try to fix the memory allocation. Still needs r300 testing.
Thanks for log. It helped locating the error. I hadn't conerted the old OUT_RING_TABLE to new OUT_RING_CMD_BUFFER macro.
I also reviewed the changes again and found another bug too which fixed in this patch too.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --