[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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.