Occurs in compton on my Kaby Lake R laptop when i run compton and then i3lock-color --composite. Backtrace: #0 0x00007f30d068c45b in raise () from /lib64/libc.so.6 #1 0x00007f30d0675535 in abort () from /lib64/libc.so.6 #2 0x00007f30d067540f in __assert_fail_base.cold.0 () from /lib64/libc.so.6 #3 0x00007f30d0683d92 in __assert_fail () from /lib64/libc.so.6 #4 0x00007f30cecdb2f4 in intel_miptree_has_color_unresolved (mt=mt@entry=0x55f8b1925cd0, start_level=start_level@entry=0, num_levels=num_levels@entry=4294967295, start_layer=start_layer@entry=0, num_layers=num_layers@entry=4294967295) at ../mesa-9999/src/mesa/drivers/dri/i965/intel_mipmap_tree.c:1942 #5 0x00007f30cecdd259 in intel_miptree_texture_aux_usage (brw=brw@entry=0x55f8b1666570, mt=mt@entry=0x55f8b1925cd0, view_format=view_format@entry=ISL_FORMAT_B8G8R8A8_UNORM, astc5x5_wa_bits=astc5x5_wa_bits@entry=GEN9_ASTC5X5_WA_TEX_TYPE_AUX) at ../mesa-9999/src/mesa/drivers/dri/i965/intel_mipmap_tree.c:2587 #6 0x00007f30cecdd2f5 in intel_miptree_prepare_texture (brw=brw@entry=0x55f8b1666570, mt=0x55f8b1925cd0, view_format=view_format@entry=ISL_FORMAT_B8G8R8A8_UNORM, start_level=start_level@entry=0, num_levels=num_levels@entry=1, start_layer=start_layer@entry=0, num_layers=4294967295, astc5x5_wa_bits=GEN9_ASTC5X5_WA_TEX_TYPE_AUX) at ../mesa-9999/src/mesa/drivers/dri/i965/intel_mipmap_tree.c:2627 #7 0x00007f30ceca9085 in brw_predraw_resolve_inputs (brw=brw@entry=0x55f8b1666570, rendering=rendering@entry=true, draw_aux_buffer_disabled=draw_aux_buffer_disabled@entry=0x7fff1c907040) at ../mesa-9999/src/mesa/drivers/dri/i965/brw_draw.c:537 #8 0x00007f30ceca94d6 in brw_prepare_drawing (ctx=ctx@entry=0x55f8b1666570, ib=ib@entry=0x0, index_bounds_valid=index_bounds_valid@entry=true, min_index=0, max_index=3) at ../mesa-9999/src/mesa/drivers/dri/i965/brw_draw.c:846 #9 0x00007f30ceca96d2 in brw_draw_prims (ctx=0x55f8b1666570, prims=0x55f8b169c368, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=<optimized out>, max_index=<optimized out>, gl_xfb_obj=0x0, stream=0, indirect=0x0) at ../mesa-9999/src/mesa/drivers/dri/i965/brw_draw.c:1138 #10 0x00007f30cedf5986 in vbo_exec_vtx_flush (exec=exec@entry=0x55f8b169bb70, keepUnmapped=keepUnmapped@entry=1 '\001') at ../mesa-9999/src/mesa/vbo/vbo_exec_draw.c:388 #11 0x00007f30cedd510c in vbo_exec_FlushVertices_internal (exec=0x55f8b169bb70, unmap=unmap@entry=1 '\001') at ../mesa-9999/src/mesa/vbo/vbo_exec_api.c:638 #12 0x00007f30cedf4bab in vbo_exec_FlushVertices (ctx=ctx@entry=0x55f8b1666570, flags=flags@entry=1) at ../mesa-9999/src/mesa/vbo/vbo_exec_api.c:1256 #13 0x00007f30cedb00e3 in bind_texture_object (ctx=ctx@entry=0x55f8b1666570, unit=0, texObj=texObj@entry=0x55f8b151ebb0) at ../mesa-9999/src/mesa/main/texobj.c:1674 #14 0x00007f30cedb1856 in bind_texture (no_error=false, texName=0, target=3553, ctx=0x55f8b1666570) at ../mesa-9999/src/mesa/main/texobj.c:1787 #15 _mesa_BindTexture (target=3553, texName=0) at ../mesa-9999/src/mesa/main/texobj.c:1807 #16 0x000055f8b106dd57 in glx_render_ () #17 0x000055f8b105cfa0 in render_ () #18 0x000055f8b1064c2f in paint_all () #19 0x000055f8b10599d9 in main ()
Hello, Sergey Could i ask you for a trace of that case with tool 'apitrace' (replay of trace should give the same assert). And also what is the version of mesa ('inxi -Fx' and 'glxinfo -B')? And 'sudo X -version'
(In reply to Sergii Romantsov from comment #1) > Hello, Sergey > Could i ask you for a trace of that case with tool 'apitrace' (replay of > trace should give the same assert). https://dump.bitcheese.net/files/coxuxij/compton.trace > And also what is the version of mesa ('inxi -Fx' and 'glxinfo -B')? And > 'sudo X -version' ∞ inxi -Fx System: Host: l29ah-x201 Kernel: 4.20.6+ x86_64 bits: 64 gcc: 8.2.0 Console: tty 28 Distro: Gentoo Base System release 2.6 Machine: Device: desktop Mobo: N/A model: N/A serial: N/A UEFI [Legacy]: American Megatrends v: 5.12 date: 07/03/2018 Battery BAT0: charge: 42.9 Wh 98.6% condition: 43.5/51.3 Wh (85%) model: CJOYIN Y91 status: N/A CPU: Quad core Intel Core i7-8550U (-MT-MCP-) arch: Kaby Lake rev.10 cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15940 clock speeds: max: 4000 MHz 1: 3611 MHz 2: 3600 MHz 3: 3600 MHz 4: 3600 MHz 5: 3600 MHz 6: 3600 MHz 7: 3599 MHz 8: 3600 MHz Graphics: Card: Intel UHD Graphics 620 bus-ID: 00:02.0 Display Server: X.Org 1.20.3 driver: modesetting Resolution: 1920x1200@59.99hz OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) version: 4.5 Mesa 19.1.0-devel (git-9e787904d0) Direct Render: Yes Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 Sound: Advanced Linux Sound Architecture v: k4.20.6+ Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller driver: r8169 port: e000 bus-ID: 01:00.0 IF: eth0 state: down mac: 00:e0:4c:18:00:de Card-2: Intel Ultimate N WiFi Link 5300 driver: iwlwifi bus-ID: 02:00.0 IF: wlan0 state: up mac: 0c:b3:19:f9:7c:7f Drives: HDD Total Size: 256.1GB (1.4% used) ID-1: /dev/sda model: KINGSTON_SV300S3 size: 240.1GB ID-2: USB /dev/sdb model: Multi size: 16.0GB Partition: ID-1: / size: 217G used: 196G (91%) fs: ext4 dev: /dev/root ID-2: swap-1 size: 3.83GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 Sensors: System Temperatures: cpu: 92.0C mobo: 92.0C Fan Speeds (in rpm): cpu: N/A Info: Processes: 290 Uptime: 12 days Memory: 4933.6/15899.0MB Init: SysVinit rc: OpenRC runlevel: default Gcc sys: 8.3.0 Client: Shell (zsh 5.7.1) inxi: 2.3.56 ∞ glxinfo -B name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Intel Open Source Technology Center (0x8086) Device: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) (0x5917) Version: 19.1.0 Accelerated: yes Video memory: 3072MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.5 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.0-devel (git-9e787904d0) OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.0 Mesa 19.1.0-devel (git-9e787904d0) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.0-devel (git-9e787904d0) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 ∞ X -version X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.20.6+ x86_64 Gentoo Current Operating System: Linux l29ah-x201 4.20.6+ #113 SMP PREEMPT Sun Feb 3 09:30:54 MSK 2019 x86_64 Kernel command line: auto BOOT_IMAGE=Gentoo_Doc ro root=801 elevator=noop iomem=relaxed security=apparmor resume=/dev/sda2 Build Date: 02 March 2019 08:17:21AM Current version of pixman: 0.36.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
(In reply to Sergii Romantsov from comment #1) > replay of trace should give the same assert It doesn't.
Created attachment 143521 [details] attachment-5962-0.html Ok, than, probably trace of i3lock-color... On Mon, Mar 4, 2019 at 3:36 PM <bugzilla-daemon@freedesktop.org> wrote: > *Comment # 3 <https://bugs.freedesktop.org/show_bug.cgi?id=109826#c3> on > bug 109826 <https://bugs.freedesktop.org/show_bug.cgi?id=109826> from > Sergey Alirzaev <zl29ah@gmail.com> * > > (In reply to Sergii Romantsov from comment #1 <https://bugs.freedesktop.org/show_bug.cgi?id=109826#c1>)> replay of trace should give the same assert > It doesn't. > > ------------------------------ > You are receiving this mail because: > > - You are the assignee for the bug. > - You are the QA Contact for the bug. > > _______________________________________________ > intel-3d-bugs mailing list > intel-3d-bugs@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-3d-bugs
(In reply to Sergii Romantsov from comment #4) > Ok, than, probably trace of i3lock-color... apitrace doesn't want to produce any files for it. Verbose output: l29ahZl29ah-x201 ~ ‰ apitrace trace -v -o i3lock.trace i3lock -n -e -k --color 55ff55 -i ~/wallpapers/c.png --time-font=Verdana --date-font=Verdana --layout-font=Verdana --verif-font=Verdana --wrong-font=Verdana --greeter-font=Verdana --composite --show-failed-attempts info: did not find /usr/bin/wrappers/glxtrace.so apitrace: loaded into /usr/bin/apitrace info: found /usr/bin/../$LIB/apitrace/wrappers/glxtrace.so apitrace: unloaded from /usr/bin/apitrace LD_PRELOAD=/usr/bin/../$LIB/apitrace/wrappers/glxtrace.so i3lock -n -e -k --color 55ff55 -i /home/l29ah/wallpapers/c.png --time-font=Verdana --date-font=Verdana --layout-font=Verdana --verif-font=Verdana --wrong-font=Verdana --greeter-font=Verdana --composite --show-failed-attempts apitrace: loaded into /usr/bin/i3lock apitrace: unloaded from /usr/bin/i3lock l29ahZl29ah-x201 ~ ‰ apitrace: unloaded from /usr/bin/i3lock
Hm, yes that is sad. I see that you are using modesettings. Could you try to attach also a content of files in /usr/share/X11/xorg.conf.d or /etc/X11/xorg.conf.d/ Probably you may have a file named '20-intel.conf' or '20-modesetting.conf'. Please try to use for option 'Driver' a value 'intel' instead of 'modesetting' - just for case to check. Need to reboot.
(In reply to Sergii Romantsov from comment #6) > Hm, yes that is sad. > I see that you are using modesettings. > Could you try to attach also a content of files in > /usr/share/X11/xorg.conf.d or /etc/X11/xorg.conf.d/ > Probably you may have a file named '20-intel.conf' or '20-modesetting.conf'. The only video output-relevant part: Section "Device" # opengl stuff (and qutebrowser) hangs sometimes #Driver "intel" # maybe it will fix the backlight problem # used to fuck up everything but the mouse cursor on x201 # should fix tearing // https://github.com/mpv-player/mpv/wiki/FAQ#X11Intel # 1fps in fortresscraft menu on x230 # [ 116.781] (II) AIGLX: Screen 0 is not DRI2 capable [ 116.781] (EE) AIGLX: reverting to software rendering # maybe it will fix my hanging opengl stuff # incompatible with my shitty coreboot w/ x230 fhd mod tho Driver "modesetting" Identifier "Card" # Maybe it will fix the fucking up fonts problem # Maybe it will make hl faster # Maybe conflicts with modesetting #Option "AccelMethod" "uxa" # Maybe it will make hl faster # nope #Option "AccelMethod" "sna" # Maybe it will make hl faster # No, it displays nothing #Option "DRI" "ilo" # supposedly will make things faster Option "DRI" "3" EndSection > Please try to use for option 'Driver' a value 'intel' instead of > 'modesetting' - just for case to check. Need to reboot. Do i have to reboot or restarting X will suffice?
Probably, restart should be enough (to check it by inxi -Fx - field 'Display Server: X.Org 1.20.3 driver: ' should be followed by i965 or i915).
(In reply to Sergii Romantsov from comment #8) > Probably, restart should be enough (to check it by inxi -Fx - field 'Display > Server: X.Org 1.20.3 driver: ' should be followed by i965 or i915). It works with intel DDX, but mesa switches to llvmpipe backend then, so i don't have any hardware acceleration in my apps.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1795.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.