LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Screen switches to 720x400 when exiting X (https://www.linuxquestions.org/questions/linux-general-1/screen-switches-to-720x400-when-exiting-x-381203/)

baldy3105 11-08-2005 03:00 PM

Screen switches to 720x400 when exiting X
 
Hi guys,

I'm running Gentoo 2005.1 and an Nvidia Ti4400. I've managed to configure X for dual screens, one monitor and one TV.

I can startx and get a signal from my tvout. I can run mythfrontend on display :0.1 and it all displays fine.

My problem is when I exit from X (ctl-alt-backspace), which I'm doing quite a lot while setting things up, my screen blacks out. The LED is still on so its not lost a signal or anything, but if I look at the OSD on the monitor its running in 720x400 resolution!!. Not sure if I goofed in my xorg.conf somewhere, it did take a bit of fiddling around to get the two screens working. The funny thing is that I can't do anything with the machine once its gone like that. None of the other terminals work even ctl-alt-delete doesn't do anything.

What is it that defines screen resolutions etc outside of X, is it something to do with that prehaps? Way out of my depth now.....:confused:

Any help here would be much appreciated as I've got no more hair to tear out!

My xorg.conf -

Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" above "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
Load "extmod"
#Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
HorizSync 30-107
VertRefresh 70-120
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 60
Option "dpms"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor""CRT" # <str>
#Option "ConnectedMonitors" "2" # <str>
#Option "TVStandard" "PAL-I" # <str>
#Option "TVOutFormat" "composite" # <str>
#Option "RenderAccel" "1" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" "True" # [<bool>]
#Option "TwinViewOrientation" "Clone" # <str>
#Option "SecondMonitorHorizSync" "30-50" # <str>
#Option "SecondMonitorVertRefresh" "60"# <str>
#Option "MetaModes"
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV25 [GeForce4 Ti 4400]"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Option "ConnectedMonitor" "TV"
Option "TVStandard" "PAL-I" # <str>
Option "TVOutFormat" "composite" # <str>
Option "TVOverScan" "0.1" # <f>
Option "RenderAccel" "1" # [<bool>]
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV25 [GeForce4 Ti 4400]"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "TV"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "800x600"
# Viewport 0 1
EndSubSection
EndSection

ciotog 11-10-2005 09:18 AM

Screen support outside of X is handled by the kernel. Do you have framebuffer support? I use lilo and have a line in /etc/lilo.conf:
Code:

vga=773
which tells the kernel to use a framebuffer to display text (it's a virtual text vs a plain text console - meaning that characters are drawn graphically instead of using the standard "80x25" mode). If there's a problem with the framebuffer than you might have corrupt or blank displays. If you have SVGATextMode installed you can try typing
Code:

SVGATextMode
in the blank display and it should at least restore you to "80x25" mode. If so, then you can use this program to specify a different vga text console mode and it will handle the display instead of the kernel.

baldy3105 11-14-2005 10:58 AM

Thanks for this, I'll give it a go.

Cheers


All times are GMT -5. The time now is 09:19 AM.