erase_video_memory_on_shutdown.mdwn 1003 Bytes
Newer Older
Tails developers's avatar
TODO++  
Tails developers committed
1
2
3
4
[[!tag todo/research]]

Ways to recover video memory from a shutdown system may exist.
Hence, Tails should erase that memory on shutdown.
127.0.0.1's avatar
127.0.0.1 committed
5
6
7
8
9
10
11
12
13
14

Talking with a friend of mine who used to work on video card drivers for X.org (slightly paraphrased, didn't need to take you through the entire conversation):

> < brutal_chaos> MostAwesomeDude: is it possible to erase video ram for all types of video cards during shutdown?

> < MostAwesomeDude> You can't clear the VRAM until the computer's off, because the BIOS will keep writing to it up until the last second.

> < brutal_chaos> Is there a way to flush the vram then?

> < MostAwesomeDude> Basically, become root, find the PCI BAR where VRAM's mapped, and walk over it. There's a couple things called mmapw and mmapr that can help you; Google for them.
15
16
17


Another idea, maybe related to the previous (this isn't really my strong point), is mapping all ram, including video memory as virtual ram and with the use of kfree in the kernel, writing all 0's to it.