On Thu, 6 Oct 2005, Dave Airlie wrote:
How about putting the ability to disable graphics mode in the kernel and
moving this capability from X, and saving the video state. Would make
kernel debuggers work a hell of a lot better when the damn thing crashes
in X in the kernel. At least then the screen won;t be locked up (of
course you can type "reboot " from memory while the system is still hung
in X).
You don't need to reboot. You can use some tools to restore text
mode - svgalib comes with three such tools, that work in large majority
of the cases:
textmode (on all platforms), mode3 and vga_reset (i386 only).
It's been on the todo list for a long while... there's been talks at
different events about it, there'll be a talk at LCA from me again
about it and what has happened since KS (not a huge amount)....
We've nearly all agreed on a direction, we haven't found anyone with
the bandwidth to actually move things in that direction... (or at
least no-one has said to me heres some money go do this thing... :-)
I intend to put that part of svgalib in kernel (restoring modes),
since it would make the most complicated part of svgalib -- console
switch handling -- much simpler. The problem is that svgalib only
handles video mode, totally ignoring 2D/3D engines, so it might
--
Matan Ziv-Av. [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]