fedora 24: intel video: no /dev/dri/card0, no hardware acceleration

asked 2016-12-27 16:15:11 -0500

leamas gravatar image

updated 2016-12-28 05:08:16 -0500

Hi out there!

EDIT: complete rewrite.

I have a somewhat old notebook. Problem is that the hardware acceleration which should be available for my integrated Intel GPU isn't working => no fun, just boring work. Complete Xorg.log at http://paste.debian.net/905071/ . The relevant error seems to be:

[    19.556] intel: waited 2020 ms for i915.ko driver to load
[    19.561] (EE) open /dev/dri/card0: No such file or directory

Seemingly not a hw issue. When booting a live CD there are no such errors. Comparing the two Xorg.0.logs (live server, failing server) I get this difference which seems on spot: the liver server creates /dev/dri/card0, the failing not (the live server log is at https://paste.fedoraproject.org/51404... ):

----------  BAD -----------------
[    17.514] (II) Loader magic: 0x81ade0
[    17.514] (II) Module ABI versions:
[    17.514]    X.Org ANSI C Emulation: 0.4
[    17.515]    X.Org Video Driver: 19.0
[    17.515]    X.Org XInput driver : 21.0
[    17.515]    X.Org Server Extension : 9.0
[    17.518] (++) using VT number 2

[    17.521] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    17.523] (--) PCI:*(0:0:2:0) 8086:0116:1028:04b2 rev 9, Mem @ 0xf6800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    17.523] (II) LoadModule: "glx"
[    17.523] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so

---------------  GOOD --------------------

[    36.806] (II) Loader magic: 0x825dc0
[    36.806] (II) Module ABI versions:
[    36.806]    X.Org ANSI C Emulation: 0.4
[    36.806]    X.Org Video Driver: 20.0
[    36.806]    X.Org XInput driver : 22.1
[    36.806]    X.Org Server Extension : 9.0
[    36.808] (++) using VT number 1

[    36.811] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[--->   36.813] (II) xfree86: Adding drm device (/dev/dri/card0)
[--->   36.814] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[    36.816] (--) PCI:*(0:0:2:0) 8086:0116:1028:04b2 rev 9, Mem @ 0xf6800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    36.816] (II) LoadModule: "glx"
[    36.817] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so

I'm also confused by the live server having higher version numbers reported than my fully updated f24. How can that be?

Bits and pieces:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

$ cat /proc/cpuinfo | grep 'model name' 
model name  : Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz

$ ls -l /dev/dri/card0 
crw-rw----+ 1 root video 226, 0 Dec 28 06:16 /dev/dri/card0

Any clue, out there?

--alec

edit retag flag offensive close merge delete

Comments

1

Is the i915 kernel module loaded? Check by running lsmod | grep i915

ammen99 gravatar imageammen99 ( 2016-12-28 03:10:08 -0500 )edit

Yep:

$ lsmod | grep i915
i915                 1302528  17
i2c_algo_bit           16384  1 i915
drm_kms_helper        151552  1 i915  
drm                   344064  9 i915,drm_kms_helper
video                  40960  3 dell_wmi,dell_laptop,i915
leamas gravatar imageleamas ( 2016-12-28 05:16:47 -0500 )edit

From the Xorg.log it seems you do not have a fully updated Fedora 24. From that information you are booting a 4.2.6-201.fc22.x86_64 kernel which points to a Fedora 22 installation. Did you follow the steps in the Fedora Wiki for upgrading? For upgrading from F22 to F24, you have to first to the upgrade to F23. Maybe you just boot an old kernel and the kernel space driver does not match the userspace.

thomaswood gravatar imagethomaswood ( 2016-12-28 05:19:20 -0500 )edit

Good catch! Still, this is weird, uname reports 4.8.2

Dammit. They have moved /var/log/Xorg.0.log to ~/.local/share/xorg/Xorg.0.log. The posted log is from the beginning of this year... The new log looks all sane. Question boils down to what klind of videos my crappy hardware can display

leamas gravatar imageleamas ( 2016-12-28 05:32:21 -0500 )edit