Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163705 - x11-base/xorg-server-1.2.0 ignores DisplaySize option from config file (with i810, 915gm chipset)
Summary: x11-base/xorg-server-1.2.0 ignores DisplaySize option from config file (with ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-25 06:53 UTC by HTS
Modified: 2007-06-17 16:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1.2.0-fix-displaysize.patch (url.txt,50 bytes, text/plain)
2007-01-25 23:58 UTC, HTS
Details
1.2.0-fix-displaysize.patch (1.2.0-fix-displaysize.patch,752 bytes, patch)
2007-02-01 00:23 UTC, HTS
Details | Diff
xorg-server-1.2.0.ebuild (xorg-server-1.2.0.ebuild,16.12 KB, text/plain)
2007-02-01 00:24 UTC, HTS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HTS 2007-01-25 06:53:31 UTC
Any DisplaySize values always give a DPI of 125x127

Reproducible: Always

Steps to Reproduce:
1. change DisplaySize values in xorg.conf
2. restart X

Actual Results:  
DPI is fixed to:
(**) I810(0): DPI set to (125, 127)

Expected Results:  
Expected:
(**) I810(0): DPI set to (96, 96)

x11-base/xorg-x11-7.2
x11-base/xorg-server-1.2.0

My Monitor section:
Section "Monitor"
   Identifier  "LCD"
   VendorName "Asus"
   VertRefresh 57-63
   HorizSync 35.71-70.53
   DisplaySize 700 500
   Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
   DisplaySize 338 211
   ModelName    "FlatPanel 1280x800"
EndSection
Comment 1 HTS 2007-01-25 07:39:14 UTC
startx -- -dpi 96
gives the expected result:
(++) I810(0): DPI set to (96, 96)
and can therefore be used as a workaround, hence the severity reduced from major to normal.
Comment 2 HTS 2007-01-25 07:43:53 UTC
Please ignore the typo with the 2 DisplaySize lines in my monitor section. I copied the file when I was messing around with it and forgot to comment out one of the lines. This is not the source of the bug ;)
Comment 3 wbrana 2007-01-25 18:32:33 UTC
there is patch in xorg bugzilla
https://bugs.freedesktop.org/show_bug.cgi?id=9758
Comment 4 HTS 2007-01-25 21:32:44 UTC
Thanks very much for the pointer! I guess xorg bugzilla is where I should have looked in the first place ;)

I still leave it open until an x11 maintainer from Gentoo acknowledges the bug.
Comment 5 HTS 2007-01-25 23:58:19 UTC
Created attachment 108162 [details]
1.2.0-fix-displaysize.patch
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-26 03:46:24 UTC
Let's monitor the upstream bug to see what happens. If it's committed, please reopen this bug.
Comment 7 HTS 2007-02-01 00:23:14 UTC
Created attachment 108804 [details, diff]
1.2.0-fix-displaysize.patch
Comment 8 HTS 2007-02-01 00:24:13 UTC
Created attachment 108805 [details]
xorg-server-1.2.0.ebuild

ebuild including the patch
Comment 9 R. Bosch 2007-02-24 14:41:33 UTC
I found it as bug #9758:
https://bugs.freedesktop.org/show_bug.cgi?id=9758
Dated:
Jan. 25 2007.

Since priority is set low, I doubt that a sub-version might contain a solution. I saw nothing in the git repository as well. I think it's wise to put the patch in portage for the time being. It worked for me so far.

Greetings,

Remy
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2007-02-24 16:30:43 UTC
(In reply to comment #9)
> I found it as bug #9758:
> https://bugs.freedesktop.org/show_bug.cgi?id=9758
> Dated:
> Jan. 25 2007.

Yes, Donnie set the URL to that when he marked this bug upstream.

> Since priority is set low, I doubt that a sub-version might contain a solution.
> I saw nothing in the git repository as well. I think it's wise to put the patch
> in portage for the time being. It worked for me so far.

It's rare that we put a patch into the tree before it's accepted upstream, and even then only if it's extremely trivial or a Gentoo-specific problem.
Comment 11 HTS 2007-02-24 17:54:27 UTC
> It's rare that we put a patch into the tree before it's accepted upstream, and
> even then only if it's extremely trivial or a Gentoo-specific problem.
> 

I really understand your point. My question is: "What is supposed to be the new way of setting the dpi?" Upstream should give more info on that...
Comment 12 R. Bosch 2007-04-22 20:32:32 UTC
(In reply to comment #11)
> 
> I really understand your point. My question is: "What is supposed to be the new
> way of setting the dpi?" Upstream should give more info on that...

Well, just updated to xorg-server-1.3.0 and  i810 driver v2...
Still has the old problem :(
The man page still holds reference to the DisplaySize option. DPI option does neither work under device or screen. The bugowner can reopen this bug as far as I'm concerned or I could start a new bug for the 1.3 release of xorg-server.

What do you think?
Comment 13 HTS 2007-04-23 08:50:43 UTC
Let's reopen this. I agree it's probably not a bug as it would have been noticed/fixed a long time ago upstream. The problem here is we don't have much information about an alternative to set up the dpi through xorg.conf. Happy nvidia users can use the dpi Option. What about the rest of us?
Comment 14 Joshua Baergen (RETIRED) gentoo-dev 2007-04-23 22:38:02 UTC
(In reply to comment #13)
> Let's reopen this. I agree it's probably not a bug as it would have been
> noticed/fixed a long time ago upstream. The problem here is we don't have much
> information about an alternative to set up the dpi through xorg.conf. Happy
> nvidia users can use the dpi Option. What about the rest of us?
> 

Just because it hasn't been fixed doesn't mean it's not a bug :)

We don't have any extra information on this.  Either a fix (or a confirmation of this fix) or more information will have to come from upstream.
Comment 15 R. Bosch 2007-04-24 05:43:38 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Let's reopen this. I agree it's probably not a bug as it would have been
> > noticed/fixed a long time ago upstream. The problem here is we don't have much
> > information about an alternative to set up the dpi through xorg.conf. Happy
> > nvidia users can use the dpi Option. What about the rest of us?
> > 
> 
> Just because it hasn't been fixed doesn't mean it's not a bug :)
> 
> We don't have any extra information on this.  Either a fix (or a confirmation
> of this fix) or more information will have to come from upstream.
> 

The manpages of xorg.conf still clearly state that DisplaySize is to be used to calculate/alter the resolution. If you can't trust the manpages what then?
Btw, I'm trying to get the info ;) I thought I'd post something to make them aware of the issue. See what happens the coming week since Xorg seems quite slow. Guess they're busy :)

Remy
Comment 16 R. Bosch 2007-05-06 00:48:17 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Let's reopen this. I agree it's probably not a bug as it would have been
> > noticed/fixed a long time ago upstream. The problem here is we don't have much
> > information about an alternative to set up the dpi through xorg.conf. Happy
> > nvidia users can use the dpi Option. What about the rest of us?
> > 
> Just because it hasn't been fixed doesn't mean it's not a bug :)

So, not checking a value from xorg.conf and blutly overwriting it, is a feature and not a bug? :S

> We don't have any extra information on this.  Either a fix (or a confirmation
> of this fix) or more information will have to come from upstream.

Still sleeping :(
Just posted again in other words and more specific to the code in ddc. See if they get the message now. It's too weird to let the ddc overwrite what you set in xorg.conf. What if te ddc-info is wrong or uncomfortable?

Regards,

Remy
Comment 17 Joshua Baergen (RETIRED) gentoo-dev 2007-05-07 22:49:52 UTC
(In reply to comment #16)
> > Just because it hasn't been fixed doesn't mean it's not a bug :)
> 
> So, not checking a value from xorg.conf and blutly overwriting it, is a feature
> and not a bug? :S

You misunderstood my comment.  Someone had said that if it really was a bug it would have been fixed by now, and I was disagreeing.

I see that someone else was trying to get information on this as well.  There was a link given but I seem to have misplaced it.  Once freedesktop.org is back up it would be good to look for it...
Comment 18 Donnie Berkholz (RETIRED) gentoo-dev 2007-05-07 23:38:34 UTC
Anyone suggest you turn off DDC in xorg.conf? I think I saw that suggested somewhere.
Comment 19 R. Bosch 2007-05-08 15:37:33 UTC
(In reply to comment #18)
> Anyone suggest you turn off DDC in xorg.conf? I think I saw that suggested
> somewhere.

Yeah, that was me... Since I figuered that DDC was to blame...
Did nothing for me though. Displaysize was still not responding... 96dpi instead of 100dpi. Did get near by killing DDC though :P

The link I got was - I think - more about reduced blanking. which was a sidestep on my part.

I'll see and try a build from git.
Comment 20 Max Arnold 2007-05-13 04:51:58 UTC
Confirm! After upgrading to xorg-7.2 my favorite resolution 1152x864 is broken (wrong dpi, condensed and overlapped font letters). I think patch should be included in portage...
Comment 21 R. Bosch 2007-06-05 18:06:14 UTC
(In reply to comment #20)
> Confirm! After upgrading to xorg-7.2 my favorite resolution 1152x864 is broken
> (wrong dpi, condensed and overlapped font letters). I think patch should be
> included in portage...
> 

Or add `xrandr --dpi 100` in your startup-script ;)
Note:
You'll need xrandr-1.2 for this to work.
Comment 22 HTS 2007-06-17 16:48:41 UTC
The patch provided above no longer works here...
I resorted to the following, in a terminal:
startx -- -dpi 96
or in kdmrc
ServerCmd=/usr/bin/X -br -dpi 96