[SOLVED] Console is distorted after quitting X server if boot option vga=* set
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Console is distorted after quitting X server if boot option vga=* set
I use LFS 6.3 and Xorg 6.9 (its installation is described in BLFS 6.2, i used this verion by mistake).
It works, but when i use any video driver except of vga_drv.so, quitting X server results in screen distortion, i.e. some characters which should be in the upper left part of screen continuously move through the screen as if there were some problems with CRT registers setup. Resizecons does change font size, but nothing other. Switching to other ttys doesn't output anything on the monitor and the moving text is not changed. Issuing startx after quitting X starts X normally, i.e. graphic video mode is set correctly again, but new quitting results in the same problem.
My video card is NVIDIA GeForce 7200GS, driver "nvidia" was downloaded from nvidia site.
I found that this problem only exists if i use boot option vga=0x0f07 or 0x0f06 (80x60 or 80x30 respectively), and there are no problems with modes like 80x25 and 80x50. But i need to use modes with 480 scanlines such as 80x60 because of inability to make my monitor automatically adjust the picture by moving it to the center, and modes with 400 scanlines are displayed moved away. (There are no front panel buttons on my monitor).
I also tried using kernel from LiveCD, having modified it to be able to load from SATA disks, this doesn't solve the problem...
Using resizecons instead of vga=* is not well-working as the logical size of console remains 80x44 or something similar instead of 80x60 while the screen is resized.
How can I make the console not to distort after quitting X while using text modes with 480 scanlines?
Puppy Linux Live CD gives you various screen resolutions, colors, etc on booting up from the live CD and this may give you some indication of what or where the problem is. Puppy is pretty quick so after a download and boot up, you might find a solutions to your problem.
As far as i've investigated, the problem is likely in the hardware. I tried two different video cards after this one, and one of them showed the console not distorted, but there were some problems, another one works ok. Anyway, now i use vesafb, so the problem is solved.