After the most recent Mesa update: Apr 11 20:13:39 pkg: mesa-libs upgraded: 17.3.1 -> 18.0.0 Apr 11 20:13:44 pkg: mesa-dri upgraded: 17.3.1_1 -> 18.0.0
kwin stopped doing compositing/acceleration on a laptop with Intel Haswell graphics. KInfoCenter shows: Vendor: Intel Open Source Technology Center Renderer: Mesa DRI Intel(R) Haswell Mobile OpenGL/ES version: 3.0 Mesa 18.0.0 Kernel module: i915 The reason seems to be that kwin is looking for a 32-bit frame buffer, while the Intel driver is creating only 24-bit (see log excerpts below). Is this a bug, or a configuration error? Any advice? -- Greg Rivers ~/.xsession-errors: startkde: Starting up... ... kwin(1234) KWin::Compositor::slotCompositingOptionsInitialized: Initializing OpenGL compositing kwin(1234): Could not find a framebuffer configuration for depth 32. kwin(1234) KWin::OpenGLBackend::setFailed: Creating the OpenGL rendering failed: "Could not initialize the drawable configs" QObject::connect: Cannot connect (null)::resetCompositing() to KWin::Compositor::restart() kwin(1234): Failed to initialize compositing, compositing disabled kwin(1234): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. ... /var/log/Xorg.0.log: ... [ 54.162] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 54.162] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 54.162] (==) intel(0): RGB weight 888 [ 54.162] (==) intel(0): Default visual is TrueColor [ 54.162] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400 [ 54.162] (**) intel(0): Relaxed fencing enabled [ 54.162] (**) intel(0): Wait on SwapBuffers? enabled [ 54.162] (**) intel(0): Triple buffering? enabled [ 54.162] (**) intel(0): Framebuffer tiled [ 54.162] (**) intel(0): Pixmaps tiled [ 54.162] (**) intel(0): 3D buffers tiled [ 54.162] (**) intel(0): SwapBuffers wait enabled [ 54.162] (==) intel(0): video overlay key set to 0x101fe [ 54.163] (II) intel(0): Output eDP1 has no monitor section [ 54.167] (II) intel(0): Output HDMI1 has no monitor section [ 54.176] (II) intel(0): Output DP1 has no monitor section [ 54.181] (II) intel(0): Output HDMI2 has no monitor section [ 54.190] (II) intel(0): Output DP2 has no monitor section [ 54.191] (II) intel(0): EDID for output eDP1 [ 54.191] (II) intel(0): Manufacturer: CMN Model: 15c2 Serial#: 0 [ 54.191] (II) intel(0): Year: 2013 Week: 4 [ 54.191] (II) intel(0): EDID Version: 1.4 [ 54.191] (II) intel(0): Digital Display Input [ 54.191] (II) intel(0): 6 bits per channel [ 54.191] (II) intel(0): Digital interface is DisplayPort [ 54.191] (II) intel(0): Max Image Size [cm]: horiz.: 34 vert.: 19 [ 54.191] (II) intel(0): Gamma: 2.20 [ 54.191] (II) intel(0): No DPMS capabilities specified [ 54.191] (II) intel(0): Supported color encodings: RGB 4:4:4 [ 54.191] (II) intel(0): First detailed timing is preferred mode [ 54.191] (II) intel(0): Preferred mode is native pixel format and refresh rate [ 54.191] (II) intel(0): redX: 0.618 redY: 0.340 greenX: 0.341 greenY: 0.580 [ 54.191] (II) intel(0): blueX: 0.152 blueY: 0.081 whiteX: 0.313 whiteY: 0.329 [ 54.191] (II) intel(0): Manufacturer's mask: 0 [ 54.191] (II) intel(0): Supported detailed timing: [ 54.191] (II) intel(0): clock: 152.8 MHz Image Size: 344 x 194 mm [ 54.191] (II) intel(0): h_active: 1920 h_sync: 2010 h_sync_end 2070 h_blank_end 2250 h_border: 0 [ 54.191] (II) intel(0): v_active: 1080 v_sync: 1086 v_sync_end 1095 v_blanking: 1132 v_border: 0 [ 54.191] (II) intel(0): Supported detailed timing: [ 54.191] (II) intel(0): clock: 101.9 MHz Image Size: 344 x 194 mm [ 54.191] (II) intel(0): h_active: 1920 h_sync: 2010 h_sync_end 2070 h_blank_end 2250 h_border: 0 [ 54.191] (II) intel(0): v_active: 1080 v_sync: 1086 v_sync_end 1095 v_blanking: 1132 v_border: 0 [ 54.191] (II) intel(0): Unknown vendor-specific block 2 [ 54.191] (II) intel(0): EDID (in hex): [ 54.191] (II) intel(0): 00ffffffffffff000daec21500000000 [ 54.191] (II) intel(0): 04170104952213780246359e57579427 [ 54.191] (II) intel(0): 14505400000001010101010101010101 [ 54.191] (II) intel(0): 010101010101b43b804a713834405a3c [ 54.191] (II) intel(0): 690058c21000001acd27804a71383440 [ 54.191] (II) intel(0): 5a3c690058c21000001a000000000000 [ 54.191] (II) intel(0): 00000000000000000000000000000002 [ 54.191] (II) intel(0): 000c33ff0f3c96211433960000000070 [ 54.191] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported) [ 54.191] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported) [ 54.191] (II) intel(0): Printing probed modes for output eDP1 [ 54.192] (II) intel(0): Modeline "1920x1080"x60.0 152.84 1920 2010 2070 2250 1080 1086 1095 1132 +hsync -vsync (67.9 kHz eP) [ 54.192] (II) intel(0): Modeline "1920x1080"x40.0 101.89 1920 2010 2070 2250 1080 1086 1095 1132 +hsync -vsync (45.3 kHz e) [ 54.192] (II) intel(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d) [ 54.192] (II) intel(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d) [ 54.192] (II) intel(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d) [ 54.192] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d) [ 54.192] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d) [ 54.192] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d) [ 54.192] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d) [ 54.196] (II) intel(0): EDID for output HDMI1 [ 54.205] (II) intel(0): EDID for output DP1 [ 54.210] (II) intel(0): EDID for output HDMI2 [ 54.219] (II) intel(0): EDID for output DP2 [ 54.219] (II) intel(0): Output eDP1 connected [ 54.219] (II) intel(0): Output HDMI1 disconnected [ 54.219] (II) intel(0): Output DP1 disconnected [ 54.219] (II) intel(0): Output HDMI2 disconnected [ 54.219] (II) intel(0): Output DP2 disconnected [ 54.219] (II) intel(0): Using exact sizes for initial modes [ 54.219] (II) intel(0): Output eDP1 using initial mode 1920x1080 +0+0 [ 54.219] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 54.219] (II) intel(0): Kernel page flipping support detected, enabling [ 54.219] (==) intel(0): DPI set to (96, 96) [ 54.219] (II) Loading sub module "fb" [ 54.219] (II) LoadModule: "fb" [ 54.220] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 54.221] (II) Module fb: vendor="X.Org Foundation" [ 54.221] compiled for 1.18.4, module version = 1.0.0 [ 54.221] ABI class: X.Org ANSI C Emulation, version 0.4 [ 54.221] (II) Loading sub module "dri2" [ 54.221] (II) LoadModule: "dri2" [ 54.221] (II) Module "dri2" already built-in [ 54.221] (==) Depth 24 pixmap format is 32 bpp [ 54.221] (II) intel(0): Allocated new frame buffer 1920x1080 stride 7680, tiled [ 54.223] (II) UXA(0): Driver registered support for the following operations: [ 54.223] (II) solid [ 54.223] (II) copy [ 54.223] (II) composite (RENDER acceleration) [ 54.223] (II) put_image [ 54.223] (II) get_image [ 54.224] (II) intel(0): [DRI2] Setup complete [ 54.224] (II) intel(0): [DRI2] DRI driver: i965 [ 54.224] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 54.224] (==) intel(0): Backing store enabled [ 54.224] (==) intel(0): Silken mouse enabled [ 54.224] (II) intel(0): Initializing HW Cursor [ 54.224] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 54.225] (==) intel(0): DPMS enabled [ 54.225] (==) intel(0): Intel XvMC decoder enabled [ 54.225] (II) intel(0): Set up textured video [ 54.225] (II) intel(0): [XvMC] xvmc_vld driver initialized. [ 54.225] (II) intel(0): DRI2: Enabled [ 54.225] (II) intel(0): DRI3: Disabled [ 54.244] (--) RandR disabled [ 54.268] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 54.268] (II) AIGLX: enabled GLX_ARB_create_context [ 54.268] (II) AIGLX: enabled GLX_ARB_create_context_profile [ 54.268] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile [ 54.268] (II) AIGLX: enabled GLX_INTEL_swap_event [ 54.268] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 54.268] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB [ 54.268] (II) AIGLX: enabled GLX_ARB_fbconfig_float [ 54.268] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float [ 54.268] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 54.269] (II) AIGLX: Loaded and initialized i965 [ 54.269] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 54.269] (II) intel(0): Setting screen physical size to 508 x 285 ...