LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2005, 03:00 PM   #1
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
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.....

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

Last edited by baldy3105; 11-08-2005 at 03:02 PM.
 
Old 11-10-2005, 09:18 AM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
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.
 
Old 11-14-2005, 10:58 AM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Original Poster
Rep: Reputation: 184Reputation: 184
Thanks for this, I'll give it a go.

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen blacks out after exiting x Skunk_Face Slackware 11 02-17-2004 02:06 AM
exiting X produces garbage all over screen IanS Linux - Newbie 1 10-12-2003 04:42 AM
screen flickers after exiting X for RH9 on Inspiron vishwa Linux - Laptop and Netbook 1 09-12-2003 05:50 AM
screen flickers after exiting X on RH9 vishwa Linux - Newbie 0 09-05-2003 04:29 AM
Blank screen after exiting X-windows apaqd Linux - Hardware 1 07-11-2002 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration