[Intel-gfx] Xorg not finding intel_drv.so, even though it's present.

2018-09-27 Thread Paul Knopf
Maybe someone could help me find out why my intel_drv.so isn't being loaded
into X11.

Here are the drivers I have present on the system.

ls -l /usr/lib/xorg/modules/drivers/
total 598
-rwxr-xr-x 1 root root 114176 Sep 10 12:43 ast_drv.so
-rwxr-xr-x 1 root root  23552 Sep 10 12:43 fbdev_drv.so
-rwxr-xr-x 1 root root 359560 Sep 10 12:43 intel_drv.so
-rwxr-xr-x 1 root root  86208 Sep 10 11:05 modesetting_drv.so
-rwxr-xr-x 1 root root  27624 Sep 10 12:43 vesa_drv.so

Here is the Xorg log, which shows that intel_drv.so isn't considered.

cat /var/log/Xorg.0.log | grep modules
[ 5.258] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5.399] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5.408] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5.422] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5.423] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5.463] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5.463] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 5.763] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6.079] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so

The intel_drv.so lib is built/linked correctly (using version
2.99.917+gitAUTOINC+e4fe79cf0d).

ldd /usr/lib/xorg/modules/drivers/intel_drv.so
linux-vdso.so.1 (0x7fff28e6b000)
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x7f1de65ce000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x7f1de632b000)
libudev.so.1 => /lib/libudev.so.1 (0x7f1de6108000)
libdrm_intel.so.1 => /usr/lib/libdrm_intel.so.1 (0x7f1de5ee6000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x7f1de5cd5000)
libc.so.6 => /lib/libc.so.6 (0x7f1de5922000)
libm.so.6 => /lib/libm.so.6 (0x7f1de5592000)
libpthread.so.0 => /lib/libpthread.so.0 (0x7f1de5374000)
/lib/ld-linux-x86-64.so.2 (0x7f1de6a2f000)
librt.so.1 => /lib/librt.so.1 (0x7f1de516c000)

Here is my entire Xorg log, if it interests you:
https://gist.github.com/pauldotknopf/6221f5113f7215433c15cd4e92c889e3

Any ideas why my intel_drv.so isn't showing up and getting loaded?

Thanks in advance!
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] Question about latest skl_dmc_ver1_27.bin and kernel version.

2018-03-05 Thread Paul Knopf
I am trying to setup Intel's new open-source iHD driver on a Yocto
environment.

https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack

The documentation says that skl_dmc_ver1_27.bin is required. Their
documentation updates a symlink (skl_dmc_ver1.bin), as if the kernel loads
it, but starting at kernel 4.8, it stopped loading the symlink and instead
loads a specific version of the dmc (see here:
https://github.com/torvalds/linux/blob/v4.8/drivers/gpu/drm/i915/intel_csr.c#L48).
Is the Intel documentation accurate? It is confusing because the guide
refers to 4.14.16 specifically, which doesn't use the symlink file
skl_dmc_ver1.bin.

Any ways, I tried replacing skl_dmc_ver1_26.bin with skl_dmc_ver1_27.bin to
have the same effect, but I got a segfault on boot.

https://pastebin.com/amW9vDdC

Should I even bother updating the DMC? Should the iHD driver work on most
kernels, even with 1_26 version of DMC?

By the way, this is the kernel I am using (with Yocto).

https://github.com/intel/linux-intel-lts/tree/4.14/yocto/base/drivers/gpu/drm/i915

Any help would be greatly appreciated. There is no documentation on this
stuff.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx