linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: adaplas@pol.net
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Finally found why 2.6.x has troubles with taking over vgacon
Date: Sat, 3 Jul 2004 21:56:13 +0200	[thread overview]
Message-ID: <20040703195613.GA30739@vana.vc.cvut.cz> (raw)

Hi Antonio,
  yesterday I finally found why 2.6.x has problems with taking over vgacon.
Problem is that take_over_console does:


  if (IS_VISIBLE)
    save_screen(i);
  ...
  visual_init(i, 0);
  ...

so code nicely saves screen contents, and calls visual_init, which calls 
fbcon's init, which in turn can issue vc_resize. And this vc_resize will
trigger read from vc->vc_origin. But vc_origin still points to videomemory,
not to the buffer where save_screen() copied its data.

  In my fbcon (http://platan.vc.cvut.cz/ftp/pub/linux/matrox-latest/matroxfb-2.6.7-c1784.tar.gz)
after I put

  origin = visual_origin = screenbuf;

below save_screen call, and removed clearing screen from radeon sources 
both radeonfb and matroxfb were able to take over vgacon, without any 
randomly colored characters on screen.

  It also allows for removing special fillrect clear, as now code
which clears upper few lines of logo area actually works...
						Best regards,
							Petr Vandrovec




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

             reply	other threads:[~2004-07-03 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-03 19:56 Petr Vandrovec [this message]
2004-07-04  0:58 ` Finally found why 2.6.x has troubles with taking over vgacon Antonino A. Daplas

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=20040703195613.GA30739@vana.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).