Bug 12444 - Black screen on Mobility Radeon 9600 M10
Summary: Black screen on Mobility Radeon 9600 M10
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-16 06:03 UTC by Asbjørn Sannes
Modified: 2007-09-22 06:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log when screen is just black (40.41 KB, text/plain)
2007-09-16 06:05 UTC, Asbjørn Sannes
no flags Details
xorg.conf that results in black screen (6.91 KB, text/plain)
2007-09-16 07:56 UTC, Asbjørn Sannes
no flags Details

Description Asbjørn Sannes 2007-09-16 06:03:51 UTC
Using the driver from git (git://anongit.freedesktop.org/xorg/driver/xf86-video-ati) including the commit 38515d402555eaa61c686d42973e59f659b07466 I get a black screen, but X keeps running, and it seems to think that everything is working just fine (DISPLAY=:0.0 xrandr) tells me it is in the mode that it should be.

I'm currently running X.Org 7.3 with xf86-video-ati-6.6.3 and it works perfectly, the main reason to try out git was to test the randr stuff. And here is where thing gets interesting, because at first I compiled the git tree while running X and then did something stupid:
cp src/.libs/[ar]*.so /usr/lib/xorg/modules/drivers
cp src/.libs/t*.so /usr/lib/xorg/modules/multimedia

while the X server was running, and it naturally crashed, but then it restarted using the new drivers! And RANDR worked perfectly, I could hotplug monitors put them above,left-of and such. Really cool stuff (congrats on this by the way!!). Of course I thought it was all working, but after a reboot later on it only gave me a black screen.. I have tested in several ways and it seems to stick to the conclusion that the only way I can get it to work is by crashing the stable version of the driver by overwriting it.. I thought this might help you in the debugging. Anyways here is the lspci for the card:
lspci -vvv:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA])
        Subsystem: COMPAL Electronics Inc Unknown device 0012
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (2000ns min), Cache Line Size: 16 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at a8000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at c100 [size=256]
        Region 2: Memory at e0010000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at a0000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

I'll attach Xorg.0.log, also the backlight seems to be on, if that means anything to you.
Comment 1 Asbjørn Sannes 2007-09-16 06:05:25 UTC
Created attachment 11588 [details]
Xorg.0.log when screen is just black
Comment 2 Alex Deucher 2007-09-16 07:34:15 UTC
Can you attach your xorg.conf as well?  Can you get the output of xrandr --verbose when the screen is black?
Comment 3 Asbjørn Sannes 2007-09-16 07:56:38 UTC
Created attachment 11589 [details]
xorg.conf that results in black screen
Comment 4 Asbjørn Sannes 2007-09-16 07:59:57 UTC
Logging in blind and running xrandr --verbose:

$ DISPLAY=:0.0 xrandr --verbose
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2560 x 1200
VGA-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x4c
        Timestamp:  77477
        Subpixel:   no subpixels
        Clones:     
        CRTCs:      0 1
        load_detection: 1 (0x00000000) range:  (0,1)
LVDS connected 1400x1050+0+0 normal (normal left inverted right x axis y axis) 0mm x 0mm
        Identifier: 0x4d
        Timestamp:  77477
        Subpixel:   horizontal rgb
        Clones:     
        CRTC:       0
        CRTCs:      0
                scaler: full
        backlight: 255 (0x00000000) range:  (0,255)
  1400x1050 (0x4f)  108.0MHz
        h: width  1400 start 1448 end 1560 total 1688 skew    0 clock   64.0KHz
        v: height 1050 start 1051 end 1054 total 1066           clock   60.0Hz
  1024x768 (0x50)   65.0MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x51)   40.0MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x52)   25.2MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
S-video disconnected (normal left inverted right x axis y axis)
        Identifier: 0x4e
        Timestamp:  77477
        Subpixel:   no subpixels
        Clones:     
        CRTCs:      0 1
                tv_standard: ntsc
        tv_vertical_position: 0 (0x00000000) range:  (-5,5)
        tv_horizontal_position: 0 (0x00000000) range:  (-5,5)
        tv_horizontal_size: 0 (0x00000000) range:  (-5,5)
        load_detection: 1 (0x00000000) range:  (0,1)
Comment 5 Alex Deucher 2007-09-16 08:37:15 UTC
Do other modes work?  E.g.,
xrandr --output LVDS --mode 1024x768
Comment 6 Asbjørn Sannes 2007-09-16 08:45:45 UTC
No, didn't work, tried 800x600 and 640x480 aswell. And running xrandr X.org seems to think that everything is good..
Comment 7 Asbjørn Sannes 2007-09-19 12:16:24 UTC
Tested today with latest git, and it still gives me a black screen on my laptop.
Comment 8 Alex Deucher 2007-09-19 12:22:38 UTC
does reverting commit dc333884c540d536bffe51a5ebfaf1822af6a91c help?
Comment 9 Asbjørn Sannes 2007-09-19 22:47:24 UTC
Yes, it worked! :) Thank you very much!

Do I leave this bug open or do you close it when it is fixed proper?

Comment 10 Alex Deucher 2007-09-20 06:26:54 UTC
(In reply to comment #9)
> Yes, it worked! :) Thank you very much!
> 
> Do I leave this bug open or do you close it when it is fixed proper?
> 

leave it open for now.  I need to figure out how to fix it without breaking other chips.
Comment 11 Alex Deucher 2007-09-20 20:58:10 UTC
Can you try again with ati git master?  I want to make sure I've fixed this for real.
Comment 12 Asbjørn Sannes 2007-09-22 03:01:47 UTC
Works with master git (latest commit 5a6f74103f0ec0d451d0e2573442efe5922848af).
Comment 13 Alex Deucher 2007-09-22 06:18:38 UTC
great!


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.