Full Disclosure mailing list archives
RE: Xfree86 video buffering?
From: "Allan" <fulldisclosure () wateraxe demon nl>
Date: Fri, 25 Feb 2005 09:16:03 +0100
So the RAM should be flushed during shutdown .. (as early in the shutdown procedure as possible, I'd say). Trying to do this during the boot sequence is useless. You could make a special 'bootdisk' that would show you the contents of the videoram. This would also make it available for longer then the current 1 or 5 second 'flash' ... Just my 2c Allan [quote] I don't think this is at all easily solvable - when the X server starts up, the card is probably in console mode using the VGA emulation, which is pretty brain-dead and doesn't touch much of the card memory (when you have 32M or 64M on-card, that 640x480 gets lonely sitting in the corner). The X server first has to pop it into the native NVidia/ATI/whatever graphics mode (remember, it has to do that *before* it can access the video memory - you can't get there while still in VGA emulation). Then it can proceed to clear out the on-card memory. Unfortunately, if the X server pauses in between setting the mode and clearing the memory, you get to see the uninitialized (and therefor left-over) buffers. About the best you can do here is fix the server to try to not do any time-intensive operations between the mode set and the clear. There's multiple reasons why it can even survive a power cycle. In my case, I've only been powering off for a few seconds (stupid laptop doesn't have a MNI Reset button, which would be quite helpful when doing kernel-level hacking), and the voltage levels in the RAM hadn't decayed all the way to bit lossage. It's also quite possible that some video cards are made with static ram rather than dynamic ram, which greatly increases the chances that the bits will survive even an extended power-off, and/or the power "off" isn't really all the way "off" - if the machine supports "suspend to RAM", it may be keeping a very low trickle of power going to keep the memory from going poof.... [/quote] _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- Re: Xfree86 video buffering?, (continued)
- Re: Xfree86 video buffering? defiance (Feb 23)
- Re: Xfree86 video buffering? KF (Lists) (Feb 23)
- Re: Xfree86 video buffering? Eric Paynter (Feb 24)
- Re: Xfree86 video buffering? Eric Windisch (Feb 24)
- Re: Xfree86 video buffering? Rodrigo Barbosa (Feb 24)
- Re: Xfree86 video buffering? KF (Lists) (Feb 24)
- Re: Xfree86 video buffering? Rodrigo Barbosa (Feb 24)
- Re: Xfree86 video buffering? Eric Windisch (Feb 24)
- Re: Xfree86 video buffering? defiance (Feb 23)
- Re: Xfree86 video buffering? KF (Lists) (Feb 24)
- Re: Xfree86 video buffering? Rodrigo Barbosa (Feb 24)
- Re: Xfree86 video buffering? Valdis . Kletnieks (Feb 24)
- RE: Xfree86 video buffering? Allan (Feb 25)
- Re: Xfree86 video buffering? James Tucker (Feb 25)
- Re: Xfree86 video buffering? Riad S. Wahby (Feb 25)
- Re: Xfree86 video buffering? bkfsec (Feb 25)
- Re: Xfree86 video buffering? Stan Bubrouski (Feb 25)
- Re: Xfree86 video buffering? bkfsec (Feb 25)
- Re: Xfree86 video buffering? Stan Bubrouski (Feb 25)