Public bug reported: I'm using a Dell Latitude E6540 laptop with hybrid graphics (Intel HD + Radeon HD8790M). Using DRI_PRIME=1 to offload to the discrete GPU causes different problems, from simple program crash to complete system hang (i.e. no ctrl-alt-F1, no external ssh access, only long-press power button shutdown possible). When system does not hang (app crash) the error is always something concerning 'dri2_allocate_textures' in gallium. For example:
$ DRI_PRIME=1 glxgears (hangs system) Black window displayed, resizing it a bit makes 3D gears appear, resizing a little more completely hangs system $ DRI_PRIME=1 /media/data/opt/SweetHome3D-4.4/SweetHome3D (application crash) Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Java 3D: implicit antialiasing enabled java: ../../../../../../src/gallium/state_trackers/dri/dri2.c:526: dri2_allocate_textures: Assertion `drawable->textures[statt]' failed. Aborted (core dumped) $ DRI_PRIME=1 google-chrome (warning but no crash) [21803:21803:0617/130700:ERROR:url_pattern_set.cc(240)] Invalid url pattern: chrome://print/* [10:10:0617/130700:ERROR:resource_request_policy.cc(57)] Denying load of chrome-extension://apdfllckaahabafndbhieahigkjlhalf/page_embed_script.js from hosted app. [10:10:0617/130701:ERROR:resource_request_policy.cc(57)] Denying load of chrome-extension://apdfllckaahabafndbhieahigkjlhalf/page_embed_script.js from hosted app. /chrome/chrome --type=gpu-process --channel=21803.0.1199310008 --: ../../../../../../src/gallium/state_trackers/dri/dri2.c:526: dri2_allocate_textures: Assertion `drawable->textures[statt]' failed. [21803:21833:0617/130704:ERROR:browser_gpu_channel_host_factory.cc(134)] Failed to launch GPU process. Happy to help debug problem, but I don't know where to start.. :-) ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: xserver-xorg-video-ati 1:7.5.0-1ubuntu2 ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8 Uname: Linux 3.19.0-21-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,staticswitcher,workarounds,scale,expo,ezoom,dbus] CompositorRunning: compiz CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0' CompositorUnredirectFSW: true CurrentDesktop: Unity Date: Wed Jun 17 12:52:11 2015 DistUpgraded: 2015-05-04 10:38:23,123 DEBUG enabling apt cron job DistroCodename: vivid DistroVariant: ubuntu DkmsStatus: vboxhost, 4.3.28, 3.19.0-16-generic, x86_64: installed vboxhost, 4.3.28, 3.19.0-18-generic, x86_64: installed vboxhost, 4.3.28, 3.19.0-20-generic, x86_64: installed vboxhost, 4.3.28, 3.19.0-21-generic, x86_64: installed ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller]) Subsystem: Dell Device [1028:05be] Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] [1002:6606] (rev ff) (prog-if ff) InstallationDate: Installed on 2013-09-12 (642 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MachineType: Dell Inc. Latitude E6540 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-21-generic root=UUID=c1c1766d-f37e-4c42-957a-5a87fe06105b ro quiet splash vt.handoff=7 SourcePackage: xserver-xorg-video-ati UpgradeStatus: Upgraded to vivid on 2015-05-04 (44 days ago) dmi.bios.date: 02/18/2014 dmi.bios.vendor: Dell Inc. dmi.bios.version: A08 dmi.board.name: 0725FP dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 9 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA08:bd02/18/2014:svnDellInc.:pnLatitudeE6540:pvr01:rvnDellInc.:rn0725FP:rvrA00:cvnDellInc.:ct9:cvr: dmi.product.name: Latitude E6540 dmi.product.version: 01 dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.60-2 version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.2-0ubuntu1 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.2-0ubuntu1 version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.2 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1 xserver.bootTime: Wed Jun 17 09:52:23 2015 xserver.configfile: default xserver.errors: RADEON(G0): [XvMC] Failed to initialize extension. xserver.logfile: /var/log/Xorg.0.log xserver.outputs: product id 5562 vendor CMN xserver.version: 2:1.17.1-0ubuntu3 ** Affects: xserver-xorg-video-ati (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug compiz-0.9 ubuntu vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1466053 Title: System hangs completely when executing glxgears with DRI_PRIME=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1466053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs