Bug 115283 - Laptop Radeon X700: X starts with black screen
Summary: Laptop Radeon X700: X starts with black screen
Status: RESOLVED WONTFIX
: 113697 118956 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Beta 8
Hardware: Other All
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Matthias Hopf
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 10:44 UTC by Jörg Mayer
Modified: 2008-06-25 09:52 UTC (History)
8 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xorg.conf (5.61 KB, text/plain)
2005-09-05 16:52 UTC, Jörg Mayer
Details
Xorg.0.log (41.39 KB, text/x-log)
2005-09-05 16:52 UTC, Jörg Mayer
Details
result of "hwinfo" (216.73 KB, text/x-log)
2005-09-05 16:53 UTC, Jörg Mayer
Details
xorg.conf without modes (5.24 KB, text/plain)
2005-09-05 17:49 UTC, Jörg Mayer
Details
Xorg.0.log without modes (42.83 KB, text/x-log)
2005-09-05 17:50 UTC, Jörg Mayer
Details
xorg.conf with better monitor values (5.30 KB, text/plain)
2005-09-05 21:53 UTC, Jörg Mayer
Details
Xorg.0.log with better monitor values (42.45 KB, text/x-log)
2005-09-05 21:54 UTC, Jörg Mayer
Details
xorg.conf with cvt modeline (5.16 KB, text/plain)
2005-09-08 12:10 UTC, Jörg Mayer
Details
Xorg.0.log for CVT config (41.64 KB, text/x-log)
2005-09-08 12:11 UTC, Jörg Mayer
Details
Xorg.0.log after changing monitor config (43.70 KB, text/x-log)
2005-09-08 12:32 UTC, Jörg Mayer
Details
xorg with corrected modeline (5.37 KB, text/plain)
2005-09-08 16:25 UTC, Jörg Mayer
Details
Xorg.0.log for corrected modeline (43.77 KB, text/x-log)
2005-09-08 16:28 UTC, Jörg Mayer
Details
xorg.conf plus 4 logs - 1 for each modeline (12.25 KB, application/x-tbz)
2005-09-08 18:23 UTC, Jörg Mayer
Details
xorg.conf for ati-fglrx drivers generated by sax2 (6.71 KB, text/plain)
2005-09-09 09:42 UTC, Jörg Mayer
Details
Xorg.0.log with fglrx-driver (40.39 KB, text/x-log)
2005-09-09 09:43 UTC, Jörg Mayer
Details
modelines with +csync, radeon driver (12.26 KB, application/x-tbz)
2005-09-09 16:30 UTC, Jörg Mayer
Details
New CVS radeon driver (125.56 KB, application/x-gunzip)
2005-09-13 16:15 UTC, Matthias Hopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Mayer 2005-09-05 10:44:54 UTC
Laptop Fujitsu Siemens 
Amilo M1437G 
Graphics: Radeon X700 
Display: TFT WXGA (1280x800) 
 
During installation graphics works, but once the system tries to start X, the 
screen goes blank and does not display anything (but the X server remains 
running). Switching to another VC still worked. The generated xorg.conf uses 
the radeon driver, no dri and a wrong resolution. Changing the resolution to 
the correct values didn't work either. 
I'll send xorg.log tonight, when I have access to the machine again.
Comment 1 Stefan Dirsch 2005-09-05 11:04:38 UTC
Please attach config and logfile.
Comment 2 Jörg Mayer 2005-09-05 16:52:05 UTC
Created attachment 48829 [details]
xorg.conf
Comment 3 Jörg Mayer 2005-09-05 16:52:59 UTC
Created attachment 48830 [details]
Xorg.0.log
Comment 4 Jörg Mayer 2005-09-05 16:53:56 UTC
Created attachment 48831 [details]
result of "hwinfo"
Comment 5 Jörg Mayer 2005-09-05 16:56:29 UTC
Here is the information you asked for. Unfortunately I forgot the value of the 
original screen resolution, but the effects were the same. I also commented 
out the mode-selection so the X server would try to find its own modeline, but 
that didn't change anything either. The log file and the config file I 
attached match. 
Comment 6 Stefan Dirsch 2005-09-05 17:16:07 UTC
The monitor values look completely bogus. Try to adjust theme to the real ones 
and remove the   

  UseModes     "Modes[0]"

line as well.
Comment 7 Jörg Mayer 2005-09-05 17:48:40 UTC
The usemodes entry doesn't matter (as I mentioned too unprecisely above). I 
don't really know what sensible values for the monitor section are, so I 
changed them only slightly. Note that the Display size was detected correctly, 
so maybe the other values made sense too? 
I'll attach the new xorg.conf and Xorg.0.log 
Comment 8 Jörg Mayer 2005-09-05 17:49:45 UTC
Created attachment 48840 [details]
xorg.conf without modes
Comment 9 Jörg Mayer 2005-09-05 17:50:30 UTC
Created attachment 48841 [details]
Xorg.0.log without modes
Comment 10 Stefan Dirsch 2005-09-05 18:50:53 UTC
Surely for a 1280x1024 TFT "HorizSync 30-40" is bogus. I would expect values    
similar to this: "HorizSync 30-70" and  "VertRefresh 60-70".  
Comment 11 Stefan Dirsch 2005-09-05 19:45:20 UTC
Please try the values I mentioned above and attach the new logfile. Althout I 
don't think this will help ... 
Comment 12 Jörg Mayer 2005-09-05 21:52:11 UTC
The pysical resolution is 1280x800. 
Btw, the way it looks the backlight of the screen is off. Maybe that's the 
problem or maybe it's just a result of the server not working correctly? 
 
It looks like the xserver is not seeing a mode with the physical resolution 
of the display. 
 
As reqeusted the xorg.conf and Xorg.0.log files. 
Comment 13 Jörg Mayer 2005-09-05 21:53:25 UTC
Created attachment 48855 [details]
xorg.conf with better monitor values
Comment 14 Jörg Mayer 2005-09-05 21:54:25 UTC
Created attachment 48856 [details]
Xorg.0.log with better monitor values
Comment 15 Stefan Dirsch 2005-09-06 06:34:56 UTC
*** Bug 113697 has been marked as a duplicate of this bug. ***
Comment 16 Stefan Dirsch 2005-09-06 06:36:59 UTC
I think this is sth. for Matthias. Maybe we find a X700 Notebook for testing, 
but I don't think so ... 
Comment 17 Jörg Mayer 2005-09-06 07:48:10 UTC
I'm in no way knowledgable about X, so the following is pure 
<speculation>. 
Is there a way to further debug the way the X server retrieves the monitor  
information? Which information does it retrieve via DDC, which information 
from the video BIOS? Where do the Default modelines come from that are visible 
in the log? Why isn't there a line with 1280x800? 
</speculation> 
Comment 18 Jörg Mayer 2005-09-06 08:57:06 UTC
In case it is a problem with the values from the videobios: There is a tool 
for Intel 855G chipsets (855resolution) that "fixes" the values. 
Maybe the discussion on that tool's pages can shed some light? 
Startpage with better explanation: 
http://www.ubuntuusers.de/wiki/treiber:notebooks:855resolution 
Homepage: http://perso.wanadoo.fr/apoirier/ 
Comment 19 Stefan Dirsch 2005-09-06 09:43:49 UTC
But this works only with Intel chipsets. BTW, I misread the bugreport. I 
thought it's a desktop machine with a "1280x1024" TFT. My fault. Of course 
you need a modeline for 1280x800, because the Xserver modeline pool only 
provides some Vesa modelines and 1280x800 seems to be missing there. Anyway 
I don't think it's a configuration problem. Probably the driver simply doesn't 
work and we need to use "fbdev" driver for this chipset as long as we don't 
have such a notebook for testing available. 
Comment 20 Matthias Hopf 2005-09-06 14:34:43 UTC
Actually you should try configuring X with 'sax2 -r' in runlevel 3.
Unfortunately sax isn't able to retrieve monitor information in runlevel 5.

Please try to run 'sax2 -r', and if you see an image, try to configure your
system to the best of your knowledge. Then try starting X again.
Comment 21 Jörg Mayer 2005-09-06 18:51:32 UTC
OK, lots of (unsuccessful) attempts later: 
sax2 -r in runlevel 3 (and everything else I tried) also results in a deep 
black screen (no backlight). Absolutely no change. ps shows that fvwm2 etc are 
running. 
Comment 22 Matthias Hopf 2005-09-07 10:32:14 UTC
Just like in bug #113697 it seems that the monitor does not accept general
timing formula modelines. I'll try to find that different formula again.
Comment 23 Matthias Hopf 2005-09-07 16:25:27 UTC
Please try the following ModeLine:

Modeline 	"1200x800@60-CVT" 49.7 1280 1352 1480 1680 800 803 809 831

This one has been calculated using the CVT, which is the appropriate timing
formula for panels.
Comment 24 Jörg Mayer 2005-09-08 12:09:07 UTC
I ran sax2 -r, copied the temporary file and then made the necessary changes 
manually. It didn't work. I'll attach xorg.conf and Xorg.0.log 
Comment 25 Jörg Mayer 2005-09-08 12:10:30 UTC
Created attachment 49189 [details]
xorg.conf with cvt modeline
Comment 26 Jörg Mayer 2005-09-08 12:11:21 UTC
Created attachment 49190 [details]
Xorg.0.log for CVT config
Comment 27 Jörg Mayer 2005-09-08 12:15:07 UTC
So it looks like the line doesn't match the monitor settings (timings). 
Comment 28 Jörg Mayer 2005-09-08 12:32:21 UTC
Created attachment 49194 [details]
Xorg.0.log after changing monitor config

I've changed the monitor config so the mode line will be accepted by the
Xserver at all. The behaviour hasn't changed though.
Comment 29 Matthias Hopf 2005-09-08 13:22:24 UTC
OUCH!

I'm sorry, the Modeline was wrong:

Modeline "1280x800@60-CVT" 83.5 1280 1352 1480 1680  800 803 809 831

This one should be correct. No wonder your monitor wouldn't like to show a
picture, it was driven with 35.6 Hz...
Comment 30 Jörg Mayer 2005-09-08 15:12:46 UTC
No, it didn't work either. I also tried a modeline I found in an internetforum  
which supposedly worked with the proprietary ATI driver, but it didn't work 
with the radeon drivers: 
Modeline     "1280x800@60"  83.91 1280 1312 1624 1656 800 816 824 841 
 
  
Comment 31 Jörg Mayer 2005-09-08 15:51:53 UTC
Btw, is there a "recommended" ATI driver version for 10.0 (or a suse rpm?). 
Comment 32 Matthias Hopf 2005-09-08 15:57:39 UTC
Could you please attach the logfile for the modeline in comment #29?

You can always use the vesa driver, of course (which appearantly worked during
installation), but you will loose all acceleration functions this way.

Other than that I'm out of ideas. Egbert, do you have any additional ideas?
Comment 33 Matthias Hopf 2005-09-08 15:59:20 UTC
For the binary only driver: you can always download the driver from ATI and
install it, but you won't be able to uninstall it easily. Maybe Stefan has news
about an installation script for the ATI driver.
Comment 34 Jörg Mayer 2005-09-08 16:25:35 UTC
Created attachment 49235 [details]
xorg with corrected modeline
Comment 35 Jörg Mayer 2005-09-08 16:28:19 UTC
Created attachment 49237 [details]
Xorg.0.log for corrected modeline

Yes, I'm using the vesa driver when I'm testing other stuff, but my goal is
that other users starting Suse on this type of Laptop will get a "just working"
experience instead of a "You have to press C-A-F1, login, vi
/etc/X11/xorg.conf...." experience :-)
Comment 36 Jörg Mayer 2005-09-08 16:29:19 UTC
An additional goodie would be a proper resolution of 1280x800 instead of 
800x600 :-) 
Comment 37 Matthias Hopf 2005-09-08 17:41:55 UTC
Some last additional ideas:

Try adding '-hsync +vsync' to the modeline. At least the CVT tells me to do so.
Never cared about syncs, because all monitors I know never cared as well.

I also have some additional modelines to try (including the idea above):

Modeline "1280x800-CVT"  83.5 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
Modeline "1280x800-CVT-r"  71 1280 1328 1360 1440 800 803 809 823 +hsync -vsync
Modeline "1280x800-CVT-m"  89 1280 1352 1488 1696 800 803 809 832 -hsync +vsync
Modeline "1280x800-CVT-mr" 75 1280 1328 1360 1440 800 803 809 824 +hsync -vsync

Please check whether you have luck with *any* of them...
I'm not exactly sure about the modes with margin (m), because there is too
little documentation. But looking at the log files (the resulting vertical and
horizontal refresh rates) could help.
Comment 39 Jörg Mayer 2005-09-08 18:23:55 UTC
Created attachment 49258 [details]
xorg.conf plus 4 logs - 1 for each modeline

I've done the tests and none of them worked. I've attached all the logfiles but
only one configfile (I only replaced the modename to use for 24 bits).
Comment 40 Matthias Hopf 2005-09-09 08:55:14 UTC
Thanks a lot for testing!

Now I'm really out of ideas... Egbert, do you have any left?
Comment 41 Jörg Mayer 2005-09-09 09:42:21 UTC
Created attachment 49348 [details]
xorg.conf for ati-fglrx drivers generated by sax2

I've taken the time to install the proprietary fglrx drivers. I ran sax2 as
described in the ati documentation but this resulted in a non-working config
too. I needed to comment out the VertRefresh value for the X-Server to start.
Afterwards, I needed to manually add the "1280x800" resulution to the Display
SubSection. I'll also attach the output of Xorg.0.log with the proprietary
driver, maybe you get some ideas from it how to get the radeon driver working
for 2D.
Comment 42 Jörg Mayer 2005-09-09 09:43:12 UTC
Created attachment 49349 [details]
Xorg.0.log  with fglrx-driver
Comment 43 Matthias Hopf 2005-09-09 09:50:08 UTC
Did your config finnally work and gave you an image, or is the display still black?
Comment 44 Jörg Mayer 2005-09-09 11:49:51 UTC
The config attached in #41 plus the changes mentioned in #41 give me an image 
(with the fglrx drivers). I tried to use the modeline found in #42 with the  
radeon driver and it didn't give me an image. Playing with ignoreedid didn't 
help either. 
After adding glx and dri loads to the fglrx config, I even had working 
3d-accel ;-) 
Comment 45 Matthias Hopf 2005-09-09 12:50:14 UTC
If the modeline of comment #42 doesn't work, please add your finnally working
config, so that there are no ambiguities.
Comment 46 Matthias Hopf 2005-09-09 12:56:48 UTC
So this is the modeline that actually work:

Modeline "1280x800"   68.90  1280 1301 1333 1408  800 801 804 813 +csync

One last try: can you try this one with the radeon driver?
Maybe also one of the former ones with '+csync'?

Additionally: was the hwinfo in comment #4 created in runlevel 3? Because it
contains no usefull DDC information... Otherwise please attach the output of
'hwinfo --monitor', executed in runlevel 3.
Comment 47 Jörg Mayer 2005-09-09 16:20:18 UTC
 #45 and #46: 
The modeline is *NOT* part of the config - it is learned via EDID (if I'm 
notmistaken). Just look a few lines higher. Also, I tried exactly that line 
with the radeon driver already and it didn't work (that's what I meant with my 
comment in #44). 
 
#46: 
I'll try the other modelines with +csync soon. 
 
#46 The hwinfo was created in runlevel 3 (and without X running or trying to 
run). 
Comment 48 Jörg Mayer 2005-09-09 16:30:43 UTC
Created attachment 49439 [details]
modelines with +csync, radeon driver

OK, here's the test of the modelines for the radeon driver with +csync. None of
them worked.
Comment 49 William Beebe 2005-09-11 17:19:22 UTC
I have fixed this issue. The problem, as I stated in 113697, is in the X.org
radeon driver. I have obtained 1680x1050 resolution on my Gateway M680/X700
Mobility using the ATI driver fglrx_6_8_0-8.16.20.i386.rpm. As proof I have a
screen capture of my system running properly at
http://www.geocities.com/bill_beebe/suse10/gateway-screenshot.png

The key to fixing this problem is to essentially ignore sax2 and use fglrxconfig
to create a new xorg.conf. The key is in the screen section. When asked for
resolutions, make sure to enter a screen resolution for 1680x1050. The screen
section of your new xorg.conf should look like the following:

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

If you've already got a working xorg.conf from an earlier run but without the
highest resolution, then add the new mode for 1680x1050 as shown. Reboot the
notebook, and your new resolution will be operational. Note that if you change
the kernel (via yast or by building your own) that you'll need to reinstall the
ATI kernel driver.

Editorial comments

The handling of this issue has turned out to be very disappointing. I've never
seen a lower bug (113697, mine) marked as a dupe to a higher bug (this one).
It's always been the other way around. I've never seen more conflicting advice
given out, or seen someone put up with as many wrong suggestions as George Mayer
did.

I solved this problem by talking to local people in Orlando, FL, who seemed to
be knowledgable about the ATI hardware and the various drivers. I tested this
solution first on another system I own that has an ATI 9600. I increased its
screen resolution to 1600x1200 using the fglrx driver. That screen resolution
was actually "found" by Ubuntu breezy (5.10), which seemed to find and use that
resolution with its radeon driver. SuSE 10 RC1 does not. When I hand modified
the xorg.conf for the ATI 9600 to 1600x1200 and found that it worked, I was then
confident enough to try the same experiment with my Gateway notebook. And, of
course, it worked as well.
Comment 50 Matthias Hopf 2005-09-12 10:33:56 UTC
1st) Jörg got a working fglrx configuration as in comment #41. But thanks for
     your additional input, so we have confirmed this is not a single laptop
     issue.
2nd) Bugs are marked as dups in order to close bugs with less input in order to
     concentrate information. Closing bugs as duplicates is not to insult
     anyone, but just a necessary work flow management. Which way the bugs are
     combined should be irrelevant to reporters, but is important for our
     workflow.
3rd) We have so many conflicting advices, because we do not have the hardware
     to reproduce the problem, so this is somehow flying blind. I could have
     CLOSED WONTFIX this one, but I want to give as much advise as I'm able to.
4th) Jörg Mayer is not related to SuSE, no need to insult him.
     He also did an extremely professional job in his checks.
5th) This bug report was about the open source driver, not about fglrx. If
     these drivers help, fine, but we cannot support them. What I'm more
     concerned with is that the open source drivers don't work.
     This is actually the first time I know that the open source drivers don't
     work but the fglrx drivers do.
6th) Who's 'George Mayer' anyway?

This bug is not yet closed for us.
Comment 51 Matthias Hopf 2005-09-12 10:44:49 UTC
Marcus, I've added you to this bug, because in addition to the non-working
driver sax2 (or hwinfo --monitor) doesn't detect the monitor correctly, while
the fglrx driver appearantly does.

Do you have any ideas what's going on there?

So currently the non-working configuration seems to be X700 only related.

William, as you seem to have tested Ubuntu as well, did the radeon driver work
in their distribution? Or was this on the ATI 9600? Additionally, did any other
than the native resolution work with the fglrx driver on the laptop?
Comment 52 Andreas Vetter 2005-09-12 11:10:40 UTC
(In reply to comment #50)
> 5th) This bug report was about the open source driver, not about fglrx. If
>      these drivers help, fine, but we cannot support them. What I'm more
>      concerned with is that the open source drivers don't work.
>      This is actually the first time I know that the open source drivers don't
>      work but the fglrx drivers do.
In bug 73092 it's similar, radeon does not work, but fglrx does.
Comment 53 Matthias Hopf 2005-09-12 12:24:41 UTC
It's different, because in this bug the machine locks up (while here it 'only'
does not display a valid screen).
But I agree that the radeon driver is currently in a bad shape WRT the modern
cards like X600 and X700.
Comment 54 Matthias Hopf 2005-09-13 16:15:46 UTC
Created attachment 49796 [details]
New CVS radeon driver

Please test this driver (replace the one in /usr/X11R6/lib/modules/drivers/
after backing it up).

Maybe the problem has been fixed upstream, some other problems have
definitively been fixed.
Comment 55 giulio alfano 2005-09-16 14:00:00 UTC
I have tried it on my asus(ati 9700 lcd 1280x800) and the problem(conly
corruption) is still there.
Do you need/wont more information? 
Comment 56 giulio alfano 2005-09-16 14:01:44 UTC
The problem is in rc1, b4, b3.... and 9.3 ;)
Comment 57 Jörg Mayer 2005-09-21 09:18:09 UTC
Sorry for the delay: I was on a business trip and had to return the laptop to 
its owner. But until the end of the week I've now both, time and laptop so 
it's time to play some more ;-) 
I've tried the new radeon driver from comment 54 and tried all the modelines 
again: No luck, the problem hasn't changed a bit. 
Comment 58 Matthias Hopf 2005-09-29 15:16:34 UTC
I was on a conference as well :]
Unfortunately, there hasn't been exactly much traffic on Xorg bugzilla #1559 as
well :-(

For radeon display detection there exists a patch collection ('radeon
superpatch') which I'll compile tomorrow and attach here for testing.
Comment 59 Matthias Hopf 2005-09-30 12:07:34 UTC
*** Bug 118956 has been marked as a duplicate of this bug. ***
Comment 60 Matthias Hopf 2005-10-12 11:43:44 UTC
Tried the radeon superpatch. Unfortenately, it crashed hard (no ping) all
systems I tested it on, so I cannot really suggest trying it.

If we get better relations with ATI, we can try to debug these issues in the
mid-term future. But without having a reproduction of the bug in house, this is
almost impossible as well.

Sorry, folks, have to suggest using the binary only driver from ATI, if this
helps you.

Closing this as LATER. Currently we cannot do anything for it.
Comment 61 Perret Florian 2006-03-19 15:13:50 UTC
Same problem with 10.1 beta 8. A solution could be find for this new release ?
Comment 62 Stephan Kulow 2008-06-25 09:33:05 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 63 Stephan Kulow 2008-06-25 09:34:32 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 64 Stephan Kulow 2008-06-25 09:40:57 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 65 Stephan Kulow 2008-06-25 09:52:37 UTC
Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED.

In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;(