dri not working with ltsp on natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mesa |
Fix Released
|
Medium
|
|||
mesa (Ubuntu) |
Fix Released
|
Medium
|
Chris Halse Rogers | ||
Lucid |
Fix Released
|
Medium
|
Timo Aaltonen | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU Justification: Regression in GLX handling causes non-local X applications to die with BadRequest error when attempting DRI.
Regression potential: low. Patch only affects the DRI2Connect error handler, causing it to swallow the BadRequest generated when attempting to use the DRI2 extension on a remote server. This error is then processed further up the mesa codestack.
Original report:
With LTSP on natty i am unable to start compiz.
I tried with 2 thin clients and a laptop that where working on maverick:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 09)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c)
thanks
---
Architecture: amd64
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
DRM.card0.VGA.1:
status: connected
enabled: enabled
dpms: Standby
modes: 1024x768 800x600 800x600 848x480 640x480
edid-base64:
DistUpgraded: Fresh install
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: ubuntu
GraphicsCard:
ATI Technologies Inc ES1000 [1002:515e] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:01eb]
Lsusb:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 413c:a001 Dell Computer Corp. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge SC1435
Package: mesa (not installed)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=fr_CA.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: natty ubuntu
Uname: Linux 2.6.38-8-server x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: audio autologin fuse video
dmi.bios.date: 03/21/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.4.2
dmi.board.name: 0YR707
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: PowerEdge SC1435
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4+
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mesa (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: patch |
Changed in mesa: | |
status: | Confirmed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in mesa (Ubuntu Lucid): | |
assignee: | nobody → Timo Aaltonen (tjaalton) |
importance: | Undecided → Medium |
status: | New → In Progress |
here is a easy way to reproduce the problem without a ltsp setup
on the first computer: gdm/gdm. schemas
1 ) sudo vim /usr/share/
change :
<schema> DisallowTCP< /key> b</signature> true</default>
<key>security/
<signature>
<default>
</schema>
to
<schema> DisallowTCP< /key> b</signature> false</ default>
<key>security/
<signature>
<default>
</schema>
2) logout
3) log in
4) in a console run : $ xhost +
5) on another computer: DISPLAY=<ip of the first computer>:0 glxinfo
computer1 $ DISPLAY=X.X.X.X:0 glxinfo
name of display: 10.145.0.54:0.0
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 137 (DRI2)
Minor opcode of failed request: 1 (DRI2Connect)
Serial number of failed request: 18
Current serial number in output stream: 18
6) when connected via ssh on the same computer, running the same command works.