NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/40322 (netbsd-5: xorg destroys console)

On Mon, May 18, 2009 at 02:15:05AM +0000, Matthew Mondor wrote:
> The following reply was made to PR xsrc/40322; it has been noted by GNATS.
> From: Matthew Mondor <>
> To:
> Cc: 
> Subject: Re: xsrc/40322 (netbsd-5: xorg destroys console)
> Date: Sun, 17 May 2009 21:18:30 -0400
>  I just looked now and it seems that the radeon driver doesn't have this
>  VGAHW support.  I'm not sure if the solution would be to also include
>  support for this in it or if a more general solution can be found.
>  Should VGA be reset for all drivers in the case of i386?  If so, this
>  code could probably be from the ATI drivers to another location...

I think the radeon / ati driver picks up VGAHW support via a #define in
xorg-server.h which is included from it's local config.h

I've tested the radeon driver with a radeon 9200 agp and while it still has
the 'dark font on console restore' issue that the r128 driver also has in
non-16-bpp modes (I've been meaning to look at this in more depth at some
point, but haven't gotten the round-tuits), but otherwise restore VGA mode

To your latter point, I think Jared McNeill has convinced me that The Right
Thing is to make the vga(4) driver restore proper text mode settings when
it gets control from the X server again.. but again, I haven't had the time
to look at this.  Certainly Linux takes this path (hence the wealth of text-
mode restore bugs resulting from "All the world's a Linux" mindset ;)) and
I've been told that OpeBSD does as well, so there's likely code there we can
steal.  I won't preach further until I have something to show off ;)


  Time is an illusion; lunchtime, doubly so.     |/\/\|           Rafal Boni
                   -- Ford Prefect               |\/\/|

Home | Main Index | Thread Index | Old Index