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

Re: upgrading X in sid



Andrew Sackville-West wrote:
On Mon, Jan 28, 2008 at 09:29:18AM -0500, charlie derr wrote:
I have a laptop with a native resolution of 1900x1200 which has been working fine for the past year an a half.

This weekend I upgraded (which included both X and kde) in unstable/sid and now I find that my X session is being rendered (according to xvidtune) at 1680x1050

What's odd is that the relevant section from  /etc/X11/xorg.conf (pasted below) wouldn't seem to allow that.

from you're Xorg.0.log below, it is clear the it's trying to get
1920x1200 but can't because all the options it tries are out of
sync.


Thanks for the info. What's odd is that my xorg.conf file is timestamped 2006-10-29 (which is definitely the last time I intentionally messed with it). And I was definitely getting 1900x1200 before this recent upgrade. So it used to work fine (prior to the new X packages (7.3+10) being installed).


Anyone know what's going on? The only explanation that makes sense to me is that Xorg now directly queries the graphics subsystem and essentially ignores what's been set in xorg.conf. I'm definitely interested in knowing how to get back the full 1900x1200 resolution.

	thanks much in advance,
			~c



Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "1920x1200"
        EndSubSection
...
        SubSection "Display"
                Depth           24
                Modes           "1920x1200"
        EndSubSection
EndSection

the rest of your xorg.conf would be helpful.


I've attached it in its entirety.



and here's the relevant part of Xorg.0.log

(--) NV(0): Panel size is 1920 x 1200
(II) NV(0): Panel is LVDS
(--) NV(0): VideoRAM: 262144 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): Generic Monitor: Using hsync range of 30.00-70.00 kHz
(II) NV(0): Generic Monitor: Using vrefresh range of 50.00-160.00 Hz

these generic specs may be the problem. What are the actual hsync and
vrefresh ranges of this monitor? especially for the mode you want?
...

(II) NV(0): Not using default mode "1920x1200" (hsync out of range)
(II) NV(0): Not using default mode "960x600" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using default mode "1920x1200" (hsync out of range)
(II) NV(0): Not using default mode "960x600" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using default mode "1920x1440" (exceeds panel dimensions)
(II) NV(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using default mode "2048x1536" (exceeds panel dimensions)
(II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using default mode "2048x1536" (exceeds panel dimensions)
(II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using driver mode "1920x1200" (hsync out of range)
(II) NV(0): Not using mode "1920x1200" (no mode of this name)
--------------^^^^^^^^^^^^^^^^^^^^^^^^^^

it can't find a 1920x1200 mode that works. Just as a wild guess, I
would say that the hsync and vrefresh ranges above are not wide enough
to accomodate the mode you want. And sometimes it is possibly just a
rounding error. I have a monitor that is supposed to max out at 86kHz
(note making up numbers here) hsync, but xrandr rounds it to 86.01 and
then fails that mode. I had to spec it to 87kHz in xorg.conf to get it
to operate at it's native resolution.

Thanks for the explanation. I'm still puzzled why my recent upgrade changed things (when my xorg.conf file is still the same). One would think that both the new and older xserver-xorg packages would round in the same way...




(--) NV(0): Virtual size is 1680x1050 (pitch 1696)
(**) NV(0):  Default mode "1680x1050": 147.1 MHz, 65.2 kHz, 60.0 Hz
(II) NV(0): Modeline "1680x1050"x60.0  147.14  1680 1784 1968 2256 1050 1051 1054 1087 (65.2 kHz)

note that this mode sets the hsync at 65.2kHz. It's very possible that
1920x1200 bumps right up against or beyond the 70kHz max you're
using. So, get the specs of the display and set up your xorg.conf properly.

When I try to use Dell's online system, here's the truncated information available for what's specifically installed (in terms of the LED screen). Doesn't seem that helpful to me, but maybe someone with expertise can intuit the actual details about what hardware is being described:

1	PF006	LIQUID CRYSTAL DISPLAY..., 17, WU, VIDEO ELEC. STDS. ASSOC...., SHARP..., V2
1	RG688	ASSEMBLY..., CABLE..., COAXIAL ..., LIQUID CRYSTAL DISPLAY..., 17, ZANZIBAR/RIKERS/SUVA...

I just went back and found the original invoice (which is much less helpful).  That simply specifies 17" WUXGA display.


I find the read-edid package helpful if you can't get the specs.

Thanks for that.  Here's the output of get-edid:

get-edid: get-edid version 1.4.1

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
        Function supported
        Call successful

        VBE version 300
        VBE string at 0x11110 "NVIDIA"

VBE/DDC service about to be called
        Report DDC capabilities

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
        Function supported
        Call successful

        Monitor and video card combination does not support DDC1 transfers
        Monitor and video card combination does not support DDC2 transfers
        0 seconds per 128 byte EDID block transfer
        Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
        Read EDID

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
        Function supported
        Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged



A


Anyone got any hints on crafting a new xorg.conf file that'll work with my hardware like the old one used to?

	thanks again,
		~c

# /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	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

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

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"nv"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1920x1200"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1200"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1200"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1200"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1200"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1920x1200"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection

Reply to: