Forum rules
Before you post read
how to get help . Topics in this forum are automatically closed 6 months after creation.
talisker
Post
by talisker » Thu Apr 19, 2018 4:37 pm
Hi EveryBody,
Referencing this
thread because I also own an NUC7i7 as well, i'm running LM 18.2 last kernel upgrade but I can't activate the hardware video acceleration (modsetting), so i can't play 4K video file with a decent cpu usage.
Code: Select all
$ inxi -G
Graphics: Card: Intel Device 5927
Display Server: x11 (X.Org 1.18.4 ) drivers: (unloaded: fbdev,vesa) FAILED: modesetting
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel Iris Plus Graphics 650 (Kaby Lake GT3e)
version: 4.5 Mesa 18.0.1 - padoka PPA
$ vainfo
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit
I will really appreciate some help on this topics
Last edited by
LockBot on Wed Dec 28, 2022 7:16 am, edited 6 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
talisker
Post
by talisker » Fri Apr 20, 2018 2:00 am
Hi folks,
Few more information about my subject, based on this thread
viewtopic.php?t=250485 I remove xserver-xorg-video-intel because it add some old intel driver.
Based on the following command I'm pretty sure that I use the driver from the lastest Kernel (i915) :
Code: Select all
$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5904] (rev 03)
DeviceName: Intel Dual Band
Subsystem: Intel Corporation Device [8086:2068]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5927] (rev 06)
DeviceName: CPU
Subsystem: Intel Corporation Device [8086:2068]
Kernel driver in use: i915
Kernel modules: i915
00:08.0 System peripheral [0880]: Intel Corporation Sky Lake Gaussian Mixture Model [8086:1911]
Subsystem: Intel Corporation Skylake Gaussian Mixture Model [8086:2068]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
Subsystem: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:2068]
Kernel driver in use: xhci_hcd
...
But I can't still not activate the modsetting ...
Last edited by talisker on Mon Apr 23, 2018 10:16 am, edited 2 times in total.
Reason: Chamged subject as requested by poster
Pjotr
Level 24
Posts: 20090 Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:
Post
by Pjotr » Fri Apr 20, 2018 4:39 am
Please also give the output of inxi -Fxz
.
Last edited by Anonymous on Mon Apr 23, 2018 10:21 am, edited 2 times in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Fri Apr 20, 2018 12:20 pm
Please find the result below, thanks in advance to spend some time on this ...
Code: Select all
$inxi -Fxz
System: Host: NUC01 Kernel: 4.13.0-38-generic x86_64 bits: 64 gcc: 5.4.0
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: Device: desktop Mobo: Intel model: NUC7i7BNB v: J31145-303 serial: N/A
UEFI: Intel v: BNKBL357.86A.0062.2018.0222.1644 date: 02/22/2018
Battery hidpp__0: charge: N/A condition: NA/NA Wh
model: Logitech Wireless Mouse M560 status: Discharging
CPU: Dual core Intel Core i7-7567U (-HT-MCP-)
arch: Kaby Lake rev.9 cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14016
clock speeds: max: 4000 MHz 1: 900 MHz 2: 896 MHz 3: 900 MHz
4: 900 MHz
Graphics: Card: Intel Device 5927 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.18.4 )
drivers: (unloaded: fbdev,vesa) FAILED: modesetting
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel Iris Plus Graphics 650 (Kaby Lake GT3e)
version: 4.5 Mesa 18.0.1 - padoka PPA Direct Render: Yes
Audio: Card-1 Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
Card-2 Logitech Webcam C310 driver: USB Audio usb-ID: 001-004
Card-3 Micronas driver: USB Audio usb-ID: 001-005
Sound: Advanced Linux Sound Architecture v: k4.13.0-38-generic
Network: Card-1: Intel Ethernet Connection (4) I219-V
driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Card-2: Intel Device 24fd driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: down mac: <filter>
Drives: HDD Total Size: 250.1GB (66.2% used)
ID-1: /dev/nvme0n1 model: Samsung_SSD_960_EVO_250GB size: 250.1GB
Partition: ID-1: / size: 213G used: 140G (69%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: swap-1 size: 17.07GB used: 0.00GB (0%)
fs: swap dev: /dev/dm-0
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 40.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 200 Uptime: 2 min Memory: 1130.6/15927.4MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.3.45
Last edited by talisker on Mon Apr 23, 2018 10:17 am, edited 2 times in total.
Reason: Changed subject as requested by poster
Pjotr
Level 24
Posts: 20090 Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:
Post
by Pjotr » Fri Apr 20, 2018 2:00 pm
Try this:
Update Manager - panel: View - Linux kernels
Install the latest kernel of the 4.15 series . Then reboot.
Last edited by Anonymous on Mon Apr 23, 2018 10:18 am, edited 1 time in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Fri Apr 20, 2018 3:04 pm
Done but nothing change ...
$ inxi -G
Graphics: Card: Intel Device 5927
Display Server: x11 (X.Org 1.18.4 ) drivers: (unloaded: fbdev,vesa) FAILED: modesetting
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel Iris Plus Graphics 650 (Kaby Lake GT3e)
version: 4.5 Mesa 18.0.1 - padoka PPA
Last edited by talisker on Mon Apr 23, 2018 10:18 am, edited 1 time in total.
Reason: Changed subject as requested by poster
Pjotr
Level 24
Posts: 20090 Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:
Post
by Pjotr » Fri Apr 20, 2018 3:35 pm
Execute this command:
Code: Select all
grep modesetting /var/log/Xorg.0.log
Does the last line (or the last line but one) of the output it produces, look approximately similar to the line below? Then you're probably OK after all:
Code: Select all
[ 7.302] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
If there's no such line, it might be wiser to re-install the old driver.
talisker
Post
by talisker » Fri Apr 20, 2018 4:46 pm
It's not really the last one ...
Code: Select all
[ 9.115] (==) Matched modesetting as autoconfigured driver 2
[ 9.115] (II) LoadModule: "modesetting"
[ 9.115] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.115] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.115] (==) Matched modesetting as autoconfigured driver 2
[ 9.116] (II) LoadModule: "modesetting"
[ 9.116] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.116] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.116] (II) UnloadModule: "modesetting"
[ 9.116] (II) Unloading modesetting
[ 9.116] (II) Failed to load module "modesetting" (already loaded, 0)
[ 9.116] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 9.120] (WW) Falling back to old probe method for modesetting
Last edited by talisker on Mon Apr 23, 2018 10:19 am, edited 1 time in total.
Reason: Changed subject as requested by poster
Pjotr
Level 24
Posts: 20090 Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:
Post
by Pjotr » Fri Apr 20, 2018 6:21 pm
Last line but one. It does look OK...
Last edited by Anonymous on Mon Apr 23, 2018 10:19 am, edited 1 time in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Sat Apr 21, 2018 2:58 am
Hi,
The Xorg.log look strange, It like it try to load modesetting twice.
I don't think it's working properly right know, vainfo still report error.
Do you know where is the config file for Xorg ?
Last edited by talisker on Mon Apr 23, 2018 10:19 am, edited 1 time in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Sun Apr 22, 2018 1:22 pm
An interesting map on video architecture on Unbuntu
https://wiki.ubuntu.com/IntelQuickSyncVideo
Last edited by talisker on Mon Apr 23, 2018 10:20 am, edited 1 time in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Mon Apr 23, 2018 1:38 am
News, from Intel Video Hardware Acceleration,
I updated INXI
Code: Select all
$ inxi --version
inxi 3.0.07-00 (2018-04-17)
and now result from inxi is more clear :
Code: Select all
$ inxi -G
Graphics: Card-1: Intel driver: i915 v: kernel
Display: x11 server: X.Org 1.18.4 driver: none unloaded: fbdev,intel,modesetting,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Iris Plus Graphics 650 (Kaby Lake GT3e)
v: 4.5 Mesa 18.0.1 - padoka PPA
Last edited by talisker on Mon Apr 23, 2018 10:20 am, edited 1 time in total.
Reason: Changed subject as requested by poster
talisker
Post
by talisker » Mon Apr 23, 2018 7:55 am
I really think now that the problem comes from X11, i will try to force th configuration of Xorg by creating xorg.conf.
This file doesn't exist any more in recent version because the autoconfig will work properly most of the time, but in certain case, the autoconfig is not working (mutiple screen or graphics cards for instance)
Is someone have experiences to write an xorg.conf for Intel Graphics Card ?
Last edited by talisker on Mon Apr 23, 2018 10:21 am, edited 1 time in total.
Reason: Changed subject as requested by poster