Bug 754966

Summary: Unable to change resolution, "Unknown" shown for display in display manager
Product: [Fedora] Fedora Reporter: Thomas Spear <Speeddymon>
Component: xorg-x11-drv-atiAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: airlied, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-12 16:19:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Xorg.0.log
none
lsmod and dmesg output none

Description Thomas Spear 2011-11-18 12:04:50 UTC
Description of problem:
gnome's display properties shows unknown for display on Lenovo Thinkpad W500 laptop. As a result, I am unable to change resolution beyond basic defaults, unable to change display between cloned/internal/external/extended, and unable to use the fn+F7 key combo to switch said modes.

This also occurred on F15, however I did not previously report the issue as I needed to get the laptop up quickly (new job), so I used the rpmfusion ATI kmod. Since I had time tonight to upgrade to F16 and the rest of the system is already setup (and rpmfusion doesn't have the new kmod which supports the latest X), I removed the rpmfusion stuff and rebooted so that I could try to play around with it.

Version-Release number of selected component (if applicable):
6.14.2-2.20110727git8c9266ed2.fc16

How reproducible:
100%

Steps to Reproduce:
1.Applications -> System Tools -> System Settings -> Displays
2.
3.
  
Actual results:
Display shows Unknown, only resolution is 1920x1080, toggle switch and mirror checkbox are both disabled.

Expected results:
The exact opposite

Additional info:

[root@tomcat ~]# xrandr -q --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 (0x4a) normal (normal) 0mm x 0mm
	Identifier: 0x49
	Timestamp:  23066
	Subpixel:   unknown
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1920x1080 (0x4a)    0.0MHz *current
        h: width  1920 start    0 end    0 total 1920 skew    0 clock    0.0KHz
        v: height 1080 start    0 end    0 total 1080           clock    0.0Hz



lspci:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV635 [Mobility Radeon HD 3650] [1002:9591] (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device [17aa:2127]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 49
	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at 2000 [size=256]
	Region 2: Memory at cfff0000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at cff00000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0300c  Data: 41c1
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: radeon
	Kernel modules: radeon



I'm also running the following to make sure that I have a clean slate as far as any libs/modules that may have been changed:

[root@tomcat ~]# yum list installed |egrep -v '^[[:blank:]]' |awk '{print $1}' |tail -n+3 |xargs yum -y reinstall

I'll be running an rpm -Va after I reboot.

Comment 1 Thomas Spear 2011-11-18 12:08:00 UTC
Last 2 things I forgot to mention above:

I'm running with a single external display connected through a docking station.

I'll also try a boot with nomodeset just to verify that that does not fix it.

Comment 2 Thomas Spear 2011-11-18 12:12:56 UTC
Also, the external display's native resolution is 1920x1080. The laptop's native is 1920x1200. So whatever this issue is, it's at least appearing to be related to the EDID information coming from the External display.

Comment 3 Thomas Spear 2011-11-18 14:56:35 UTC
I attempted both nomodeset, and radeon.modeset=0, individually. Both resulted in a blank laptop panel and external display that indicated that the mode was outside the display's range. I with nomodeset, I switched to a tty and went into init 3, then I tried X -configure, but kept getting errors that /dev/fb0 didn't exist.

I did the yum reinstall, and rpm -Va -- I still had some mismatches, so I checked each file, removed the ones I didn't need to keep and reinstalled those packages again. Current rpm -Va output is as below:

[root@tomcat ~]# rpm -Va
missing     /var/run/setroubleshoot
missing     /var/run/wpa_supplicant
5S.T...M.  c /boot/grub2/grub.cfg
5S.T.....  c /etc/default/grub
5S.T.....  c /etc/NetworkManager/NetworkManager.conf
missing     /var/run/NetworkManager
5S.T.....    /usr/share/icons/Crux/icon-theme.cache
5S.T.....    /usr/share/icons/Mist/icon-theme.cache
5S.T.....    /etc/cron.d/smolt
......GM.    /var/log/gdm
.......M.    /var/run/gdm
missing     /var/run/gdm/greeter
.......M.  c /etc/cups/subscriptions.conf
...T.....    /lib/modules/3.1.1-1.fc16.i686/modules.devname
...T.....    /lib/modules/3.1.1-1.fc16.i686/modules.softdep
5S.T.....  c /etc/idmapd.conf
.......M.    /usr/bin
......G..    /var/run/openvpn

Interestingly, while /var/run/NetworkManager, /var/run/wpa_supplicant, /var/run/gdm/greeter and /var/run/setroubleshoot are missing, they were there before I rebooted. Not that it is a huge deal since they are not likely pertinent to this, but I thought I might point it out.

Also, I thought to run glxinfo:

[root@tomcat ~]# glxinfo
name of display: :0.0
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  135 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  14
  Current serial number in output stream:  14


Lastly, I realized that while I do have the laptop plugged into the docking station, it is not actually using the docking station for the VGA output; rather the external display is plugged directly into the laptop because this dock only has the power port, not anything else.

Comment 4 Dave Airlie 2011-11-25 19:08:36 UTC
can you attach Xorg logs from xrandr it looks like you are using  vesa or something.

xrandr should never show a default output for -ati.

Comment 5 Thomas Spear 2011-11-26 00:38:28 UTC
I'm almost positive it is using vesa, although the radeon driver is definitely loaded. I will have to check when I get into work tonight.

Comment 6 Thomas Spear 2011-11-26 03:02:28 UTC
Created attachment 536555 [details]
Xorg.0.log

It is using vesa. The radeon kernel module is loaded. See this attachment and the next

Comment 7 Thomas Spear 2011-11-26 03:04:17 UTC
Created attachment 536556 [details]
lsmod and dmesg output

See previous attachment and this one

Comment 8 Dave Airlie 2011-11-26 10:41:47 UTC
is xorg-x11-drv-ati installed?

can you reinstall it if it is or not.

you are using the fbdev fallback driver.

Comment 9 Thomas Spear 2011-11-27 04:01:05 UTC
Strangely, it was not. I have installed it now. Not sure how to tell if I am using the fbdev fallback driver, though I assume it is a default if vesa also fails? If so, then its likely that I am using that.

Comment 10 Thomas Spear 2011-11-27 04:10:16 UTC
After rebooting, I have my dual monitors back. Thank you! Now to figure out why I still have no sound.. :-/ New bug incoming