Bug 704695

Summary: [RV730] Timeout trying to update memory controller settings - no display
Product: [Fedora] Fedora Reporter: John Williams <jwilliams>
Component: xorg-x11-drv-atiAssignee: Jérôme Glisse <jglisse>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: airlied, elad, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:lockup]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-11 22:08:41 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 log
none
Xorg log
none
dmesg output none

Description John Williams 2011-05-14 04:12:22 UTC
Description of problem:

Attempting to use the radeon driver with Fedora 15 beta does not work.  When Fedora tries to autodetect the video setup (when xorg.conf is missing) this results in a totally blank screen: not even a blinking cursor.  

Attempting to use the proprietary Catalyst 11.4 driver (i.e. fglrx) also does not work.

Version-Release number of selected component (if applicable):
Fedora 15 beta

How reproducible:
Remove xorg.conf or configure xorg.conf with the Catalyst installation tool.


Steps to Reproduce:
1. rm /etc/xorg.conf
2. reboot
3. observe results
  
Actual results:
A totally blank screen: not even a blinking cursor.  

Expected results:
A login screen.

Additional info:

I've attached my Xorg.0.log.  And yes, I've deleted nomodeset from the kernel line in grub.conf.  

My monitor is a Panasonic plasma TV running of a Denon home theater receiver.  My video card outputs HDMI to the receiver and DVI direct to the TV.  Neither input works.  Perhaps the driver is attempting to set a resolution that my receiver or TV cannot display?

Thanks to all the hardworking Fedora and Xorg hackers!  You have the gratitude of at least one humble user :-)

Comment 1 John Williams 2011-05-14 04:13:53 UTC
Created attachment 498897 [details]
Xorg log

Comment 2 Elad Alfassa 2011-05-14 07:12:35 UTC
This looks like the problem:
[   236.115] (EE) RADEON(0): Timeout trying to update memory controller settings !
[   236.115] (EE) RADEON(0): You will probably crash now ... 



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

Comment 3 Elad Alfassa 2011-05-14 07:15:27 UTC
Changing the title to something a bit more informative.



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

Comment 4 Matěj Cepl 2011-05-14 13:44:02 UTC
(In reply to comment #0)
> How reproducible:
> Remove xorg.conf or configure xorg.conf with the Catalyst installation tool.

Unfortunate thing about binary only drivers (both nVidia and AMD ones; and especially if you install tarball from the vendors website, not RPM-packaged drivers) is that they tend to corrupt even non-driver parts of Xorg.

Before any further testing please run

rpm -Va xorg-x11\* mesa\*

to check that your system hasn't corrupted Xorg components.

Thank you

Comment 5 John Williams 2011-05-15 08:09:43 UTC
Thank you for your help, Matej.  

I ran that command.  It appeared to complete, but did not print any message.  Then I tried again (i.e. rebooted) with the same result: a totally blank screen: no cursor and no mouse pointer.

I also tried appending the kernel boot argument radeon.agpmode=-1, which did not help either.

Comment 6 Matěj Cepl 2011-05-16 15:13:04 UTC
We you add nomodeset kernel parameter, does it help? But that's just workaround, 
to collect at least some logging information, boot with 3 as a kernel parameter and WITHOUT nomodeset and WITHOUT xdriver=vesa. Are you able to log in to the text mode?

If not, add xdriver=vesa to the kernel command line and reboot.

Either way, when logged in the text console, start X with the command startx. If it fails, still /var/log/Xorg.0.log and the output of dmesg program from the failed attempt to start X would be useful.

We will review this issue again once you've had a chance to attach this information.

Thank you very much in advance.

Comment 7 John Williams 2011-05-23 05:59:00 UTC
Created attachment 500333 [details]
Xorg log

Comment 8 John Williams 2011-05-23 06:02:21 UTC
Created attachment 500334 [details]
dmesg output

Comment 9 John Williams 2011-05-23 06:06:55 UTC
Dear Matej,

Thanks for your reply.  I added "3" (without the quotes) to the kernel line in grub.conf.  Is that correct, or should it be the value of some parameter, i.e. "foo=3"?  Also there is no "nomodeset" or "xdriver=foo" on that line.

In any case, I can boot to text mode fine.  When I execute startx the machine locks up.   There is a blank screen with no cursor.  X cannot be killed with ctrl-alt-del or ctrl-c, and I cannot change to another VT with ctrl-alt-f2 etc.

I've attached the Xorg.0.log and dmesg output as requested.

Thanks again,

John

Comment 10 Dave Airlie 2011-05-27 07:54:57 UTC
please use the fglrx uninstall script. it probably added a blacklist for radeon, and you need to rebuild the initramfs to let things work like before.

Comment 11 John Williams 2011-05-27 23:16:07 UTC
Hi Dave,

Thanks for your help.  I can easily uninstall fglrx, but have no clue how to rebuild initramfs (or even what it is).  Can you explain, or point me to an already existing explanation please?

Thanks,

John

Comment 12 Matěj Cepl 2011-05-27 23:29:10 UTC
Probably the safest way is to run

yum reinstall kernel

it should take care of it.

Comment 13 John Williams 2011-06-06 00:46:04 UTC
I just installed the released Fedora 15 (formatted the partition before installing) and the problem persists.  I have not installed fglrx.  I created an xorg.conf with the contents:

Section "Device"
	Identifier  "Card0"
	Driver	    "vesa"
EndSection

I can boot to runlevels 1 & 3 fine.  However when I run startx I get this error message:
 
Refusing to touch device with a bound kernel driver

Sigh.  Any clues?

thanks again for your help so far!

Comment 14 John Williams 2011-06-06 00:48:32 UTC
I just installed the released Fedora 15 (formatted the partition before installing) and the problem persists.  I have not installed fglrx.  I created an xorg.conf with the contents:

Section "Device"
	Identifier  "Card0"
	Driver	    "vesa"
EndSection

I can boot to runlevels 1 & 3 fine.  However when I run startx I get this error message:
 
Refusing to touch device with a bound kernel driver

Sigh.  Any clues?

thanks again for your help so far!

Comment 15 Elad Alfassa 2011-06-06 05:20:28 UTC
I think you should attach these logs from your current install (remove the xorg.conf file, so you want be using vesa) as well, it might help.

This part of the log seems really strange to me, I don't think it should happen.

[   922.967] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.9.0.[dri] If using legacy modesetting, upgrade your kernel.
[dri] If using kernel modesetting, make sure your module is
[dri] loaded prior to starting X, and that this driver was built
[dri] with support for KMS.
[dri] Disabling DRI. 



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

Comment 16 John Williams 2011-06-06 06:44:00 UTC
OK, I removed xorg.conf entirely and Xorg now starts, apparently using the vesa driver as I cannot increase the screen resolution beyond 1024x768.  Thank you for that advice.

Now, can someone tell me either:

1. Will this bug receive relatively high-priority attention?  When searching for a solution on the Internet I've come across opinions that using ATI hardware on Fedora has traditionally problematic.  I thought this was weird, considering they have open-sourced lots of their code (in comparison to nVidia).

2. I'm considering just giving up and buying a video card that's guaranteed to work on Fedora 15.  Is there a list of such cards?  I've been using an nVidia card with Fedora 15 using the nouveau driver, but am suffering a few kernel oopses.  I'd be very grateful to avoid this hell.  This is 2011: can one buy a video card that's guaranteed to work well with GNU/Linux ?

Please don't interpret the above as complaining.  I've very grateful to all you talented hackers for producing something that is Free, and works amazingly well, apart from this issue.

Comment 17 Elad Alfassa 2011-06-06 07:00:35 UTC
(In reply to comment #16)
> OK, I removed xorg.conf entirely and Xorg now starts, apparently using the vesa
> driver as I cannot increase the screen resolution beyond 1024x768.  Thank you
> for that advice.
Please attach xorg log from this run. The log probably contains some info on why did it use vesa.
> 
> Now, can someone tell me either:
> 
> 1. Will this bug receive relatively high-priority attention?
I can't tell since I'm not an Xorg developer.
> 
> 2. I'm considering just giving up and buying a video card that's guaranteed to
> work on Fedora 15.  Is there a list of such cards?  I've been using an nVidia
> card with Fedora 15 using the nouveau driver, but am suffering a few kernel
> oopses. 
Did you report those?




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

Comment 18 John Williams 2011-06-11 21:53:47 UTC
After applying the latest updates the Xorg radeon driver now works!  Thank you very much to the Xorg hackers, and the volunteers who helped triage and otherwise assist me with this bug.

Unfortunately the screen is clipped with this driver, so I can only partially see the top menu bar.  That's a matter for a separate bug though ...

So please close this bug.  Thanks again from a grateful user,

John