All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
@ 2010-11-22 19:23 bugzilla-daemon
  2010-11-22 20:26 ` [Bug 31841] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 19:23 UTC (permalink / raw)
  To: dri-devel

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

           Summary: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
           Product: DRI
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: discardi.nicola@gmail.com


Hi when i try to use wayland compositor with opensource driver  i see the
following error :

radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.

and dmesg show :

[  559.581198] Forbidden register 0x43E0 in cs at 1
[  559.581204] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[  559.589396] Forbidden register 0x43E0 in cs at 1
[  559.589401] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


the problem with is with default ubuntu 10.10 kernel / driver / mesa  and with
latest  xserver-xorg-video-ati_6.13.99+git20101120.7ad1f015  / kernel
2.6.37-git3 / libgl1-mesa-dri_7.10.0+git20101118.3dcc3153

my video card is a ATI Technologies Inc Redwood [Radeon HD 5600 Series]

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
@ 2010-11-22 20:26 ` bugzilla-daemon
  2010-11-22 20:47 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 20:26 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Alex Deucher <agd5f@yahoo.com> 2010-11-22 12:26:28 PST ---
Looks like a problem with your setup.  It appears you are using the r300 3D
driver rather than the r600 3D driver.

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
  2010-11-22 20:26 ` [Bug 31841] " bugzilla-daemon
@ 2010-11-22 20:47 ` bugzilla-daemon
  2010-11-22 20:49 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 20:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from diska <discardi.nicola@gmail.com> 2010-11-22 12:47:43 PST ---
glxinfo | grep -i opengl

OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (REDWOOD 68C1) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
OpenGL extensions:


grep driver /var/log/Xorg.0.log

RADEON(0): [DRI2]   DRI driver: r600

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
  2010-11-22 20:26 ` [Bug 31841] " bugzilla-daemon
  2010-11-22 20:47 ` bugzilla-daemon
@ 2010-11-22 20:49 ` bugzilla-daemon
  2010-11-22 20:51 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 20:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Alex Deucher <agd5f@yahoo.com> 2010-11-22 12:49:50 PST ---
egl is probably using the wrong driver.

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-11-22 20:49 ` bugzilla-daemon
@ 2010-11-22 20:51 ` bugzilla-daemon
  2010-11-22 21:06 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 20:51 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from diska <discardi.nicola@gmail.com> 2010-11-22 12:51:40 PST ---
how can i see this?

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-11-22 20:51 ` bugzilla-daemon
@ 2010-11-22 21:06 ` bugzilla-daemon
  2010-11-23 18:20 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-22 21:06 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from diska <discardi.nicola@gmail.com> 2010-11-22 13:06:54 PST ---
you think is my config problem or and mesa-egl implementation problem?

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-11-22 21:06 ` bugzilla-daemon
@ 2010-11-23 18:20 ` bugzilla-daemon
  2010-11-23 19:36 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 18:20 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from diska <discardi.nicola@gmail.com> 2010-11-23 10:20:41 PST ---
 export MESA_DEBUG=1
 export EGL_LOG_LEVEL=debug
/compositor 
libEGL debug: EGL search path is /usr/lib/egl
libEGL debug: added /usr/lib/egl/egl_gallium.so to module array
libEGL debug: added /usr/lib/egl/egl_dri2.so to module array
libEGL debug: added /usr/lib/egl/egl_glx.so to module array
libEGL debug: dlopen(/usr/lib/egl/egl_gallium.so)
libEGL info: use DRM for display 0x5
libEGL debug: searching for pipe module r300
libEGL debug: loaded /usr/lib/egl/pipe_r300.so
r300: Warning: Unknown chipset 0x68c1
libEGL debug: Failed to get KMS resources.  Disable modeset.
libEGL debug: the best driver is Gallium (score 100)
libEGL debug: searching for st module GLESv2
libEGL debug: loaded /usr/lib/egl/st_GLESv2.so

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-11-23 18:20 ` bugzilla-daemon
@ 2010-11-23 19:36 ` bugzilla-daemon
  2010-11-23 19:51 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 19:36 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Benjamin Franzke <benjaminfranzke@googlemail.com> 2010-11-23 11:36:58 PST ---
diska is using egl_gallium which differentiates between r300 and r600 in
drm-mode using the function "is_r3xx" provided by
winsys/radeon/drm/radeon_drm.h

This function just checks a range of pci ids, the evergreen ids lay in the
range:
static INLINE boolean is_r3xx(int pciid)
{
    return (pciid > 0x3150) && (pciid < 0x796f);
}

Thats why state_trackers/egl/drm/native_drm.c loads pipe_r300.

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-11-23 19:36 ` bugzilla-daemon
@ 2010-11-23 19:51 ` bugzilla-daemon
  2010-11-23 19:53 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 19:51 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from diska <discardi.nicola@gmail.com> 2010-11-23 11:51:15 PST ---
my pciid is 68c1

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-11-23 19:51 ` bugzilla-daemon
@ 2010-11-23 19:53 ` bugzilla-daemon
  2010-11-23 20:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 19:53 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from diska <discardi.nicola@gmail.com> 2010-11-23 11:53:26 PST ---
68c1  Redwood [Radeon HD 5600 Series]

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-11-23 19:53 ` bugzilla-daemon
@ 2010-11-23 20:01 ` bugzilla-daemon
  2010-11-23 20:21 ` bugzilla-daemon
  2010-11-23 20:34 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 20:01 UTC (permalink / raw)
  To: dri-devel

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

diska <discardi.nicola@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|DRI                         |Mesa
            Version|unspecified                 |git
          Component|DRM/Radeon                  |Drivers/DRI/Radeon

--- Comment #10 from diska <discardi.nicola@gmail.com> 2010-11-23 12:01:39 PST ---
the problem is in mesa drm code 

mesa/src/gallium/winsys/radeon/drm/radeon_drm.h

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (9 preceding siblings ...)
  2010-11-23 20:01 ` bugzilla-daemon
@ 2010-11-23 20:21 ` bugzilla-daemon
  2010-11-23 20:34 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 20:21 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <agd5f@yahoo.com> changed:

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

--- Comment #11 from Alex Deucher <agd5f@yahoo.com> 2010-11-23 12:21:01 PST ---
Should be fixed in:
ed8b5fb24e098c97a7618a76aab783883f331625

-- 
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] 13+ messages in thread

* [Bug 31841] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
  2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
                   ` (10 preceding siblings ...)
  2010-11-23 20:21 ` bugzilla-daemon
@ 2010-11-23 20:34 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-11-23 20:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from diska <discardi.nicola@gmail.com> 2010-11-23 12:34:42 PST ---
it work for me

-- 
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] 13+ messages in thread

end of thread, other threads:[~2010-11-23 20:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 19:23 [Bug 31841] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! bugzilla-daemon
2010-11-22 20:26 ` [Bug 31841] " bugzilla-daemon
2010-11-22 20:47 ` bugzilla-daemon
2010-11-22 20:49 ` bugzilla-daemon
2010-11-22 20:51 ` bugzilla-daemon
2010-11-22 21:06 ` bugzilla-daemon
2010-11-23 18:20 ` bugzilla-daemon
2010-11-23 19:36 ` bugzilla-daemon
2010-11-23 19:51 ` bugzilla-daemon
2010-11-23 19:53 ` bugzilla-daemon
2010-11-23 20:01 ` bugzilla-daemon
2010-11-23 20:21 ` bugzilla-daemon
2010-11-23 20:34 ` 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.