|
From: Jim H. <jim...@ac...> - 2002-04-30 09:20:29
|
On 29-Apr-2002 Jani Monoses wrote: > The way it disappeared for me was by not calling do_set_var in trident > init.It was called before register_frambuffer.I thought I posted to the > list last week but it seems I only replied to Jim. > Antonio Daplas suggested that the card should not be in graphics mode when > registering the fb.See the list archives subject: tridentfb review some > months ago) Jani, thank you. I get what you are saying, now. Sorry it took me so long to catch on. BTW, I can't find the 'tridentfb review' thread in the archives. The problem is, essentially, that the outgoing VGA console and the incoming FB console are the same card. Initialise that card to a graphics mode and *blam* the card remaps to the graphics mode and fishing around in the text mode screen memory to find the contents of the outgoing console produces random garbage. So Antonio's suggestion that the card should not be in graphics mode when registering the FB is correct; registering needs to happen before the card is switched away from VGA mode in any way. Simply removing the call to do_set_var doesn't work for pm2fb; I think too much initialisation has happened by then. Sven, pmfb is (I think) similar in this respect; any ideas? -- Jim Hague - jim...@in... (Work), ji...@be... (Play) Never trust a computer you can't lift or you don't control. |