I did some 'gdbing' and located cause of the issue. The problem (only?) happens when texture compression is enabled.
So, if texture compression is enabled GLFramebufferObject::allocate allocates texture that is compressed and apparently mesa doesn't like compressed textures for frame buffer. Oddly enough enabled compression doesn't cause the problem when texture is allocated first time at startup, but only causes problem when it is reallocated when resolution changes. Probably because custom config is loaded at a later stage somehow - but this is not exactly apparent why config is loaded at a later stage. Judging by the log output config should be loaded by the time opengl plugin is loaded. I guess ideally enabling texture compression should not cause such issues. Please let me know if I can provide any other information. Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/1327659 Title: Compiz freezes when screen is disconnected Status in “compiz” package in Ubuntu: New Bug description: I have an laptop with Intel HD4000 graphics running compiz (with mint mate). When I disconnect external screen the main laptop screen blinks and starts displaying old stuff on left half and old stuff from disconnected screen on right half. And it freezes in this state although mouse is still moving - but I cannot click anything. Do dmesg messages, but xsession-errors contains this: failed to create drawable compiz (core) - Warn: glXCreatePixmap failed compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) This happens with both Trusty stock x server and oibaf xserver, but this doesn't happen if I disable compiz. Also, problem exists when I connect screen, i.e. any change in screen config triggers this issue. Please let me know if I can provide any useful information to help fixing this issue. Thanks! ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: compiz 1:0.9.11+14.04.20140423-0ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CurrentDesktop: mate Date: Sat Jun 7 20:10:47 2014 InstallationDate: Installed on 2014-06-01 (6 days ago) InstallationMedia: Linux Mint 17 "Qiana" - Release amd64 20140530 PackageArchitecture: all SourcePackage: compiz UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1327659/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

