Bug#584186: xserver-xorg-video-intel: refuses to start with "(EE) Screen(s) found, but none have a usable configuration.", ignoring plea to ignore DDC

2010-06-01 Thread Tim Connors
Package: xserver-xorg-video-intel
Version: 2:2.3.2-2+lenny6
Severity: important

I've got a workstation with an intel chipset Q45/Q43 plugged connected 
through a video extender.  I've verified that the video extender propogates 
DDC/EDID data, and 'get-edid | parse-edid' returns the params for the local 
display.  

Nevertheless, X fails with "(EE) Screen(s) found, but none have a usable 
configuration." if the machine is booted with the monitor plugged in through 
the extender, and works if the monitor is plugged in directly when the 
machine is booted.

The same also holds for another monitor that returns invalid edid data (this 
monitor is what we ultimately aim to use in production) according to 
parse-edid, but Xorg still picks valid modes when the monitor is plugged into 
the video card natively (and fails when plugged in through the video 
extender).

I have tried everything I can to convince X to ignore DDC etc and force 
modelines that I know are valid.  Some of these attempts are shown in 
xorg.conf below.

The display can be forced to show when I upgrade to testing and unstable, but 
the intel driver in combination with XV overlays is unreliable as heck, with 
and without KMS, and I get (known about but unfixed) gem related crashes half 
the time when using xrandr to switch modes.  As such, I simply cannot upgrade 
to sid, because this is going to be an embedded system that has to be 
reliable.

I wonder if this is the same as 
https://bugs.freedesktop.org/show_bug.cgi?id=14611 (but that's so long ago, 
surely the patch has been applied even to stable by now?)

If that patch indeed hasn't been applied, then can it be, because it's a 
simple bug fix?

Another bug of possible-but-unlikely relevance is debian #438650 where the 
old i830 driver appears (from Brice Goblin's comment) unconditionally to look 
at what the valid crtcs are, and ignores the user's requests in xorg.conf.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2009-06-12 12:31 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1901136 2009-06-11 20: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 4 Series Chipset 
Integrated Graphics Controller (rev 03)

/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 4216 2010-06-02 12:16 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
EndSection

Section "Monitor"
Identifier  "VGA"
Option "enable" "true"
HorizSync30.0-81.0
VertRefresh  59.0-76.0
# for i in ... ; do gtf `echo $i | sed 's/x/ /'` 60 | sed '/^$/d' ; done
  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  Modeline "1680x1050"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  
-HSync +Vsync
  # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz
  Modeline "1600x1200"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  
-HSync +Vsync
  # 1600x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 136.36 MHz
  Modeline "1600x1024"  136.36  1600 1704 1872 2144  1024 1025 1028 1060  
-HSync +Vsync
  # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
  Modeline "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  
-HSync +Vsync
  # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline "1280x1024"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  
-HSync +Vsync
  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync 
+Vsync
  # 1280x960 @ 60.00 Hz (GTF) hsync: 59.64 kHz; pclk: 102.10 MHz
  Modeline "1280x960"  102.10  1280 1360 1496 1712  960 961 964 994  -HSync 
+Vsync
  # 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
  Modeline "1280x800"  83.46  1280 1344 1480 1680  800 801 80

Bug#201855: xdm autologin important for tiny devices

2010-06-01 Thread jidanni
> "JDC" == Jaime Di Cristina  writes:
JDC> For automatic login as the same user every time try nodm.
Works perfectly!
Ah, sure wish it was hinted to on the xdm man page!



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878w6yp456@jidanni.org



Bug#584163: mesa: Flightgear won't start anymore: Errors out with "Not able to create requested visual"

2010-06-01 Thread mp3project
Package: mesa
Version: 7.7.1-2
Severity: important


Ave people

Since updating my system from mesa 7.7.1-1 to 7.7.1-2, Flightgear (git/svn) 
won't start
anymore. It refuses with the message "Error: Not able to create requested
visual". A little google fu  found more people had the same problem. It's
a regression in mesa, but luckily also a fix is available.

Thread with more people with the same problem:
http://forum.openscenegraph.org/viewtopic.php?t=5653

Bugreport at freedesktop with patch for (upstream) mesa 7.8
https://bugs.freedesktop.org/show_bug.cgi?id=28280
(patch also included in this mail)

I tested mesa 7.7.1-2 with this patch and can confirm that the patch also
works for (debian) mesa 7.7.1-2

Please include this patch in the next mesa package update en keep up the good 
work!

Greetz
Martijn Uffing






-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (70, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-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/dash
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index bdc6e31..fd5f076 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -438,6 +438,9 @@ __glXInitializeVisualConfigFromTags(__GLcontextModes * config, int count,
   case GLX_Y_INVERTED_EXT:
  config->yInverted = *bp++;
  break;
+  case GLX_USE_GL:
+ if (fbconfig_style_tags) *bp++;
+ break;
   case None:
  i = count;
  break;


Bug#584148: xserver-xorg-input-evdev: reconnect failure after unplugging keyboard & mouse

2010-06-01 Thread Anthony Lau
Package: xserver-xorg-input-evdev
Version: 1:2.3.2-6
Justification: breaks unrelated software
Severity: critical
Tags: squeeze sid

*** Please type your report below this line ***
After unplugging or switching through a KVM device, USB keyboard and 
mouse cannot reconnect to X-server. It seems after the devices are
disconnected, evdev refuses to accpet any connections after 10
connection failures. The USB subsystem is unaffected as status lights
on the keyboard and mouse work. Also, reloading uhci_hcd does not
fix the problem.

The devices listed below are inaccurate because I had to plug in a
spare PS/2 Keyboard and USB mouse.

This maybe related to bug #524590 xserver-xorg-input-evdev: reconnect a
bluetooth keyboard is not possible..

-- 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 May 15  2007 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1725256 May  4 08:51 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation NV11GL [Quadro2
MXR/EX/Go] (rev b2)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3683 Jun  1 09:47 /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/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"
#   SubSection "extmod"
#   Option "omit xfree86-dga"
#   Option "omit xfree86-dri"
#   EndSubSection
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "evdev"
Option  "Device"
"usb-BTC_USB_Multimedia_Keyboard-event-kbd" #
Option  "Name"  "BTC USB Multimedia Keyboard"
#   Driver  "kbd" #
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
Option  "AutoRepeat""500 30" EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "evdev"
Option  "Device"
"usb-Logitech_USB_Gaming_Mouse-event-mouse" #
Option  "Name"  "Logitech USB Gaming Mouse"
#   Driver  "mouse" #
Option  "CorePointer" #
Option  "Device""/dev/input/mice"
#   Option  "Protocol"  "ImPS/2"
EndSection

Section "Device"
#   Identifier  "ATI Radeon 9500Pro"
Identifier  "Nvidia Quadra"
Driver  "nv"
#   Driver  "radeon"
#   Identifier  "GeForce FX5200"
Option  "NvAgp" "3" #Try AGPGART then use NvAGP
Option  "ConnectToAcpid" "off"
EndSection

Section "Monitor"
Identifier  "BenQ FP241WZ"
Option  "DPMS"
HorizSync   30-81
VertRefresh 50-76
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "GeForce FX5200"
Monitor "BenQ FP241WZ"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1920x1200" "1680x1050"
"1400x1050" "1280x960" "1024x768" "800x600" "640x480" EndSubSection
SubSection "D

xserver-xorg-video-intel: Changes to 'ubuntu'

2010-06-01 Thread Christopher Halse Rogers
 debian/i915-kms.conf |1 -
 1 file changed, 1 deletion(-)

New commits:
commit 3f35a842908ddfd66cca19442e8db39ec9b9063f
Author: Christopher James Halse Rogers 
Date:   Tue Jun 1 23:43:04 2010 +1000

Actually remove unused i915-kms.conf

diff --git a/debian/i915-kms.conf b/debian/i915-kms.conf
deleted file mode 100644
index 597ac60..000
--- a/debian/i915-kms.conf
+++ /dev/null
@@ -1 +0,0 @@
-options i915 modeset=1


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ojrkt-0004jx...@alioth.debian.org



Bug#201855: xdm autologin important for tiny devices

2010-06-01 Thread Timo Juhani Lindfors
jida...@jidanni.org writes:
> That is half the way to full automatic login!
> Every day for the last 10 years I've had to type in username and
> password. Can somebody tell me how to get some relief without having to
> switch display managers, for heavens sake.

Heh, afaik it is just not possible with xdm but I can be wrong. I did
not want fully automatic login myself since I wanted to have guest and
rescue users for the case where my normal account does not work.

-Timo



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84sk5787gb@sauna.l.org



Bug#583802: xdm: init script should support the "status" option

2010-06-01 Thread Sven Joachim
On 2010-05-30 20:12 +0200, Sven Joachim wrote:

> Package: xdm
> Version: 1:1.1.10-1
> Severity: wishlist
>
> I just saw this during a libc6 upgrade:
>
> ,
> | Vorbereiten zum Ersetzen von libc6 2.10.2-9 (durch 
> .../libc6_2.11.1-1_i386.deb) ...
> | Checking for services that may need to be restarted...
> | Checking init scripts...
> | Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload}
> `
>
> Apparently the libc6 preinst runs "invoke-rc.d xdm status" which is not
> currently supported.

Attached is a patch for this option that works for me.  Or it would, if
it weren't for #545896:

,
| $ /etc/init.d/xdm status 
| xdm is running.
| $ /etc/init.d/rsync status 
| could not access PID file for rsync ... failed!
`

Nevertheless, I think the patch could be committed to git.

Sven

>From aa4525ec166476173ff9bc3acf3c8e21671b120b Mon Sep 17 00:00:00 2001
From: Sven Joachim 
Date: Tue, 1 Jun 2010 09:05:00 +0200
Subject: [PATCH 1/2] xdm.init: Implement "status" option (Closes: #583802)

Bump dependency on lsb-base to 3.2-13 for status_of_proc().
---
 debian/changelog |5 +
 debian/control   |2 +-
 debian/xdm.init  |6 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f20f0eb..2a8e553 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 xdm (1:1.1.10-2) UNRELEASED; urgency=low
 
+  [ Julien Cristau ]
   * debian.diff: stop defining XDMAUTHDIR, it's not used anymore.
   * debian.diff: replace references to the XFree86 X server with Xorg.
   * Set default system and user PATHs when running configure instead of
@@ -7,6 +8,10 @@ xdm (1:1.1.10-2) UNRELEASED; urgency=low
   * Drop obsolete upgrade code from pre-etch versions in preinst, postinst and
 postrm scripts.
 
+  [ Sven Joachim ]
+  * xdm.init: Implement "status" option (Closes: #583802).
+- Bump dependency on lsb-base to 3.2-13 for status_of_proc().
+
  -- Julien Cristau   Tue, 20 Apr 2010 02:08:13 +0200
 
 xdm (1:1.1.10-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0864788..96751a3 100644
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,7 @@ Depends:
  debconf (>= 1.2.9) | debconf-2.0,
  x11-utils | xbase-clients | xmessage,
  cpp,
- lsb-base (>= 3.0-6),
+ lsb-base (>= 3.2-13),
  x11-xserver-utils,
  procps,
 Pre-Depends: x11-common (>= 1:7.0.0)
diff --git a/debian/xdm.init b/debian/xdm.init
index 93fcb62..4127dff 100644
--- a/debian/xdm.init
+++ b/debian/xdm.init
@@ -113,8 +113,12 @@ case "$1" in
 log_end_msg 0
   ;;
 
+  status)
+	status_of_proc -p $PIDFILE $DAEMON xdm && exit 0 || exit $?
+  ;;
+
   *)
-echo "Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload}"
+echo "Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload|status}"
 exit 1
 ;;
 esac
-- 
1.7.1



Bug#201855: xdm autologin important for tiny devices

2010-06-01 Thread Brice Goglin
Le 01/06/2010 08:31, jida...@jidanni.org a écrit :
> Every day for the last 10 years I've had to type in username and
> password. Can somebody tell me how to get some relief without having to
> switch display managers, for heavens sake

You've been complaining about all this for 7 years. It would have taken
less time to implement the feature yourself. Nobody else will do it. So
if you don't want to switch to another DM, you have to implement it. And
don't tell me you don't know how to implement it, since 7 years is way
enough to learn what's needed here.

Also, if you really want autologin, did you try removing xdm entirely
and hacking your startup scripts so as to start the user X session
directly? May be ugly, but maybe less horrible than entering your
login/passwd every day for the last 10 years :)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c04b270.9020...@ens-lyon.org