Bug 82283 - [all Regression]libGL error: failed to load driver: i965
Summary: [all Regression]libGL error: failed to load driver: i965
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: highest blocker
Assignee: Rodrigo Vivi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 06:02 UTC by lu hua
Modified: 2016-10-19 10:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (115.73 KB, text/plain)
2014-08-07 06:47 UTC, lu hua
no flags Details
Xorg.0.log (17.82 KB, text/plain)
2014-08-07 06:47 UTC, lu hua
no flags Details

Description lu hua 2014-08-07 06:02:26 UTC
==System Environment==
--------------------------
Regression: Yes

on-working platforms: all

==kernel==
--------------------------
drm-intel-nightly/5a299a5a794999ddcc44578c0cfd58da83bac62b

==Bug detailed description==
libGL error: failed to load driver: i965, It happens on all platforms with -nightly and drm-next.
It works well on -fixes and -queued kernel.

The latest known good commit: f7257a224ebbc897b21d0020cb2fedc43536068f
The latest known bad commit:  21d70354bba9965a098382fc4d7fb17e138111f3

start X then run gnome-session
output:
GNOME_KEYRING_CONTROL=/run/user/0/keyring-Zwg6DM
GNOME_KEYRING_PID=4578
GNOME_KEYRING_CONTROL=/run/user/0/keyring-Zwg6DM
GPG_AGENT_INFO=/run/user/0/keyring-Zwg6DM/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-Zwg6DM
GPG_AGENT_INFO=/run/user/0/keyring-Zwg6DM/gpg:0:1
SSH_AUTH_SOCK=/run/user/0/keyring-Zwg6DM/ssh
GNOME_KEYRING_CONTROL=/run/user/0/keyring-Zwg6DM
GPG_AGENT_INFO=/run/user/0/keyring-Zwg6DM/gpg:0:1
SSH_AUTH_SOCK=/run/user/0/keyring-Zwg6DM/ssh
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
libGL error: failed to authenticate magic 2
libGL error: failed to load driver: i965

(gnome-settings-daemon:4565): color-plugin-WARNING **: failed to get edid: unable to get EDID for output

(gnome-settings-daemon:4565): color-plugin-WARNING **: unable to get EDID for xrandr-VGA1: unable to get EDID for output
      JS LOG: GNOME Shell started at Thu Aug 07 2014 14:44:25 GMT-0400 (EDT)
Failed to play sound: File or data not found


==Reproduce steps==
---------------------------- 
1. xinit
2. gnome-session
Comment 1 Chris Wilson 2014-08-07 06:37:15 UTC
Are you not going to attach at least one dmesg and Xorg.0.log?
Comment 2 lu hua 2014-08-07 06:47:31 UTC
Created attachment 104203 [details]
dmesg
Comment 3 lu hua 2014-08-07 06:47:56 UTC
Created attachment 104204 [details]
Xorg.0.log
Comment 4 Chris Wilson 2014-08-07 08:55:20 UTC
Can't spot any warnings in there, so you will have to do a bisect to find the bad commit. Note it is likely that this is outside of i915.ko.
Comment 5 Chris Wilson 2014-08-07 16:01:33 UTC
Try http://patchwork.freedesktop.org/patch/31251/
Comment 6 Rodrigo Vivi 2014-08-07 17:51:22 UTC
I was seeing similar symptoms with X:

[    16.643] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[    16.643] (EE) intel(0): Failed to claim DRM device.

This patch solves my issue.
Comment 7 lu hua 2014-08-08 03:40:36 UTC
(In reply to comment #5)
> Try http://patchwork.freedesktop.org/patch/31251/

Fixed by this patch.
Comment 8 Chris Wilson 2014-08-08 06:40:24 UTC
Fixed upstream by reverting drm_is_master()
Comment 9 Guo Jinxian 2014-08-11 06:02:35 UTC
Verified on latest -nightly(ee55e72e4941947049780df49f01d320f1b98a4b)

root@x-bdw05:~# gnome-session&
[2] 4465
root@x-bdw05:~# gnome-session[4465]: WARNING: Could not parse desktop file print-applet.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file update-notifier.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file gsettings-data-convert.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file gnome-sound-applet.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file onboard-autostart.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file gnome-user-share.desktop or it references a not found TryExec binary
gnome-session[4465]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
gnome-session[4465]: WARNING: App 'pulseaudio.desktop' exited with code 1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-icFv4v
SSH_AUTH_SOCK=/run/user/0/keyring-icFv4v/ssh
GNOME_KEYRING_PID=4497
GNOME_KEYRING_CONTROL=/run/user/0/keyring-icFv4v
SSH_AUTH_SOCK=/run/user/0/keyring-icFv4v/ssh
GNOME_KEYRING_CONTROL=/run/user/0/keyring-icFv4v
SSH_AUTH_SOCK=/run/user/0/keyring-icFv4v/ssh
GPG_AGENT_INFO=/run/user/0/keyring-icFv4v/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-icFv4v
SSH_AUTH_SOCK=/run/user/0/keyring-icFv4v/ssh
GPG_AGENT_INFO=/run/user/0/keyring-icFv4v/gpg:0:1
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core

(gnome-settings-daemon:4491): Gvc-WARNING **: Failed to connect context: OK
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Error: dlopen: /usr/lib/compizconfig/backends/libgsettings.so: cannot open shared object file: No such file or directory
compizconfig - Warning: unable to open backend gsettings, falling back to ini
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
I/O warning : failed to load external entity "/root/.compiz/session/104966d7e387330e54140778001730367200000044650001"
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
/bin/sh: 1: /usr/bin/gtk-window-decorator: not found
** Message: applet now removed from the notification area

(nautilus:4649): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(nautilus:4649): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
** Message: using fallback from indicator to GtkStatusIcon
Comment 10 Jari Tahvanainen 2016-10-19 10:24:56 UTC
Closing verified+fixed.


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.