LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   screen goes un-readably distorted after leaving X11 (https://www.linuxquestions.org/questions/linux-software-2/screen-goes-un-readably-distorted-after-leaving-x11-333971/)

hedpe 06-15-2005 03:59 PM

screen goes un-readably distorted after leaving X11
 
Hi,

I use a Dell 2005FPW which is a wide screen LCD. It took me some time to get it to work with X11, but ever since I have, when I leave X11, it makes my console completely distorted and unreadable. Everything is blurry and the text is just all over the place.

Another thing, is when I boot up, the screen seems wrongly offset or something, for instance, when gentoo loads, it has the [OK] boxes on the right hand side... well the right bracket gets cut off and ends up at the beginning of the line, so it looks like:

Code:

]  Bringing up eth0                                      [OK
I can't figure out either of the problems. Any help would be greatly appreciated, thanks!

So let me give you some of my settings:

In my kernel, I have the following enabled:
Code:

Device Drivers -> Graphics Support -> Support for framebuffer devices
Device Drivers -> Graphics Support -> Vesa VGA Graphics Support -> Vesa Driver Type -> vesafb
Device Drivers -> Graphics Support -> support for the framebuffer splash

/boot/grub/grub.conf
Code:

default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux RAID
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r11 root=/dev/md0 video=vesafb:ywrap,mtrr,1680x1050-32@60

title=Windows XP G@m1nG
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,0)
chainloader +1

xorg.conf
Code:

Section "Module"
    Load        "dbe"  # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load      "glx"
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath  "/usr/share/fonts/misc/"
    FontPath  "/usr/share/fonts/TTF/"
    FontPath  "/usr/share/fonts/Type1/"
    FontPath  "/usr/share/fonts/75dpi/"
    FontPath  "/usr/share/fonts/100dpi/"
    FontPath  "/usr/share/fonts/local/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"  "xorg"
    Option "XkbModel"  "pc104"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"  "ExplorerPS/2"
    Option "Device"    "/dev/input/mice"
    Option "Buttons"    "10"
    Option "ZAxisMapping"      "9 10"
    Option "Resolution" "800"
EndSection

Section "Modes"
Identifier "16:10"
ModeLine "1680x1050" 146.2 1680 1960 2136 2240 1050 1080 1086 1089
-hsync +vsync
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    UseModes "16:10"
    HorizSync  30-83
    VertRefresh 56-75
    Option "dpms"
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName  "Unknown"
    Driver    "vga"
EndSection

Section "Device"
    Identifier  "Leadtek Winfast gf6800"
    Driver      "nvidia"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Leadtek Winfast gf6800"
    Monitor    "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth      8
        Modes      "1680x1050"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1680x1050"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1680x1050"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      32
        Modes      "1680x1050"
        ViewPort    0 0
    EndSubsection

EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


LinuxVB 06-15-2005 06:33 PM

I believe it's the framebuffer support in your kernel giving you fits with the nvidia driver.
I use SuSE, and they use framebuffer graphics, too.
With the nvidia driver installed on one of my PCs, I lose the <ctrl-alt-F#> consoles and the screen is garbled during shutdown like yours.
Try passing "vga=normal" to the kernel at boot - that cured my framebuffer problems.

hedpe 06-16-2005 01:22 AM

hmmm, i tried passing vga=normal to my kernel at boot but that didn't seem to solve my problems :\

thanks for the suggestion, we'll figure it out :)


All times are GMT -5. The time now is 04:07 PM.