Bug 494097

Summary: ATI Radeon X800 - Garbled desktop with modesetting when "Virtual 1600 1200" is added to xorg.xonf
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: xorg-x11-drv-atiAssignee: Dave Airlie <airlied>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fdc, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-drv-ati-6.12.2-6.fc11.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 11:34:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Custom xorg.conf for ATI Radeon X800 and 21" CRT HP A4576A
none
Xorg.0.log with modesetting and no xorg.conf
none
Xorg.0.log with modesetting and virtual 1600 1200
none
Xorg.0.log with modesetting and virtual 1408 1056 none

Description Joachim Frieben 2009-04-04 09:20:39 UTC
Created attachment 338148 [details]
Custom xorg.conf for ATI Radeon X800 and 21" CRT HP A4576A

Description of problem:
Adding a line "Virtual 1600 1200" to xorg.conf of an ATI Radeon X800 leads to a garbled GDM/GNOME Desktop when KMS is enabled. The chosen video mode is 1400x1050 which is the optimum one for a 21" CRT like the HP A4576A. Mode 1600x1200 is the maximum resolution one as specified by the manufacturer. It is not accessible when the virtual desktop is smaller than 1600x1200

Version-Release number of selected component (if applicable):
xorg-x11-drv-ati-6.12.1-4.fc11.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Add "Virtual 1600 1200" to xorg.conf.
2. Restart X.
  
Actual results:
Garbled screen.

Expected results:
GDM/GNOME session are displayed as expected.

Additional info:
- Adding "Virtual 1400 1050" or "1408 1056" restore proper operation while
  improving 3D performance in the same time.
- Adding "nomodeset" to the kernel boot options restores proper operation
  even for the incriminated virtual line.
- Currently, DRI2 leads to a significant performance penalty at least as
  measured by running 'glxgears'  [1000 fps instead for 3500 fps].
- System is a current "rawhide" one:
  * kernel-2.6.29.1-46.fc11.x86_64
  * mesa-*-7.5-0.6.fc11.x86_64
  * xorg-x11-server-Xorg-1.6.0-16.fc11.x86_64

Comment 1 Joachim Frieben 2009-04-04 09:35:29 UTC
Created attachment 338149 [details]
Xorg.0.log with modesetting and no xorg.conf

Comment 2 Joachim Frieben 2009-04-04 09:36:20 UTC
Created attachment 338150 [details]
Xorg.0.log with modesetting and virtual 1600 1200

Comment 3 Joachim Frieben 2009-04-04 09:37:02 UTC
Created attachment 338151 [details]
Xorg.0.log with modesetting and virtual 1408 1056

Comment 4 François Cami 2009-04-06 22:39:05 UTC
glxgears is not a benchmark.

Adding a Virtual line should not change DPI :

-(**) RADEON(0): DPI set to (101, 101)
+(**) RADEON(0): DPI set to (89, 89)

---
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 5 Joachim Frieben 2009-04-27 09:09:11 UTC
Issue appears to be fixed in current "rawhide" including packages:
- kernel-2.6.29.1-111.fc11.x86_64
- mesa-*-7.5-0.9.fc11.x86_64
- xorg-x11-drv-ati-6.12.2-6.fc11.x86_64
- xorg-x11-server-Xorg-1.6.1-6.fc11.x86_64

However, the DPI issue persists. Closing this report and filing a new bug report on the latter?