Subject: blank screen (console) after XFree86/vesa exit
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 08/30/2004 23:45:10
Hi,

I modified my XF86Config to use vesa rather radeon (for TV-out issues).
When I use the VESA driver, I can get a correct X session but... when I
quit XFree86, the console is blank... I still can log to another console
and type "reboot" but that's not really nice...

Don't know if linked, but when set to one resolution (for eg, 1400x1050)
and switch with Ctrl-Alt-+, the screen gets "dirty" (stripes of color in
diagonal) until I come back to the initial resolution.

I also have VGA_CONSOLE_ATI_BROKEN_FONTSEL and VGA_RASTERCONSOLE
compiled in my kernel.

anyone knows why or how to avoid this ?

TIA,
	Jo

PS: here's a bit of conf I have

Section "Device"
        Identifier      "vesa"
        Driver          "vesa"
EndSection
Section "Screen"
        Identifier      "TV"
        Device          "vesa"
        Monitor         "TV"
        DefaultDepth    24
        SubSection "Display"
                Viewport        0 0
                Depth           24
                Modes           "1400x1050" "800x600" "640x480"
        EndSubSection
EndSection

(II) VESA(0): initializing int10
(WW) VESA(0): remove MTRR a0000 - c0000
(WW) VESA(0): remove MTRR c0000 - 100000
(II) VESA(0): Primary V_BIOS segment is: 0xc000
(WW) VESA(0): remove MTRR 0 - 1000
(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 2.0
(II) VESA(0): VESA VBE Total Mem: 65536 kB
(II) VESA(0): VESA VBE OEM: ATI MOBILITY RADEON 8500
(II) VESA(0): VESA VBE OEM Software Rev: 1.0
(II) VESA(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) VESA(0): VESA VBE OEM Product: M9  
(II) VESA(0): VESA VBE OEM Product Rev: 01.00
(**) VESA(0): Depth 24, (--) framebuffer bpp 24
(==) VESA(0): RGB weight 888
(==) VESA(0): Default visual is TrueColor
(==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
(II) VESA(0): Total Memory: 1024 64KB banks (65536kB)
(II) VESA(0): TV: Using default hsync range of 28.00-33.00 kHz
(II) VESA(0): TV: Using default vrefresh range of 43.00-72.00 Hz
(II) VESA(0): Not using built-in mode "1400x1050" (width too large for
virtual size)
(II) VESA(0): Not using built-in mode "1280x1024" (width too large for
virtual size)
(II) VESA(0): Not using built-in mode "1024x768" (width too large for
virtual size)
(II) VESA(0): Not using built-in mode "800x600" (width too large for
virtual size)
(--) VESA(0): Virtual size is 640x480 (pitch 640)
(**) VESA(0): *Built-in mode "640x480"
(**) VESA(0):  Built-in mode "640x400"
(**) VESA(0):  Built-in mode "640x350"
(==) VESA(0): DPI set to (75, 75)
(II) VESA(0): Attempting to use 60Hz refresh for mode "640x480" (112)
(**) VESA(0): Using "Shadow Framebuffer"

-- 
                  ,      ,
       o    .    /(,----.)\        o
       |   /,\   \' ^  ^ `/        |
       |   ((    | (o)(o) |        |
  _____|____\\.OOOo_(__)_oOOO._____|_____
 /                                       \
 )  Of course, this mail runs NetBSD...  (
 \_____________________Oooo._____________/ 
       |       .oooO   (   )       |
     ,---.     (   )    ) /      ,---.
     | | |      \ (    (_/       | | |
     V V V       \_)             V V V