Bug 104866 - xf86-video-intel driver is causing logout loop because libc.so.6 conflict on Ubuntu 17.10
Summary: xf86-video-intel driver is causing logout loop because libc.so.6 conflict on ...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
: 103030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-01-30 22:30 UTC by Elio
Modified: 2018-09-26 06:30 UTC (History)
3 users (show)

See Also:
i915 platform: ALL
i915 features: display/Other


Attachments
Xorg log with failure (47.11 KB, text/plain)
2018-01-30 22:30 UTC, Elio
no flags Details
Xorg without failure (45.52 KB, text/plain)
2018-01-30 22:31 UTC, Elio
no flags Details
Dmesg log (1.16 MB, text/plain)
2018-01-30 22:32 UTC, Elio
no flags Details
attachment-1424-0.html (1.69 KB, text/html)
2018-09-07 10:28 UTC, Elio
no flags Details

Description Elio 2018-01-30 22:30:00 UTC
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)
Comment 1 Elio 2018-01-30 22:31:09 UTC
Created attachment 137061 [details]
Xorg without failure
Comment 2 Elio 2018-01-30 22:32:55 UTC
Created attachment 137062 [details]
Dmesg log
Comment 3 Chris Wilson 2018-01-31 11:03:24 UTC
Just looks like the assert is asserting something that is no longer true. Any particular reason you are running with asserts enabled?
Comment 4 Elio 2018-01-31 23:25:09 UTC
Not really, just exercising with default setup plus rendercheck, is there something extra that we need to set to avoid this failure?
Comment 5 Elizabeth 2018-02-01 16:54:16 UTC
Hello, I'm marking as ReadyForDev since it has logs, platform and feature, steps to reproduce and no additional information has been requested.
Comment 6 Jani Saarinen 2018-03-29 07:10:22 UTC
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.
Comment 7 Hector Velazquez 2018-04-06 21:52:29 UTC
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.. . .
Comment 8 Elizabeth 2018-04-13 21:20:18 UTC
*** Bug 103030 has been marked as a duplicate of this bug. ***
Comment 9 Jani Saarinen 2018-04-25 11:11:58 UTC
Chris, how do you see this?
Comment 10 Lakshmi 2018-09-07 10:28:36 UTC
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.
Comment 11 Elio 2018-09-07 10:28:53 UTC
Created attachment 141471 [details]
attachment-1424-0.html

will be back on monday
Comment 12 Lakshmi 2018-09-15 19:35:57 UTC
Elio, any updates on this issue?
Comment 13 Lakshmi 2018-09-26 06:30:11 UTC
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.