Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-24-03, 09:04 PM   #1
joepa
Registered User
 
Join Date: May 2003
Posts: 3
Default how-to set dpi

Using XFree86 4.2.1.1 with xfs-xtt, I am having a bit of trouble specifying font resolution (100dpi, 75dpi, etc.). The nv driver (1.0.4349) reports "DPI set to (75, 75)", even though my xfs-xtt has default set as 100dpi (100dpi also comes before 75dpi in XF86Config-4, but this shouldn't make a difference, as I am using xfs-xtt). Any idea how I might correct the problem?

Not that it matters, but I am using gForce2-go on Dell Inspiron 2650c.

Thanks,
Joe
joepa is offline   Reply With Quote
Old 05-24-03, 09:49 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Take the resolution you're running at, divide each dimension by 100 (to get inches), then multiply by 25.4 (to get millimeters) (the net result is approximately what you'd get by dividing your resolution by 4).

Then put a DisplaySize line in your Monitor section with those two numbers.

I run 1280x1024, so approximating the numbers, I'd use 320 and 256 for my DisplaySize values. The line looks like DisplaySize 320 256 in my Monitor section (or would, if my driver was reporting the wrong DPI -- it's not currently).

You could also try 4363 -- maybe some of the other bugfixes helped this issue too?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-25-03, 12:06 PM   #3
Arach
Registered User
 
Join Date: May 2003
Posts: 17
Default solution #2

or more conveniently :
startx -- -dpi 100
to setup permanently:
echo "alias sX='startx -- -dpi 100'" >>~/.bashrc
Arach is offline   Reply With Quote
Old 05-27-03, 05:32 PM   #4
joepa
Registered User
 
Join Date: May 2003
Posts: 3
Question follow-up

After making the originally recommended change, then reverting back to my original XF86Config-4 so as to use the solution that was later recommended, I get a DPI of 92 on my external CRT monitor (the monitor to which I made the original change), and I get the normal 75 dpi on the laptop's LCD.

Either way, the second solution allows the problem to be avoided, I am just curious as to why the CRT is now giving a DPI of 92. I have attached my XF86Config-4.

-Joe
Attached Files
File Type: txt xf86config-4.txt (3.2 KB, 181 views)
joepa is offline   Reply With Quote
Old 05-27-03, 07:40 PM   #5
Arach
Registered User
 
Join Date: May 2003
Posts: 17
Default

I dont have the time to download and open your XF config , but heres the math to verify it :

example resolution: 1600x1200
100 dpi == 100 dots per inch,
x = 1600
1600 / 100 = 16 inch
16 / 0.0024606299 = 406.4 mm

(Res / DPI) /0.0024606299 == mm
or, the mm you want to get the dpi.


or, you could just measure the size of your screen, then select the mode that gives you "real" 100 dpi.
Arach is offline   Reply With Quote
Old 05-27-03, 07:49 PM   #6
joepa
Registered User
 
Join Date: May 2003
Posts: 3
Default

What is being verified? Everything basically works fine, now (with '-- -dpi 100'), I am just wondering why the dpi on the CRT was originally 75 (without changes to my config file), and why, when I reverted back to the original config, it is now 92 dpi (without the '-- -dpi' switch, of course). I would just think that when I went back to the original config file, that it would go back to 75 dpi. It just seemed very strange.
joepa is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Union - Post-Apocalyptic RPG Shooter set in Russia dikinher Gaming Central 5 06-08-12 10:01 AM
Hitman: Absolution release date set, Sniper Challenge pre-order game in August News Archived News Items 0 05-10-12 09:28 AM
Stubborn screen res problem Alpsoandso NVIDIA Linux 6 05-03-12 06:00 PM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
Custom Refresh Rates, DPI, and Other Display Tweaking Phyre NVIDIA Linux 3 08-02-02 03:32 AM

All times are GMT -5. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.