[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#528221: marked as done (xserver-xorg-video-intel: WidthMMOfScreen() thinks I have a 1mm monitor.)



Your message dated Mon, 24 Aug 2009 20:20:46 +0200
with message-id <20090824182046.GF23999@patate.is-a-geek.org>
and subject line Re: Bug#528221: xserver-xorg-video-intel: WidthMMOfScreen() thinks I have a 1mm monitor.
has caused the Debian Bug report #528221,
regarding xserver-xorg-video-intel: WidthMMOfScreen() thinks I have a 1mm monitor.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
528221: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528221
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-video-intel
Version: 2:2.3.2-2+lenny6
Severity: normal


With the Intel driver, WidthMMOfScreen() returns 1mm and HeightMMOfScreen()
returns 257mm.  If I use the vesa driver instead the macros report a 383x293
screen.  My monitor's a big old Dell CRT on a standard VGA connector.

Adding an explicit DisplaySize directive to the Monitors section fixes it, 
but IMO the intel driver should be able to autodetect monitor size if the 
vesa one can - or at least guess more-sensible values than 1x257mm.

Fixing this will also close #524310 - fontforge uses WidthMMOfScreen() to
calculate pixel sizes for fonts, so a 1mm screen led to it trying to draw
impractically large fonts.  Some other programs may exhibit similar 
behaviour.

-- demonstration C program --
#include <X11/Xlib.h>
#include <stdio.h>

int main(int argc,char **argv)
{
  Display *display = XOpenDisplay(NULL);
  printf("The screen is %d millimeters wide.\n",WidthMMOfScreen(DefaultScreenOfDisplay(display)));
  printf("The screen is %d millimeters high.\n",HeightMMOfScreen(DefaultScreenOfDisplay(display)));
}


-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2007-04-09 02:46 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1897680 2009-03-09 03:07 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 4559 2009-05-11 05:45 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"dvorak"
	#Option		"XkbLayout"	"us"
	#Option		"XkbVariant"	"dvorak"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"intel"
	#Driver		"vesa"
	BusID		"PCI:0:2:0"
	VideoRam	128000
	Option "Monitor-VGA" "Generic Monitor"
	Option "Monitor-LVDS" "Generic Monitor"
	#Option "PreferredMode" "1600x1200_60.00"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	#Option		"DPMS"
	HorizSync	30-68
	VertRefresh	50-125
	#Modeline "1920x1440" 157.18 1920 1984 2096 2456 1440 1442 1451 1516 
	#Modeline "1920x1440" 152.27 1920 1984 2096 2456 1440 1442 1451 1516  # 152 MHz, 	62.0 kHz, 40.9 Hz
        #Modeline "1792x1344" 142.35 1792 1848 1960 2296 1344 1346 1354 1415  # 142 MHz, 	62.0 kHz, 43.8 Hz
	#Modeline "1600x1200" 131.07 1600 1656 1768 2048 1200 1202 1209 1263  # 131 MHz,	64.0 kHz, 50.7 Hz
	#Modeline "1440x1280" 117.76 1440 1488 1600 1840 1280 1282 1290 1347  # 118 MHz, 	64.0 kHz, 47.5 Hz
	#Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync


EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		#Modes "1920x1440" - Boom?
		#Modes "1856x1392"
		#Modes "1792x1344" - Boom.
		#Modes		"1680x1050_60.00" "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1280" "1600x1200" "1440x1280" "1400x1050" 
		#Modes "1280x1024" "1152x864" "1024x768" 
		Modes "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 25340 2007-04-17 14:35 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 25571 2008-08-08 22:17 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 33348 2009-04-02 00:17 /var/log/Xorg.2.0.log
-rw-r--r-- 1 root root 31839 2009-04-09 05:42 /var/log/Xorg.1.0.log
-rw------- 1 root root 53552 2009-05-11 05:45 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libdrm2                2.3.1-2           Userspace interface to kernel DRM 
ii  xserver-xorg-core      2:1.4.2-10.lenny1 Xorg X server - core server

xserver-xorg-video-intel recommends no packages.

xserver-xorg-video-intel suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Mon, May 11, 2009 at 15:44:39 +0200, Julien Cristau wrote:

> On Mon, May 11, 2009 at 06:12:14 -0700, Deekoo L. wrote:
> 
> > Xorg X server log files on system:
> > -rw-r--r-- 1 root root 25340 2007-04-17 14:35 /var/log/Xorg.20.log
> > -rw-r--r-- 1 root root 25571 2008-08-08 22:17 /var/log/Xorg.1.log
> > -rw-r--r-- 1 root root 33348 2009-04-02 00:17 /var/log/Xorg.2.0.log
> > -rw-r--r-- 1 root root 31839 2009-04-09 05:42 /var/log/Xorg.1.0.log
> > -rw------- 1 root root 53552 2009-05-11 05:45 /var/log/Xorg.0.log
> > 
> the last one is unreadable for some reason...
> 
> > Contents of most recent Xorg X server log file
> > /var/log/Xorg.0.log:
> > 
> ... so it wasn't included in the report.
> 
> Please follow up with the full log.
> 
Closing, submitter unresponsive.  Feel free to reopen if you can provide
the requested information.

Cheers,
Julien


--- End Message ---

Reply to: