LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2010, 04:07 AM   #1
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Rep: Reputation: 16
Problem returning to TTY7 from any TTY. (Best explained with a screenshot)


Hello.
I am using VectorLinux 6.0 standard with Gnome SlackBuild (GSB) 2.22.1 on a GigaByte w536m laptop with Intel Crestline GM 965 video card.

My problem is when ever I switch to another TTY (Ctrl+Alt+F1-6) and then back to TTY7 (the one with X) all the text is gone and most of the images too.
"A picture is worth a thousand words" (1280x800 resolution)
http://img43.imageshack.us/img43/6489/screenshotdkp.png

xorg.conf:
Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

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

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbRules" "xorg"
Option      "XkbLayout" "us,il"    ## KEYBOARD_MAP!
Option      "XkbOptions" "grp:alt_shift_toggle"
Option      "XkbModel" "pc105"    ## KEYBOARD_MODEL!
Option      "XkbVariant" ""    ## KEYBOARD_VARIANT!
EndSection

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

Section "Monitor"
Option "DPMS"
DisplaySize 336 210 # 96 DPI @ 1280x800
Option "UseEdidFreqs" "1"
#DisplaySize	  330   210	# mm
Identifier   "Monitor0"
VendorName   "CMO"
ModelName    "1526"
HorizSync 31.5-64
VertRefresh 40-90
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
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
BusID       "PCI:0:2:0"
EndSection

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

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "on"
EndSection
I didn't find any dedicated forum for X so I posted here.
I'd appreciate any help or leads on how to solve this mess.
 
Old 11-04-2010, 08:51 PM   #2
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
sounds like driver problems. Go to the intel page for your video card and download and install the manufacturer drivers. Open source linux video drivers have caused me all sorts of problems with intel ATI and Nvidia
 
Old 11-05-2010, 06:06 AM   #3
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Thank you for the replay.
Intel's page tells me to use the drivers in my distro.
I did found this:
http://downloadcenter.intel.com/Deta...=2115&lang=eng
it's dated 2006 and it seems to be more complex than I can handle.


Edit:
I noticed now it doesn't always happen.
if I keep switching to different TTY's then after a couple of times when I go back to TTY7 it works fine.

Edit 2:
If I go to any TTY where it shows me the login screen and I simple tap "enter" without a login name and then return to TTY7 then it works fine.
I don't think it's the drivers.

Last edited by masmddr; 11-05-2010 at 06:53 AM.
 
Old 11-05-2010, 08:24 AM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
The mechanism causing this is that X protocol requests to refresh windows and widgets is either not happening or not being handled right. Note that one set of buttons is filled in but the other set in another window is not.

Do you have compiz running? I saw an effect similar to this once (Ubuntu 9.10) which was cured by restarting compiz.

Is your text mode on VTs 1-6 in real VGA text mode, or frame buffer?
 
Old 11-05-2010, 08:39 AM   #5
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
I don't have compiz installed.
Quote:
Note that one set of buttons is filled in but the other set in another window is not.
do you mean the minimize / maximize / close buttons?
if so than it's because the theme I use (unity) doesn't show them for windows who aren't in focus.

Quote:
Is your text mode on VTs 1-6 in real VGA text mode, or frame buffer?
How do I tell?

Last edited by masmddr; 11-05-2010 at 08:43 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open a window on tty7 nausicaavow Linux - General 1 12-28-2008 04:35 AM
Getting text console in tty7 armandino Linux - General 1 06-13-2007 07:48 PM
Why does simple secondary X-server script only work on tty[1-6], not tty7? Enselic Linux - General 6 03-06-2007 05:20 AM
X: can't switch from tty7 to ttyx to tty7 again: blank screen DaneM Slackware 11 08-26-2005 08:36 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 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