LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-22-2004, 12:10 PM   #1
eolson
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Rep: Reputation: 0
X on laptop not centered


I've installed a few distros on my compag presario 1200 laptop and all have the same problem. Xfree86 does not center the screen correctly. It's a few pixels to the right, so there is a black line along the left egde the the mouse and windows can go a little off the right side of the screen.

It's using a trident cyberblade videocard and i'm using the trident driver for X.

I've tried the svga driver and it does not work.

I've tried to center the screen using the program xvidtune, but it does not seem to work correctly on several computers that I have. Anybody know how to use this tool?

I did a search and noticed that the trident driver supports the xv video extenstions. I tried this line but nothing changed.

Option "XvHsync" "10"

Here is the output from the log file

(**) TRIDENT(0): Option "XvHsync" "10"
(**) TRIDENT(0): Xv Hsync set to 10
(**) TRIDENT(0): Xv Hsync set to 10

I'm not really sure what this is... is this just for video of some sort?

So, my question is how can I move the X output on an LCD screen?
Are there other drivers I can try, what about using a framebuffer (I don't know anything about using these).

Thanks for any suggestions
 
Old 06-23-2004, 01:57 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
xvidtune really is your friend here.

You need to launch xvidtune, use the adjustment capability to center and size you screen, then copy down the entries you need to set up a modeline in your XF86config file.

Also check the man page or the docs on the XFree86 website for your driver. There may be driver options that will help you get things centered and sized.
 
Old 06-23-2004, 03:22 AM   #3
Raphael M
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian
Posts: 67

Rep: Reputation: 15
I suggest trying to solve the problem with xvidtune like idaho posted.
If you canīt solve the problem this way, maybe this can help -> http://www.linuxquestions.org/questi...hreadid=195932
( i know itīs "the lazy mans way" but it works )
 
Old 06-23-2004, 09:49 AM   #4
eolson
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
I've been trying to get the xvidtune program to work for a while and It just won't do anything. If i'm at 23bit colors the screen gets really weird and messed up. If i'm using 16bit colors the screen won't move at all, it just stays there. I am using the vidtune extension so it should work right?

I don't think knoppix will help because everything is set up correctly. I'm using the trident driver and have all the correct values.


If I use the vesa driver it works and centers correctly, but then video playback is extremely bad, so I would like to use the trident drivers.
Are there other drivers I can try which will not have on the performance?

I've tried xvidtune on my other computer with an LCD screen and it does not work either, It just does nothing.

Is there some special thing I have to do to get xvidtune to work properly?

Thanks for the replies.
 
Old 06-23-2004, 11:16 AM   #5
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
I have successfully used xvidtune on NEC LCD monitors. I just tried it on a Dell Latitude laptop, and I found that xvidtune's changes were ignored as you described.

I just did a "man trident" and saw a couple of options that might help:
XvHsync, XvVsyn, and XvRskew.
 
Old 06-23-2004, 12:43 PM   #6
eolson
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
yeah, thanks I tried those

they only shift video output around unfortunately
 
Old 06-23-2004, 01:03 PM   #7
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
whoops! I just reread your first post and saw that you had tried XvHsync. Sorry for being oblivious.

If the XvHsync and XvVsync move the video around, as I understand you to say, then why not use these to move the video to the left and the XvRskew option to skew it to the right?
 
Old 06-23-2004, 05:21 PM   #8
eolson
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
Unfortunately they only move video output from players like Xine and Mplayer around. So like when you are watching a dvd, even if it's in a window the output will be skewed to one or the other side of the window. It has no effect on the actual X output.


Well it seems as if xvidtune just doesn't work on some monitors, or video drivers.
and passing different modelines seems to have no effect.
So I guess i'm at a dead end
 
Old 06-23-2004, 06:03 PM   #9
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You could try a commercial X server. Xig lists support for the Trident Cyberblade chips:
http://www.xig.com/Pages/Atop/Hardwa...ChipINDEX.html

You could also try reporting the problem to the XFree86 project:
http://www.xfree86.org/help.html

Or you might the X.org X server. If you see the same problem try reporting the bug to X.org:
http://freedesktop.org/bin/view/XOrg..._asking_questi
 
Old 06-24-2004, 12:39 AM   #10
eolson
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for all the replies, I finally figured it out although I have no idea why the solution worked
If somebody wants to explain it to me I would be very grateful.

I broke down and downloaded knoppix to see if it would work any better. Everything on the laptop was configure perfectly, Knoppix is really amazing. Anyway, I copied the XF86Config file from knoppix to my hard drive, rebooted, and I still had the same problem. arghh.

The only difference I could remember was that knoppix ran a framebuffer to the proper resolution when it booted. I edited my grub config to boot at 1024x768, rebooted and everything works great now.

I have no idea why, but at least it works.
 
Old 05-22-2006, 04:29 AM   #11
mich_r
LQ Newbie
 
Registered: May 2006
Location: poland, bydgoszcz
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Hi, I have Toshiba Tecra laptop with Trident CyberbladeXP and I have the same problem with screen centering. I managed to center Xv image, but X screen remains shifted 2-3 pixels right, xvidtune makes no reaction.

I am a linux newbie and I cannot understand the solution you provided

EDIT

newermind, problem solved for those who are interested -> http://ubuntuforums.org/showthread.p...99#post1044099

Last edited by mich_r; 05-23-2006 at 09:50 AM.
 
Old 06-09-2006, 10:15 AM   #12
jbennet1
LQ Newbie
 
Registered: Jul 2005
Location: Surrey, UK
Posts: 14

Rep: Reputation: 0
This happens on my R30 Thinkpad with SuSE - I use Sax2 (suses x config thing) and hit test or something and then i can move the picture about to the middle
 
  


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
printouts not centered on the page trempel Linux - Hardware 0 02-18-2005 12:31 AM
OpenGL games not centered Rhatlinux Linux - Games 2 10-07-2004 11:17 PM
virtual terminal not centered matt_w_lambert Linux - General 1 02-12-2004 09:44 AM
Tv-Out is not centered vintank Linux - Newbie 2 10-28-2003 01:51 PM
Monitor display not centered over 2 machines. defa0009 Linux - Hardware 0 06-22-2003 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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