You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

1

Sunday, April 29th 2007, 5:58am

Trouble Setting DisplaySize and DPI

Hi,

I recently installed KDE on my laptop and I'm having a hard time with the fonts, they don't really seem to be rendered quiet properly. One reason I thought of is setting the DisplaySize in xorg.conf and thus fixing my DPI. I added the line "DisplaySize 329 272" to my xorg.conf fine, however, every time I check using xdpyinfo I get different dimensions and different dpi - those values never change regardless of what I put in DisplaySize.

Tried also adding and removing -dpi 96 to xserverrc and that too didn't seem to make a difference.

Any suggestions?

My laptop is running Kubuntu 7.04 with an Intel i810 display adapter btw.

Thanks.

Cheers,
/Fuad

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

2

Sunday, April 29th 2007, 12:15pm

This has been already answered here:
http://www.kde-forum.org/thread.php?threadid=16669

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

3

Sunday, April 29th 2007, 9:37pm

Thanks :) I actually stumbled upon that post before. The problem I'm having isn't that I don't know what the right settings are, but that they don't seem to be having any effect. Adding DisplaySize or Option DPI then doing an "xdpyinfo | grep -B1 dot" (after restarting X) gives me the exact same (wrong) values regardless of what I put into DisplaySize. It's just not having any effect at all...

Any ideas?

Thanks again :)

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

4

Sunday, April 29th 2007, 9:52pm

You did exactly as I described in this post? :
Plz assist how to set a screen resolution of 107 dpi!

This should work, please check if you duplicated entries in you xorg.conf.

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

5

Monday, April 30th 2007, 8:07am

Thanks for your reply.

Yes I did.

I added DisplaySize to my xorg.conf. I played around with the values - started with ones that match the specs of my screen then just tried high and low values, however, "xdpyinfo | grep -B1 dot" would *always* give me the exact same dimensions and dpi. It's simply not being affected by it for some reason.

I also tried adding the Option "DPI" entry, which is for NVidia, while what I have is an Intel i810 - and that didn't affect anything either. I modified xserverrc as well, to make it say:-

exec /usr/bin/X11/X -dpi 96 -nolisten tcp

Again, nothing is being affected.

That's the thing really - it's not that I'm not getting the dpi I want, but the fact that whatever changes I make seem not to affect anything.

There aren't any duplicate entries in my xorg.conf

Thanks :)

/Fuad

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

6

Monday, April 30th 2007, 8:13am

I really don't know what it could be then. Maybe your intel driver is "smart" and it's forcing its own dpi settings. You can try by searching on google in that direction.

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

7

Monday, April 30th 2007, 8:14am

Thanks anyway :) I really appreciate your help.

Cheers

8

Monday, April 30th 2007, 4:40pm

I had this problem

with an intel i810 and an HP monitor. I swapped out the Monitor and replaced it with an X2Gen and the problem went away. I think I read recently, though, that the i810 driver has problems with certain widescreen monitors. If you have a monitor with an unusual aspect ratio, that could be the problem. I think a patch for the xf86-intel-video driver is available that fixes the issue, but I don't remember where I read about it.

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

9

Monday, April 30th 2007, 11:31pm

I see....

This particular machine is an HP laptop, so changing the monitor isn't really an option :) However, I will look for the patch you mentioned.

Thanks :)

10

Tuesday, May 1st 2007, 9:57am

RE: I had this problem

Here's a link to what I read earlier, I think. It's a very recent post, so I think this patch only came out a few days ago. Hope it helps!

http://www.reactivated.net/weblog/archiv…-longer-needed/

ftabba

Beginner

  • "ftabba" started this thread

Posts: 6

Location: Auckland, New Zealand

  • Send private message

11

Tuesday, May 1st 2007, 11:21am

That's great, thanks again :)