public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Pozsar Balazs <pozsy@sch.bme.hu>
Cc: linux-kernel <linux-kernel@vger.kernel.org>, dwmw2@infradead.org
Subject: Re: FBdev remains in unusable state
Date: Thu, 13 Dec 2001 18:00:26 MET-1	[thread overview]
Message-ID: <BE390EC144E@vcnet.vc.cvut.cz> (raw)

On 13 Dec 01 at 14:29, Pozsar Balazs wrote:
> On Thu, 13 Dec 2001, David Woodhouse wrote:
> >
> > VANDROVE@vc.cvut.cz said:
> > > Documentation/fb/vesafb.txt, X11 paragraph, last sentence:
> > > -------8<-----
> > > The X-Server must restore the video mode correctly, else you end up
> > > with a broken console (and vesafb cannot do anything about this).
> > > -------8<-----
> >
> > This isn't strictly true. We could just call the VESA BIOS to set it up
> > again for us. The 'vesa' XFree86 driver manages to do this perfectly well
> > from userspace, even.
> 
> Then why not include this set up code into vesafb?

As it requires userspace, complete realmode 16bit DOS environment, it 
should not live in kernel (due to being 16bit code, and requiring its 
own mm). There was some patch which used protected mode VESA services 
to set videomode, but as nobody uses these services, BIOSes either do 
not provide them at all, or services provided are buggy and unusable.

If VESA BIOS virtualization it is something like (debian) 'read-edid' 
package does - then please no. It prints dozens of messages to screen 
for about 2 minutes on Matrox hardware, and if you switch consoles 
during that, CRTC setting is hopelessly damaged and only starting X 
brings picture back to you. And it does not read any EDID, of course...
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz

             reply	other threads:[~2001-12-13 17:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-13 18:00 Petr Vandrovec [this message]
2001-12-13 17:03 ` FBdev remains in unusable state David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-12-12 21:55 Petr Vandrovec
2001-12-13 11:35 ` David Woodhouse
2001-12-13 13:29   ` Pozsar Balazs
2001-12-13 16:11     ` David Woodhouse
2001-12-12 21:32 Petr Vandrovec
2001-12-12 20:42 ` Pozsar Balazs
2001-12-12 20:13 Petr Vandrovec
2001-12-12 20:14 ` Pozsar Balazs
2001-12-12 18:49 Pozsar Balazs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BE390EC144E@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pozsy@sch.bme.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox