Created attachment 137060 [details] Xorg log with failure Configuration: Components target: OS= Ubuntu 17.10 Kernel = 4.14.14 3D: Mesa = 17.3.2 2D: xf86-video-intel = 2.99.917 Xorg/xserver = 1.19.6 Cairo = 1.15.10 Cross-driver middleware: libdrm = 2.4.89 Media: intel-vaapi-driver = 2.0.0 libva = 2.0.0 libva-utils = 2.0.0 Validation Tools: intel-gpu-tools = 1.21 firmware: GuC, DMC, HuC - Version used will be the ones release in https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git Steps to reproduce: 1.Compile and install xf86-video-driver. 2.Login in the system 3.Try to open any folder using User interface Expected result: The folder should be open without any kind of issues. Actual result: The system perform a logout closing all windows and programs running before the action. Suspecting of the way the the driver is handling video drivers (xf86-video-intel). [ 5288.734] (EE) Backtrace: [ 5288.735] (EE) 0: /usr/lib/xorg/modules/drivers/intel_drv.so (sna_accel_flush+0x270) [0x7f9c45ed35c0] [ 5288.736] (EE) 1: /usr/lib/xorg/modules/drivers/intel_drv.so (sna_shm_flush_callback+0x1c) [0x7f9c45ed366c] [ 5288.736] (EE) 2: /usr/bin/Xorg (_CallCallbacks+0x34) [0x55a20e4500e4] [ 5288.737] (EE) 3: /usr/bin/Xorg (FlushClient+0x78) [0x55a20e5ad208] [ 5288.737] (EE) 4: /usr/bin/Xorg (WriteToClient+0x20e) [0x55a20e5ad83e] [ 5288.738] (EE) 5: /usr/bin/Xorg (WriteEventsToClient+0x272) [0x55a20e4562d2] [ 5288.738] (EE) 6: /usr/bin/Xorg (ProcShmPutImage+0x3a7) [0x55a20e4e7f27] [ 5288.739] (EE) 7: /usr/bin/Xorg (ProcShmDispatch+0x1d5) [0x55a20e4e99e5] [ 5288.739] (EE) 8: /usr/bin/Xorg (Dispatch+0x308) [0x55a20e44ad38] [ 5288.740] (EE) 9: /usr/bin/Xorg (dix_main+0x3e0) [0x55a20e44ed80] [ 5288.741] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf1) [0x7f9c4a2141c1] [ 5288.741] (EE) 11: /usr/bin/Xorg (_start+0x2a) [0x55a20e438a2a] [ 5288.742] (EE) 12: ? (?+0x2a) [0x2a] [ 5288.743] (EE) [ 5288.743] (EE) Fatal server error: [ 5288.743] (EE) sna_accel_flush:17403 assertion '!ret || priv->gpu_bo == NULL' failed [ 5288.743] (EE) [ 5288.743] (EE)
Created attachment 137061 [details] Xorg without failure
Created attachment 137062 [details] Dmesg log
Just looks like the assert is asserting something that is no longer true. Any particular reason you are running with asserts enabled?
Not really, just exercising with default setup plus rendercheck, is there something extra that we need to set to avoid this failure?
Hello, I'm marking as ReadyForDev since it has logs, platform and feature, steps to reproduce and no additional information has been requested.
First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
This error has senn on BXT QA The system perform a logout closing all windows and programs running before the action. Suspecting of the way the the driver is handling video drivers (xf86-video-intel). software: OS= Ubuntu 17.10 Artful x86-64 Kernel = Linux gfx-desktop 4.16.0-041600-generic #201804012230 SMP Sun Apr 1 22:31:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 3D: Mesa = 18.0.0 2D:vainfo xf86-video-intel = 2.99.917 Xorg/xserver = 1.19.99.901 Cairo = 1.15.10 Cross-driver middleware: libdrm = 2.4.91 Media: intel-vaapi-driver = 2.1.0 <- other version libva = 2.1.0 libva-utils = 2.1.0 Validation Tools: intel-gpu-tools = 1.22 firmware: DMC 1.07 GuC 9.29 HuC 1.07.1398 Xorg log sample: . . . 104.759] (EE) 0: /usr/lib/xorg/modules/drivers/intel_drv.so (sna_accel_flush+0x270) [0x7fab749c8f50] [ 104.760] (EE) 1: /usr/lib/xorg/modules/drivers/intel_drv.so (sna_shm_flush_callback+0x1c) [0x7fab749c8ffc] [ 104.763] (EE) 2: /usr/bin/Xorg (_CallCallbacks+0x34) [0x55c485fe9fa4] [ 104.764] (EE) 3: /usr/bin/Xorg (FlushClient+0x78) [0x55c486138a58] [ 104.764] (EE) 4: /usr/bin/Xorg (WriteToClient+0x20e) [0x55c48613908e] [ 104.764] (EE) 5: /usr/bin/Xorg (WriteEventsToClient+0x272) [0x55c485ff01d2] [ 104.765] (EE) 6: /usr/bin/Xorg (ProcShmPutImage+0x3a7) [0x55c48607b717] [ 104.765] input-thread: InputThreadDoWork waiting for devices [ 104.765] (EE) 7: /usr/bin/Xorg (ProcShmDispatch+0x1d5) [0x55c48607cd25] [ 104.766] (EE) 8: /usr/bin/Xorg (Dispatch+0x308) [0x55c485fe4c28] [ 104.766] (EE) 9: /usr/bin/Xorg (dix_main+0x388) [0x55c485fe8c48] [ 104.767] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf1) [0x7fab788821c1] [ 104.767] (EE) 11: /usr/bin/Xorg (_start+0x2a) [0x55c485fd28da] [ 104.768] (EE) 12: ? (?+0x0) [0x0] [ 104.769] (EE) [ 104.769] (EE) Fatal server error: [ 104.769] (EE) sna_accel_flush:17403 assertion '!ret || priv->gpu_bo == NULL' failed [ 104.769] (EE) [ 104.769] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 104.769] (EE) Please also check the log file at "/home/gfx/.local/share/xorg/Xorg.0.log" for additional information. [ 104.769] (EE) [ 104.769] (II) AIGLX: Suspending AIGLX clients for VT switch [ 104.811] ACPI: Closing device [ 104.884] (EE) Server terminated with error (1). Closing log file.. . .
*** Bug 103030 has been marked as a duplicate of this bug. ***
Chris, how do you see this?
Elio, do you still have the same problem? If so, Please try to reproduce the error using drm-tip (https://cgit.freedesktop.org/drm-tip) and kernel parameters drm.debug=0x1e log_buf_len=4M, and if the problem persists attach the full dmesg from boot.
Created attachment 141471 [details] attachment-1424-0.html will be back on monday
Elio, any updates on this issue?
Need logs from latest drm-tip to investigate the issue. No feedback from many months, closing as resolved works for me. Please re-open if issue persists with latest drm-tip https://cgit.freedesktop.org/drm-tip and send dmesg from boot with kernel parameters drm.debug=0x1e log_buf_len=4M.
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.