public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Nix N. Nix" <nix@go-nix.ca>
To: linux-kernel@vger.kernel.org
Subject: Reset PCI card
Date: 23 May 2002 05:21:23 -0400	[thread overview]
Message-ID: <1022145683.21661.15.camel@tux> (raw)

The symptom:

Sometimes, when I switch between virtual terminals, (away from X ==
tty7), instead of getting my usual login prompt, the picture I've had
during my X session (or the picture of the display manager) stays on the
screen, albeit with some of the colours screwed up (as if it were a 256
colour palette-based display, even though it's 24 bit colour - you know,
like in Windows, when you have 256 colours and you switch from one app
to another and the colours in your background picture get all frelled
up).  The terminal does switch over to the appropriate tty because I can
log in and type whatever (blindly though) and it does work.

The problem:

There is no way to somehow reset my video card so that it once again
switches between X and console mode correctly.

The question:

Is there any way of fooling an AGP card (or a PCI card) into believing
that the computer has been powercycled/rebooted/whatever ? 
Alternatively, is there any other approach to fixing this problem (==
getting my consoles back) ?  I have no frame buffer devices compiled
into the kernel (vanilla 2.4.18).  This problem seems to be video card
independent and it seems that starting multiple X servers tends to
precipitate this problem.  So far, I have experienced it with
NVidia(AGP, has DRI), Voodoo5/5500(PCI, has DRI), ATI Rage Mobility P/M
(AGP-Laptop, no DRI).
It's as if the video card all of a sudden refused to switch modes from
1024x768x24 to console and back.

The solution:
The only solution I could find (obviously unsatisfactory) is to reboot. 
Hence my question:  I'd like to fool the card into thinking I've
rebooted, or otherwise get it switching modes again.



Thanks for your attention.


             reply	other threads:[~2002-05-23  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23  9:21 Nix N. Nix [this message]
2002-05-24 11:39 ` Reset PCI card Michael Dunsky
2002-05-24 19:04   ` Nix N. Nix

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=1022145683.21661.15.camel@tux \
    --to=nix@go-nix.ca \
    --cc=linux-kernel@vger.kernel.org \
    /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