Bug 20064

Summary: r6xx-r7xx-support: EXA and Xv not working on M82
Product: xorg Reporter: Sascha Steinbiss <satta>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: low    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log file for xf86-video-ati, r6xx-r7xx-support branch
none
xorg.conf
none
xorg.log.old from crash case none

Description Sascha Steinbiss 2009-02-11 07:54:55 UTC
Created attachment 22825 [details]
Xorg log file for xf86-video-ati, r6xx-r7xx-support branch

Hi,

after having read http://www.botchco.com/agd5f/?p=37 I wanted to test out the new R600 acceleration features on my HD3400. However, Xv does not seem to work:

$ xvinfo 
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
X-Video Extension version 2.2
screen #0
 no adaptors present

As far as EXA is concerned, although EXA seems to be enabled (see log) everything (especially scrolling and moving windows) is way slower than when using the driver from the master branch.

I attach my xorg.conf and log file.
Comment 1 Sascha Steinbiss 2009-02-11 07:55:23 UTC
Created attachment 22826 [details]
xorg.conf
Comment 2 Alex Deucher 2009-02-11 09:24:29 UTC
You need to install the kernel modules from the r6xx-r7xx-support branch of the drm.  You also need to add:
Option "DRI" "TRUE"
to the device section of your config.
Comment 3 Sascha Steinbiss 2009-02-11 10:21:47 UTC
Oh yes, that did the trick. Now EXA and Xv seem to work.
The only thing that still looks strange is the log contains thousands of lines with 'Ran out of VB space!' but seemingly without negative effects:

$ grep 'Ran out of VB space!' /var/log/Xorg.0.log | wc -l
80318

Anyway, thanks!
Comment 4 Alex Deucher 2009-02-11 10:35:37 UTC
grab the latest bits from git.  they should provide more info.
Comment 5 Sascha Steinbiss 2009-02-11 10:53:41 UTC
(In reply to comment #4)
> grab the latest bits from git.  they should provide more info.

Just did. It's 'Copy: Ran out of VB space!' now.
Let me know if you need more info, I'm closing this bug for now as my original problem is solved.
Comment 6 Alex Deucher 2009-02-11 11:57:51 UTC
Can you my latest commit?  I attempted to handle the out of VB case properly.
Comment 7 Sascha Steinbiss 2009-02-11 14:37:24 UTC
(In reply to comment #6)
> Can you my latest commit?  I attempted to handle the out of VB case properly.

I just pulled (to bd141aa) to try your latest work. Sadly, using any version newer than commit ec60ef0 causes my system to lock up hard on X start, rebooting after a few seconds.
Comment 8 Sascha Steinbiss 2009-02-11 14:41:27 UTC
Created attachment 22844 [details]
xorg.log.old from crash case
Comment 9 Sascha Steinbiss 2009-02-13 16:26:50 UTC
seems fixed as for now (commit 7cde00f49)

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.