Bug 25198

Summary: [R6XX] : System hard hangs on launching OpenGL application
Product: Mesa Reporter: samit vats <hysvats>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: other   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo
Xorg.log
xorg.conf
lspci
glxgears-log

Description samit vats 2009-11-20 03:40:28 UTC
Created attachment 31336 [details]
glxinfo

Details of the X-stack:
----------------------

mesa/drm           :     5th November-2009
mesa/mesa          :     7.7                                            
xorg/xserver       :     1.6.0   
xorg/xf86-video-ati:     5th November-2009


O.S.- Ubuntu-9.04-32/64
ASIC-R6XX

Steps to Reproduce:
======================
 

1) Install Phoronix-test-suite version 1.8.1 from http://www.phoronix-   test-suite.com/download.php?file=phoronix-test-suite-1.8.1
   a) untar the phoronix-test-suie
   b) #cd phoronix-test-suite
   c) #sh install.sh

2)  Install test 
   #phoronix-test-suite install video-extensions

3) #phoronix-test-suite run video-extensions


Observation:
============

System hard hangs on application launch.

Additional Info : 
1) The problem is specific to R6xx. The OpenGL application runs fine with 
   R5xx series cards.
2) For some OpenGL applications (example: norsetto-shadow), the application just fails to launch
3) glxgears crashes with the following message :  drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
Comment 1 samit vats 2009-11-20 03:41:48 UTC
Created attachment 31337 [details]
Xorg.log
Comment 2 samit vats 2009-11-20 03:42:14 UTC
Created attachment 31338 [details]
xorg.conf
Comment 3 samit vats 2009-11-20 03:42:55 UTC
Created attachment 31339 [details]
lspci
Comment 4 samit vats 2009-11-20 03:43:29 UTC
Created attachment 31340 [details]
glxgears-log
Comment 5 Alex Deucher 2009-11-20 08:21:05 UTC
You need kernel 2.6.32 for 3D support on r6xx/r7xx chips.
Comment 6 samit vats 2009-11-22 22:36:56 UTC
(In reply to comment #5)
> You need kernel 2.6.32 for 3D support on r6xx/r7xx chips.
> 

The issue is the output of "glxinfo" ( "direct rendering: Yes" &&  "OpenGL Vendor string: Advance Micro Devices,INC.") is misleading to the end user if 3D support is not there for kernel version 2.6.31 and R6xx . 

It should clearly say  direct rendering: No or Software rasterizer instead of hard hanging the end user system.
Comment 7 samit vats 2010-06-14 03:00:15 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > You need kernel 2.6.32 for 3D support on r6xx/r7xx chips.
> > 
> 
> The issue is the output of "glxinfo" ( "direct rendering: Yes" &&  "OpenGL
> Vendor string: Advance Micro Devices,INC.") is misleading to the end user if 3D
> support is not there for kernel version 2.6.31 and R6xx . 
> 
> It should clearly say  direct rendering: No or Software rasterizer instead of
> hard hanging the end user system.


fixed with the latest kernel 2.6.32-21 and ddx xf86-video-ati-6.13.0

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.