All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream
@ 2011-11-05 13:32 bugzilla-daemon
  2011-11-07 15:38 ` [Bug 42622] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-05 13:32 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 42622
           Summary: [mesa] [r300] mupen64plus invalid command stream
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: yoshi314@gmail.com


I've just built mupen64 plus emulator and it crashed after a few seconds (after
emulator intro screen).

When running it, i get something like this :

Core: R4300: starting 64-bit dynamic recompiler at: 0xbc0200
radeon: The kernel rejected CS, see dmesg for more information.

inspecting dmesg gives this output:

[ 4250.120602] [drm:r100_cs_packet_next_reloc] *ERROR* No packet3 for
relocation for packet at 1140.
[ 4250.120607] [drm] ib[1140]=0x000013C6
[ 4250.120609] [drm] ib[1141]=0x00000001
[ 4250.120611] [drm:r100_packet3_load_vbpntr] *ERROR* No reloc for packet3 47
[ 4250.120613] [drm] ib[1131]=0xC0052F00
[ 4250.120615] [drm] ib[1132]=0x00000003
[ 4250.120617] [drm] ib[1133]=0x0A020804
[ 4250.120618] [drm] ib[1134]=0x103A0980
[ 4250.120620] [drm] ib[1135]=0x00000000
[ 4250.120622] [drm] ib[1136]=0x00000A02
[ 4250.120623] [drm] ib[1137]=0x00000000
[ 4250.120625] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


the same behavior is on current mesa git.

hardware is RV515 (x1300 pro) on 64bit system. 

i'd like to know if that's a program issue, or mesa bug?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [mesa] [r300] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
@ 2011-11-07 15:38 ` bugzilla-daemon
  2011-11-07 15:41 ` [Bug 42622] [r300g] " bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-07 15:38 UTC (permalink / raw)
  To: dri-devel

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/r300            |Drivers/Gallium/r300

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
  2011-11-07 15:38 ` [Bug 42622] " bugzilla-daemon
@ 2011-11-07 15:41 ` bugzilla-daemon
  2011-12-18 21:27 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-07 15:41 UTC (permalink / raw)
  To: dri-devel

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[mesa] [r300] mupen64plus   |[r300g] mupen64plus invalid
                   |invalid command stream      |command stream

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
  2011-11-07 15:38 ` [Bug 42622] " bugzilla-daemon
  2011-11-07 15:41 ` [Bug 42622] [r300g] " bugzilla-daemon
@ 2011-12-18 21:27 ` bugzilla-daemon
  2011-12-18 21:31 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-12-18 21:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Scott Moreau <oreaus@gmail.com> 2011-12-18 13:27:37 PST ---
I am having the same issue with r300g on rv350 (Radeon 9600). m64+ segfaults
with this output:

Core: Starting R4300 emulator: Dynamic Recompiler
radeon: The kernel rejected CS, see dmesg for more information.
Segmentation fault

The relevant portion from dmesg:

[ 5295.048418] [drm:r100_cs_packet_next_reloc] *ERROR* No packet3 for
relocation for packet at 1044.
[ 5295.048425] [drm] ib[1044]=0x000013C6
[ 5295.048427] [drm] ib[1045]=0x00000001
[ 5295.048430] [drm:r100_packet3_load_vbpntr] *ERROR* No reloc for packet3 47
[ 5295.048433] [drm] ib[1037]=0xC0032F00
[ 5295.048436] [drm] ib[1038]=0x00000002
[ 5295.048438] [drm] ib[1039]=0x0A020804
[ 5295.048441] [drm] ib[1040]=0xC0213700
[ 5295.048443] [drm] ib[1041]=0x00000000
[ 5295.048446] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

This happens with latest mesa git master.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-12-18 21:27 ` bugzilla-daemon
@ 2011-12-18 21:31 ` bugzilla-daemon
  2011-12-19  5:43 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-12-18 21:31 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Fabio Pedretti <fabio.ped@libero.it> 2011-12-18 13:31:44 PST ---
Which kernel version do you have?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-12-18 21:31 ` bugzilla-daemon
@ 2011-12-19  5:43 ` bugzilla-daemon
  2011-12-19  5:48 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-12-19  5:43 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Scott Moreau <oreaus@gmail.com> 2011-12-18 21:43:34 PST ---
Created attachment 54566
  --> https://bugs.freedesktop.org/attachment.cgi?id=54566
patch

I went ahead and bisected mesa. Here's what I came up with:

12fa91b6753dccbd3aa12c570d1f1e55c7dc0582 is the first bad commit
commit 12fa91b6753dccbd3aa12c570d1f1e55c7dc0582
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Mar 7 11:24:43 2011 +0100

    st/mesa: Fix an incorrect user vertex buffer reference

    st->user_vb[attr] was always pointing to the same user vb, regardless
    of the value of attr. Together with reverting the temporary workaround
    for bug 34378, and a fix in the svga driver, this fixes googleearth on
svga.

    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

:040000 040000 ca575588faeb8fe79c3d768ff28a7a808a64afac
2b9a78c9034e26ee411981d8d0cd06b72133beab M    src


The previous commit works. I've attached a patch that simply reverts the
relevant bits.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-12-19  5:43 ` bugzilla-daemon
@ 2011-12-19  5:48 ` bugzilla-daemon
  2012-03-19  9:54 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-12-19  5:48 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Scott Moreau <oreaus@gmail.com> 2011-12-18 21:48:12 PST ---
(In reply to comment #2)
> Which kernel version do you have?

I've tested on 2.6.38 and 3.0.0 both 32bit.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-12-19  5:48 ` bugzilla-daemon
@ 2012-03-19  9:54 ` bugzilla-daemon
  2012-03-19  9:56 ` bugzilla-daemon
  2012-12-05 16:14 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-19  9:54 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from kowalski marcin <yoshi314@gmail.com> 2012-03-19 02:54:21 PDT ---
the problem does not exist anymore on current mesa git and current stable
kernel.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-03-19  9:54 ` bugzilla-daemon
@ 2012-03-19  9:56 ` bugzilla-daemon
  2012-12-05 16:14 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-19  9:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from kowalski marcin <yoshi314@gmail.com> 2012-03-19 02:56:24 PDT ---
i'll try this on another set of hardware soon to make sure. i might have been a
bit hasty with that comment.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42622] [r300g] mupen64plus invalid command stream
  2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-03-19  9:56 ` bugzilla-daemon
@ 2012-12-05 16:14 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-12-05 16:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]

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

Tomasz P. <son_of_the_osiris@interia.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-12-05 16:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-05 13:32 [Bug 42622] New: [mesa] [r300] mupen64plus invalid command stream bugzilla-daemon
2011-11-07 15:38 ` [Bug 42622] " bugzilla-daemon
2011-11-07 15:41 ` [Bug 42622] [r300g] " bugzilla-daemon
2011-12-18 21:27 ` bugzilla-daemon
2011-12-18 21:31 ` bugzilla-daemon
2011-12-19  5:43 ` bugzilla-daemon
2011-12-19  5:48 ` bugzilla-daemon
2012-03-19  9:54 ` bugzilla-daemon
2012-03-19  9:56 ` bugzilla-daemon
2012-12-05 16:14 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.