Bug 91260

Summary: Slow xdvi text display
Product: xorg Reporter: Michael Hartman <mhartman1985>
Component: Server/Acceleration/glamorAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.7 (2012.06)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log when glamor is used
none
Example DVI file that reproduces the problem none

Description Michael Hartman 2015-07-07 16:05:29 UTC
I am using the opensource radeon drivers with a radeon HD 6870.  

When I enable the use of glamor in my xorg.conf.d/20-radeon.conf

Section "Device"
	Identifier 	"vga"
	Driver		"radeon"
	###Option		"AccelMethod"		"EXA"
	###Option		"EXAVSync"		"off" 
	###Option		"EXAPixmaps"		"on"
	Option		"AccelMethod"		"Glamor" 
	Option		"RenderAccel"		"on" 
	Option		"ColorTiling"		"on" 
	Option		"AccelDFS"		"on" 
	Option		"SwapBuffersWait"	"false" 
EndSection

the text takes a very long time to display in xdvi and loads like a typewriter typing it out, computer is unresponsive until full page loads.


The problem goes away when I switch to EXA:

Section "Device"
	Identifier 	"vga"
	Driver		"radeon"
	Option		"AccelMethod"		"EXA"
	Option		"EXAVSync"		"off" 
	Option		"EXAPixmaps"		"on"
	###Option		"AccelMethod"		"Glamor" 
	Option		"RenderAccel"		"on" 
	Option		"ColorTiling"		"on" 
	Option		"AccelDFS"		"on" 
	Option		"SwapBuffersWait"	"false" 
EndSection
Comment 1 Michel Dänzer 2015-07-08 01:59:19 UTC
Please attach the /var/log/Xorg.0.log file from running with glamor.
Comment 2 Michael Hartman 2015-07-08 02:54:02 UTC
Created attachment 116998 [details]
Xorg.0.log when glamor is used
Comment 3 Michel Dänzer 2015-07-08 03:21:34 UTC
Do you have any pointers to example files for xdvi reproducing the problem?
Comment 4 Michael Hartman 2015-07-08 13:32:54 UTC
Created attachment 117004 [details]
Example DVI file that reproduces the problem
Comment 5 Michel Dänzer 2015-07-10 06:29:51 UTC
https://patchwork.freedesktop.org/patch/54182/ fixes this for me.
Comment 6 Michel Dänzer 2015-07-21 03:43:50 UTC
commit 1a18513a4eb3fa22459dd9f7d8f0e275aff679ec
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Fri Jul 10 15:28:52 2015 +0900

    glamor: Use glamor_prepare_access_box() for PutImage/GetImage fallback

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.