desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #24175
[Bug 824099] Re: Max GL texture size can break multi-head
** Description changed:
There's a longstanding issue (see the duplicate bug #555641) with Compiz
and multi-monitor setups with any combined dimension larger than the
maximum GL texture size. It used to be the case that this would simply
crash compiz, but mesa now has code to fallback to software rendering
for those cases. Unfortunately, this rendering is unacceptably slow (on
the order of 10s of seconds per frame), particularly since the only
hardware that will realistically hit this limit is netbook hardware with
the associated anaemic CPU. It also appears to be broken in some cases
(see bug #830949), although I can't reproduce that myself.
The Compiz "Copy to Texture" plugin can break textures up into <= max
texture size chunks, allowing hardware rendering to work with these
large framebuffers. This is insufficient for Unity, though, which also
needs a way to break up its FBOs.
For Oneiric we should patch g-s-d's xrandr plugin to disallow setting a
multi-monitor configuration with any dimension >= max texture size when
Unity is running. Additionally, the display capplet should not allow a
resolution to be explicitly set that will break Unity. For P this
should be dropped in favour of enabling Compiz's "Copy to Texture"
plugin and fixing Unity.
+
+ String Freeze Exception Request:
+ This patch adds a new failure mode and explanatory error message to gnome-desktop's randr handling. This new message is required to explain to the user why their multi-head setup request has been rejected, and what can be done about it.
Original report:
THIS IS A MASTER BUG OF FOUR DIFFERENT BUGS:
[nVidia] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830955
[Intel N10] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830949
[Intel Arrandale, Mobile 4 Series] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830952
[ATI] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830953
Oneiric Alpha 3 installed on this system. Under testing, one test is to
plug in an external monitor and ensure that external video functions
properly. On this EeePC, it does not. (See photo attached to this
bug).
Once the external montior is plugged in, both the primary display and
the external display are horribly garbled. The only thing that exists
on the screen that's remotely readable is the panel at the top. The
rest of the desktop area is just a mess.
Affected systems and GPUs:
Dell Vostro 1014 (Intel Mobile 4 Series)
Dell Vostro 1015 (Intel Mobile 4 Series)
Lenovo Thinkpad Edge 11 (Intel Arrandale)
Lenovo Thinkpad Edge 14 (M92 [Mobility Radeon HD 4500/5100 Series])
Lenovo Thinkpad Edge 15 (Intel Arrandale)
Lenovo Thinkpad SL410 (Intel Mobile 4 Series)
Lenovo Thinkpad Edge 15 (ATI Technologies Inc M880G [Mobility Radeon HD 4200])
Lenovo Thinkpad L412 (Intel Arrandale)
Lenovo Thinkpad Edge 11 (ATI Technologies Inc: M880G [Mobility Radeon HD 4200])
Dell Vostro 1520 (Intel Mobile 4 Series)
Dell Vostro 1720 (Intel Mobile 4 Series)
Dell Studio XPS 1340 (nVidia Corporation: GT218 [GeForce G210M])
Dell Inspiron 1545 (Intel Mobile 4 Series)
Dell Studio XPS 1340 (nVidia Corporation: G98 [GeForce 9200M GS])
Dell Vostro 3300 (Intel Arrandale)
Dell Vostro 3500 (Intel Arrandale)
Dell Vostro 3700 (Intel Arrandale)
Dell Precision M4500 (nVidia Corporation: GT215 [Quadro FX 1800M])
Dell Latitude E6410 (nVidia Corporation: GT218 [NVS 3100M])
Toshiba Tecra A11/M11 (Intel Arrendale)
Toshiba Tecra S11/M11 (nVidia Corporation: GT218 [NVS 2100M])
Dell Latitude 2110 (Intel Corporation: N10 Family Integrated Graphics Controller)
Dell Latitude 13 (Intel Mobile 4 Series)
Dell Vostro 3400 (Intel Arrandale)
Dell Vostro V13 (Intel Mobile 4 Series)
Dell Vostro 3500 (Intel Arrandale)
Dell Vostro V13 (Intel Mobile 4 Series)
Dell Vostro 3700 (Intel Arrandale)
Dell Precision M6500 (ATI Technologies Inc: M97 GL [ATI FirePro M7740])
Toshiba Tecra R700 (Intel Arrandale)
Dell Inspiron 15R (Intel Arrandale)
HP ProBook 6550b (Intel Arrandale)
Asus EeePC 1001PXD (Intel Corporation: N10 Family Integrated Graphics Controller)
Asus EeePC 1011PX (Intel Corporation: N10 Family Integrated Graphics Controller)
Asus EeePC 1015PX (Intel Corporation: N10 Family Integrated Graphics Controller)
Dell Mini 10 (Intel Corporation: N10 Family Integrated Graphics Controller)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
Date: Wed Aug 10 13:38:33 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
Intel Corporation N10 Family Integrated Graphics Controller [8086:a011] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
LightdmGreeterLog:
MachineType: ASUSTeK Computer INC. 1001PXD
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic root=UUID=bbe0cd86-364f-4ba4-9c7d-7f9b165d66c1 ro quiet splash initcall_debug vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/12/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0105
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1001PXD
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0105:bd08/12/2010:svnASUSTeKComputerINC.:pn1001PXD:pvrx.x:rvnASUSTeKComputerINC.:rn1001PXD:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1001PXD
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.
version.compiz: compiz 1:0.9.5.0-0ubuntu2
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.2-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-desktop3 in Ubuntu.
https://bugs.launchpad.net/bugs/824099
Title:
Max GL texture size can break multi-head
Status in Unity:
Invalid
Status in “compiz” package in Ubuntu:
Invalid
Status in “gnome-desktop3” package in Ubuntu:
In Progress
Status in “unity” package in Ubuntu:
Triaged
Status in “compiz” source package in Oneiric:
Won't Fix
Status in “gnome-desktop3” source package in Oneiric:
In Progress
Status in “unity” source package in Oneiric:
Won't Fix
Status in “compiz” source package in p-series:
Triaged
Status in “gnome-desktop3” source package in p-series:
Confirmed
Status in “unity” source package in p-series:
Triaged
Bug description:
There's a longstanding issue (see the duplicate bug #555641) with
Compiz and multi-monitor setups with any combined dimension larger
than the maximum GL texture size. It used to be the case that this
would simply crash compiz, but mesa now has code to fallback to
software rendering for those cases. Unfortunately, this rendering is
unacceptably slow (on the order of 10s of seconds per frame),
particularly since the only hardware that will realistically hit this
limit is netbook hardware with the associated anaemic CPU. It also
appears to be broken in some cases (see bug #830949), although I can't
reproduce that myself.
The Compiz "Copy to Texture" plugin can break textures up into <= max
texture size chunks, allowing hardware rendering to work with these
large framebuffers. This is insufficient for Unity, though, which
also needs a way to break up its FBOs.
For Oneiric we should patch g-s-d's xrandr plugin to disallow setting
a multi-monitor configuration with any dimension >= max texture size
when Unity is running. Additionally, the display capplet should not
allow a resolution to be explicitly set that will break Unity. For P
this should be dropped in favour of enabling Compiz's "Copy to
Texture" plugin and fixing Unity.
String Freeze Exception Request:
This patch adds a new failure mode and explanatory error message to gnome-desktop's randr handling. This new message is required to explain to the user why their multi-head setup request has been rejected, and what can be done about it.
Original report:
THIS IS A MASTER BUG OF FOUR DIFFERENT BUGS:
[nVidia] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830955
[Intel N10] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830949
[Intel Arrandale, Mobile 4 Series] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830952
[ATI] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/830953
Oneiric Alpha 3 installed on this system. Under testing, one test is
to plug in an external monitor and ensure that external video
functions properly. On this EeePC, it does not. (See photo attached
to this bug).
Once the external montior is plugged in, both the primary display and
the external display are horribly garbled. The only thing that exists
on the screen that's remotely readable is the panel at the top. The
rest of the desktop area is just a mess.
Affected systems and GPUs:
Dell Vostro 1014 (Intel Mobile 4 Series)
Dell Vostro 1015 (Intel Mobile 4 Series)
Lenovo Thinkpad Edge 11 (Intel Arrandale)
Lenovo Thinkpad Edge 14 (M92 [Mobility Radeon HD 4500/5100 Series])
Lenovo Thinkpad Edge 15 (Intel Arrandale)
Lenovo Thinkpad SL410 (Intel Mobile 4 Series)
Lenovo Thinkpad Edge 15 (ATI Technologies Inc M880G [Mobility Radeon HD 4200])
Lenovo Thinkpad L412 (Intel Arrandale)
Lenovo Thinkpad Edge 11 (ATI Technologies Inc: M880G [Mobility Radeon HD 4200])
Dell Vostro 1520 (Intel Mobile 4 Series)
Dell Vostro 1720 (Intel Mobile 4 Series)
Dell Studio XPS 1340 (nVidia Corporation: GT218 [GeForce G210M])
Dell Inspiron 1545 (Intel Mobile 4 Series)
Dell Studio XPS 1340 (nVidia Corporation: G98 [GeForce 9200M GS])
Dell Vostro 3300 (Intel Arrandale)
Dell Vostro 3500 (Intel Arrandale)
Dell Vostro 3700 (Intel Arrandale)
Dell Precision M4500 (nVidia Corporation: GT215 [Quadro FX 1800M])
Dell Latitude E6410 (nVidia Corporation: GT218 [NVS 3100M])
Toshiba Tecra A11/M11 (Intel Arrendale)
Toshiba Tecra S11/M11 (nVidia Corporation: GT218 [NVS 2100M])
Dell Latitude 2110 (Intel Corporation: N10 Family Integrated Graphics Controller)
Dell Latitude 13 (Intel Mobile 4 Series)
Dell Vostro 3400 (Intel Arrandale)
Dell Vostro V13 (Intel Mobile 4 Series)
Dell Vostro 3500 (Intel Arrandale)
Dell Vostro V13 (Intel Mobile 4 Series)
Dell Vostro 3700 (Intel Arrandale)
Dell Precision M6500 (ATI Technologies Inc: M97 GL [ATI FirePro M7740])
Toshiba Tecra R700 (Intel Arrandale)
Dell Inspiron 15R (Intel Arrandale)
HP ProBook 6550b (Intel Arrandale)
Asus EeePC 1001PXD (Intel Corporation: N10 Family Integrated Graphics Controller)
Asus EeePC 1011PX (Intel Corporation: N10 Family Integrated Graphics Controller)
Asus EeePC 1015PX (Intel Corporation: N10 Family Integrated Graphics Controller)
Dell Mini 10 (Intel Corporation: N10 Family Integrated Graphics Controller)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
Date: Wed Aug 10 13:38:33 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
Intel Corporation N10 Family Integrated Graphics Controller [8086:a011] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
LightdmGreeterLog:
MachineType: ASUSTeK Computer INC. 1001PXD
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic root=UUID=bbe0cd86-364f-4ba4-9c7d-7f9b165d66c1 ro quiet splash initcall_debug vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/12/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0105
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1001PXD
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0105:bd08/12/2010:svnASUSTeKComputerINC.:pn1001PXD:pvrx.x:rvnASUSTeKComputerINC.:rn1001PXD:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1001PXD
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.
version.compiz: compiz 1:0.9.5.0-0ubuntu2
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.2-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/824099/+subscriptions