Bug 12370 - Black Screen on Radeon 7500 Mobile
Summary: Black Screen on Radeon 7500 Mobile
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/bugs/132716
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2007-09-09 06:55 UTC by Tormod Volden
Modified: 2007-12-11 09:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (2.55 KB, text/plain)
2007-09-09 06:57 UTC, Tormod Volden
no flags Details
Xorg.0.log (41.49 KB, text/plain)
2007-09-09 07:07 UTC, Tormod Volden
no flags Details
output from xrandr -q -d :0 (318 bytes, text/plain)
2007-09-09 07:08 UTC, Tormod Volden
no flags Details
Xorg.0.log (67.56 KB, text/plain)
2007-09-24 14:12 UTC, David Tomaschik
no flags Details
Xorg.conf (2.59 KB, text/plain)
2007-09-24 14:12 UTC, David Tomaschik
no flags Details
xrandr -q --verbose -d :0 (1.63 KB, text/plain)
2007-09-24 14:13 UTC, David Tomaschik
no flags Details
xrandr after setting scaler off. (1.24 KB, text/plain)
2007-09-24 14:32 UTC, David Tomaschik
no flags Details
xrandr --verbose after PanelSize (1.64 KB, text/plain)
2007-09-25 04:52 UTC, David Tomaschik
no flags Details

Description Tormod Volden 2007-09-09 06:55:29 UTC
Reported in Ubuntu https://bugs.launchpad.net/bugs/132716

"What happens: When X starts, all I get is a black screen. I've had to switch to the VESA driver to get X up and running."

"The machine does not freeze under any version of the driver, only a blank screen on X. I can still hit Ctrl+Alt+F1 to get to a console and swap back to VESA driver and restart X. I suspect, based on the lack of obvious errors and the fact that the machine continues to run, that the driver is just not sending output or not sending it to the right place."

He tried without an xorg.conf and with one generated by "dpkg-reconfigure -phigh xserver-xorg".

xorg-server 2:1.3.0.0.dfsg-12ubuntu3
xserver-xorg-video-ati_6.7.192-1ubuntu2
Comment 1 Tormod Volden 2007-09-09 06:57:02 UTC
Created attachment 11476 [details]
xorg.conf
Comment 2 Tormod Volden 2007-09-09 07:07:27 UTC
Created attachment 11477 [details]
Xorg.0.log
Comment 3 Tormod Volden 2007-09-09 07:08:19 UTC
Created attachment 11478 [details]
output from xrandr -q -d :0
Comment 4 Alex Deucher 2007-09-12 08:22:09 UTC
(II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1040 1688 1344  768 771 777 806 (48.4 kHz)
(II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)

looks like you are getting two modes for 1024x768 on LVDS. Try switching to the other one.  you can use xrandr --verbose to list the modes.
Comment 5 Alex Deucher 2007-09-19 09:03:30 UTC
you might also want to try with ati git master.
Comment 6 David Tomaschik 2007-09-21 10:13:32 UTC
I'm the user who reported this on the ubuntu bug tracker.  In any case, using 'xrandr -d :0 --output LVDS --mode 0x48' (the one with -HSync and -VSync) works for me.  Is there a way to specify this in my xorg.conf?

I honestly have no idea how to pull and build the git master -- never used git, but if you can point me in the right direction, I'd be happy to do whatever I can.
Comment 7 Tormod Volden 2007-09-21 11:39:48 UTC
David, the newest version in Ubuntu xserver-xorg-video-ati 1:6.7.193-1ubuntu1 has everything from git master until a few days ago. For building your own packages from git, I'd recommend http://wiki.debian.org/XTips
Comment 8 David Tomaschik 2007-09-22 21:33:35 UTC
How can I force it to use the second mode?  I've tried adding a ModeLine in xorg.conf, but that didn't seem to do any good.  I guess I don't have enough experience with xorg.conf.
Comment 9 Alex Deucher 2007-09-23 20:48:43 UTC
(In reply to comment #8)
> How can I force it to use the second mode?  I've tried adding a ModeLine in
> xorg.conf, but that didn't seem to do any good.  I guess I don't have enough
> experience with xorg.conf.
> 

This should be fixed in ati git master.
Comment 10 David Tomaschik 2007-09-24 12:46:53 UTC
The 6.7.194-ubuntu version package does not fix this for me.  I'm going to try to pull the git master and install it and see if that helps any.
Comment 11 Alex Deucher 2007-09-24 13:08:58 UTC
(In reply to comment #10)
> The 6.7.194-ubuntu version package does not fix this for me.  I'm going to try
> to pull the git master and install it and see if that helps any.
> 

Can you post your xorg log and config and the output of xrandr with the latest driver?  Also, if your config has a "modes" line in the display section (e.g., Modes	"1024x768"), does it help if you remove it?
Comment 12 David Tomaschik 2007-09-24 14:12:17 UTC
Created attachment 11730 [details]
Xorg.0.log
Comment 13 David Tomaschik 2007-09-24 14:12:49 UTC
Created attachment 11731 [details]
Xorg.conf
Comment 14 David Tomaschik 2007-09-24 14:13:14 UTC
Created attachment 11732 [details]
xrandr -q --verbose -d :0
Comment 15 David Tomaschik 2007-09-24 14:13:53 UTC
New attachments added.  Removing the 'modes' line had no effect.  Still not detecting that it needs the second mode.
Comment 16 Alex Deucher 2007-09-24 14:16:45 UTC
does xrandr --output LVDS --set scaler off
fix the problem?
Comment 17 Alex Deucher 2007-09-24 14:17:19 UTC
(In reply to comment #16)
> does xrandr --output LVDS --set scaler off
> fix the problem?
> 

then re-run xrandr --auto
Comment 18 David Tomaschik 2007-09-24 14:31:57 UTC
No, the screen remains blank and in mode 0x4f.  I still need to set mode 0x50 to get the display to work.  It does, however, leave only two modes in the options (0x4f and 0x50).  A new xrandr -q --verbose will be attached momentarily.
Comment 19 David Tomaschik 2007-09-24 14:32:33 UTC
Created attachment 11737 [details]
xrandr after setting scaler off.
Comment 20 Alex Deucher 2007-09-24 20:05:58 UTC
Add:

Option "PanelSize" "1024x768"

to your config and attach the output of xrandr --verbose
Comment 21 David Tomaschik 2007-09-25 04:52:53 UTC
Created attachment 11742 [details]
xrandr --verbose after PanelSize

Attached is xrandr --verbose after adding Option "PanelSize" "1024x768".  Problem still exists.
Comment 22 Alex Deucher 2007-09-30 09:15:05 UTC
Can you try again with ati git?
Comment 23 David Tomaschik 2007-10-01 11:17:53 UTC
Tried again with Tormod's build of ati git.  This version doesn't work even AFTER changing the mode with xrandr.  I get a black screen under both 1024x768 modes.  So, I guess that, in many ways, this is a regression.
Comment 24 Tormod Volden 2007-10-02 16:01:58 UTC
(The regression was confirmed by cyberdork33 in the same Ubuntu bug.)
Comment 25 Alex Deucher 2007-10-02 22:01:19 UTC
try again with latest git.  This _SHOULD_ finally be sorted out.
Comment 26 David Tomaschik 2007-10-03 12:30:38 UTC
I see the same behavior as I reported on the 1st -- black screen regardless of mode selected.  System hard locks when attempting to select any mode other than 1024x768, but not before switching the backlight off.  (Nonresponsive to Caps Lock, SSH, etc.)
Comment 27 Alex Deucher 2007-10-03 12:42:15 UTC
Two thing to try if you don't mind editing the source a bit.  try them each individually and then together if possible.  rebuild and see if any modes work.

1. comment out lines 771-776 of radeon_output.c

2. change the TRUE to FALSE in radeon_modes.c lines 106 and 162
Comment 28 David Tomaschik 2007-10-03 12:55:17 UTC
I commented out 771-776 in radeon_output.c, rebuilt, copied the resulting .so,
and restarted gdm -- and the display came right up.  So unless I somehow broke
it in a good way, that seems to fix the display issues.
Comment 29 Alex Deucher 2007-10-03 12:56:52 UTC
(In reply to comment #28)
> I commented out 771-776 in radeon_output.c, rebuilt, copied the resulting .so,
> and restarted gdm -- and the display came right up.  So unless I somehow broke
> it in a good way, that seems to fix the display issues.
> 

FINALLY.  can you test the other modes besides 1024x768 and verify that they work as well?
Comment 30 David Tomaschik 2007-10-03 13:07:26 UTC
I am able to switch to 800x600 and 640x480 with no problems.  Looks like the driver fully works for me now.
Comment 31 Alex Deucher 2007-10-03 18:57:24 UTC
Fix committed: 597dffce9bdc200003d0be880235258386a0bdd7
reopen if there are any more problems.
Comment 32 Timo Aaltonen 2007-10-09 00:41:39 UTC
The change was reverted in git, so I'm reopening this bug. Hopefully there will be a method to get the right mode in "all" cases.
Comment 33 Alex Deucher 2007-10-09 06:22:58 UTC
(In reply to comment #32)
> The change was reverted in git, so I'm reopening this bug. Hopefully there will
> be a method to get the right mode in "all" cases.
> 

For now Option "LVDSBiosNativeMode" "FALSE" should do the trick until we sort out something better.
Comment 34 Alex Deucher 2007-10-15 17:40:42 UTC
Can you try again with the latest code from ati git (without Option "LVDSBiosNativeMode" "FALSE")?  I think I've finally got this sorted out.
Comment 35 Alex Deucher 2007-12-11 09:13:35 UTC
This has been fixed for a while.


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.