PDA

View Full Version : Incorrect size & position of X display FIXED!!


Rani
10-14-02, 04:43 AM
For those suffering from the same problem:

Under Win98 I have 1152x864 @ 85Hz (using an Asus
Geforce2MX based card with TV-out) and the desktop
fills the entire screen after I manually adjusted it using
the monitor's settings.

But under Linux I had the problem of off-centered and
smaller_than_the_screen display when running X.

...and there was no way I could get a modeline to reproduce
my settings under win98... how frustrating! :( (xvidtune
would not help).

Finally, after searching and searching I came across a C
program written in 2001 by Andy Ritger an (ex?) Nvidia
engineer, for the generation of modelines using the GTF
standard.

Well, this program did the trick:
-I compiled the program using gcc under my RH7.3 install
-ran it & put in the parameters I wanted
-got my modeline,
-then edited XF86Config-4 and put this modeline in.
-Fired up X

... and the display occupied the entire screen just like under Win98!!

Of course you can imagine how pleased I am! :cool:

I am including the link to the C program for anyone
interested:

http://www.xfree86.org/pipermail/xpert/2001-October/012070.html

Cheers,

Rani

PS. I later realised that this web link also appears in the
pdf documentation file provided by nvidia for it's linux drivers
PS2. Now I have to get scanner & sound to work !

ianc
11-05-02, 04:39 AM
Hi Rani,

Actually, I'm having this exact same trouble with a Red Hat 8\Win2K boot, so I'd love to give this a try, but when I go to your link, I just see an encoded bunch of gobbledygook and don't know how to decode it. Any insight please? TIA,

ianc

Rani
11-12-02, 09:49 PM
Hi ianc

I'll try to attach the file to this message.

To tell the truth, I couldn't get the file either (didn't know how) but I contacted another fellow who had it and he kindly sent it to me as an attachment.

I'll try to post it here so that everyone who is interested can use it.

If there is any other problem post back and we'll see what can be done (I had problems attaching files before)

Cheers,

Rani


PS. It has a .txt extension, but it's the actual C-code that generates the GTF modelines.

PS2. The third line tells you what paramaters to use when compiling.