LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2006, 05:32 AM   #1
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,672

Rep: Reputation: 122Reputation: 122
Shaking screen


I'm using XFree86 on Sarge. Last week I reinstalled my system as I wanted to undo some errors on partitioning (/ too small ). That went fine, but for some reason I couldn't get the kernel-sources of the standard kernel (2.6.8) properly installed so I build my own 2.6.17.13 kernel from the kernel.org sources. I needed that to install the nVidia drivers for my FX5200 card, which installed fine, but now my screen is shaking! I noticed this was also the case when I first re-installed when XFree86 used the nv driver. After I switched to the vesa driver the screen was stable. I tried to reconfigure X, but that didn't help. I tried the xvidtune utility, invoked as root, but that gave some vague 'permission denied' message and didn't change anything. Using the vesa driver is really not a long-term solution, why would I install the nvidia driver in the first place, right? (I need the nvidia driver to properly run Google-Earth and such) Anyone any idea's?

Last edited by Dutch Master; 09-16-2006 at 05:33 AM.
 
Old 09-16-2006, 01:22 PM   #2
Cyber_Paladin
LQ Newbie
 
Registered: Mar 2006
Location: Hong Kong
Distribution: Debian
Posts: 24

Rep: Reputation: 15
I'm not an expert in xorg, but let see if the following helps

For shaking screen, are you using LCD or CRT monitor?
I feel the shaking screen might be caused by refresh rate set too high. Can you compare the refresh rate from VESA driver and the NVidia one?

And for xvidtune not being able to run. Can you run xvidtune with the user who started the X session?
 
Old 09-17-2006, 06:42 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,672

Original Poster
Rep: Reputation: 122Reputation: 122
For some reason the forum engine failed to pick up your reply as new :-\ Oh well, I hope you're still here

First, it's not Xorg, it's XFree86 (the older version). I'm using a 15" LCD, which is actually properly recognized by the nvidia driver, for the first time! But you're right, I've noticed the vesa driver has a 71 Hz refresh rate, the nvidia driver has 75 Hz! Unfortunately, there's no way I can change this (or I don't know where to find it in the XFree86 config file :-\)

I tried xvidtune both as regular user and root, and both times I received the mentioned 'permission denied' notifications... Thx for pointing me in the right direction btw!
 
Old 09-18-2006, 09:41 AM   #4
Cyber_Paladin
LQ Newbie
 
Registered: Mar 2006
Location: Hong Kong
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Well the config file looks pretty much the same in XFree86 and Xorg, at least I'm not touching the fancy stuff yet

Anyways, I forgot the exact filename for XFree86 , if my memory still serves right it should be /etc/X11/XF86Config...
Look for the following lines:
Code:
Section "Monitor"
    Identifier  "Generic Monitor"
    Option      "DPMS"
    HorizSync   28-64
    VertRefresh 43-60
EndSection
You could probably change the VertRefresh line.
Hope this helps
 
Old 09-18-2006, 05:48 PM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,672

Original Poster
Rep: Reputation: 122Reputation: 122
This is from the config file by the nvidia installer:
Code:
Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 57.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection
This is the backup the installer made, with the vesa driver:
Code:
Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-57
	VertRefresh	43-72
	Option		"DPMS"
EndSection
Worth mentioning that I've modified XFree86 config files before, previous versions of the nVidia installer didn't work quite as good as this one I've changed back to the vesa driver, just changing the "Driver" option from nvidia to vesa in the Device section, w/o touching anything else in that file. And the screen is stable again... :-\
 
Old 09-19-2006, 12:26 PM   #6
Cyber_Paladin
LQ Newbie
 
Registered: Mar 2006
Location: Hong Kong
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Then there's something else!
Would you do a diff on the two files and see which line is the offender??
 
Old 09-19-2006, 07:22 PM   #7
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,672

Original Poster
Rep: Reputation: 122Reputation: 122
The file generated by the nvidia installer
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Tue Aug  1 21:11:12 PDT 2006

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
			# local font server
	# if the local font server has problems, we can fall back on these
    FontPath        "unix/:7100"
    FontPath        "/usr/lib/X11/fonts/misc"
    FontPath        "/usr/lib/X11/fonts/cyrillic"
    FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/Type1"
    FontPath        "/usr/lib/X11/fonts/CID"
    FontPath        "/usr/lib/X11/fonts/Speedo"
    FontPath        "/usr/lib/X11/fonts/100dpi"
    FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "speedo"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xfree86"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 57.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Generic Video Card"
    Driver         "vesa" <this was changed from nvidia so my screen is stable again>
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Generic Video Card"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
This is the backup:
Code:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"vesa"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-57
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
<edit: I did a diff on both files, but their layout is so much different that it just was easier to post both files >

Last edited by Dutch Master; 09-19-2006 at 07:26 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen is SHAKING! dustynus Linux - Hardware 2 03-10-2006 12:13 AM
Weird Screen Shaking in X nevelis Linux - Software 2 02-25-2005 06:22 PM
Screen shaking Hammett Linux - Hardware 0 04-24-2004 08:07 AM
Screen shaking need help installing drivers cheatinpete Slackware 5 02-02-2004 11:36 AM
Monitor Screen Shaking a Lot. rvijay Linux - Newbie 18 09-16-2003 06:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration