Resolved - Debian Wheezy - i3-4130 - Xorg Intel Driver No Devices/Screens
#1
Update, moving power supply for HTPC away from HDMI cable reduced noise and some green flash/flickering, then turning off 'match display to video' in playback settings and now seems golden. Stoked.
------------
Update, unresolved again, video flickering has come back. Running unstable/SID now. See bottom post for update.
----------
UPDATE RESOLVED = GET JESSIE, FORGET WHEEZY. Smile
----------

So I've spent the better part of three days trying all sorts of combinations of xorg.conf files but don't seem to have cracked it.
Am trying to get gpu acceleration going.

Haswell i3-4130 chip on gigabyte H87-wifi itx board. Dual HDMI out, + one DVI out.
TV is a Sony 42".

No xorg.conf = xbmc loads and plays everything at 1920x.... but it stutters on video and sound every few seconds and cpu usage is around 80%.
xorg with vesa or fb = same as above.
xorg.conf specify device with intel = no devices or no screens found.

Any suggestions much appreciated. soo close!

xorg.conf
Code:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
EndSection

Xorg.0.log
Code:
[   320.916] (II) Module intel: vendor="X.Org Foundation"
[   320.916]    compiled for 1.12.3.902, module version = 2.19.0
[   320.916]    Module class: X.Org Video Driver
[   320.916]    ABI class: X.Org Video Driver, version 12.1
[   320.916] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2)
[   320.916] (--) using VT number 7

[   320.921] (EE) No devices detected.
[   320.921]
Fatal server error:
[   320.921] no screens found

Also....

###@server:/etc/X11# sudo lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:041e] (rev 06)
Subsystem: Giga-byte Technology Device [1458:d000]
Kernel driver in use: i915

###@server:/etc/X11# uname -a
Linux server 3.10-0.bpo.3-amd64 #1 SMP Debian 3.10.11-1~bpo70+1 (2013-09-24) x86_64 GNU/Linux
Reply
#2
sudo apt-get install libva1 libva-intel-vaapi-driver vainfo

afterwards check with vainfo that everything is fine - if you have a cripled xbmc version use our mainline git

Edit: Your Xorg is much too old, upgrade your debian to something that supports your hardware - this is btw. off topic for xbmc.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Thank you. As below... using Debian Wheezy with backport and deb-multimedia.org #### EDIT: Updating (dist-upgrade) to jessie (testing) now in progress.

$$$@server:/etc/X11# sudo apt-get install libva1 libva-intel-vaapi-driver vainfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
libva-intel-vaapi-driver is already the newest version.
libva1 is already the newest version.
vainfo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$$$@server:/etc/X11# vainfo
vainfo: Error, can't open display: ''

Will see if can find newer xorg
Reply
#4
DISPLAY=:0 vainfo

When you run X dependend stuff over ssh, you have to specify the display.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Big thank you!.. have updated to Jessie. Painful to think all that due to older software. I don't often have new gear so normally Debian stable is super reliable. Laptop is on SID so I guess I should have just done SID from the start!

As I type this have a HD video playing @ 20% thread/CPU usage in XBMC (press o on keyboard) without stutter. Yes!
SNA enabled.
Dirty Regions 3 makes the menu selection seem to lag behind, a setting of 0 makes it crisp. It moves around fast enough so I will leave at 0.
XBMC -> System info -> Video shows mesa DRI intel haswell. ~90fps, opengl vendor intel open source.. 3.0 mesa 9.1.7. GPU temp ?
Still can't get vainfo to display anything, even running on HTPC in another TTY.

Code:
###@server:~$ sudo apt-get install libva1 libva-intel-vaapi-driver vainfo
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libva-intel-vaapi-driver is already the newest version.
libva1 is already the newest version.
vainfo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code:
~$ apt-cache policy vainfo
vainfo:
  Installed: 1.1.1-3
  Candidate: 1.1.1-3


Code:
###@server:~$ DISPLAY=:0 vainfo
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

less Xorg-0.log
Code:
171.447] X Protocol Version 11, Revision 0
[   171.447] Build Operating System: Linux 3.10-2-amd64 x86_64 Debian
[   171.447] Current Operating System: Linux server 3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10) x86_64
[   171.447] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10-3-amd64 root=UUID=16e5e05d-87fa-4a5e-98eb-6cde9bb7e8a2 ro quiet
[   171.447] Build Date: 05 October 2013  02:04:26PM
[   171.447] xorg-server 2:1.14.3-4
<snip>
981.978] (II) LoadModule: "intel"
[   981.978] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   981.978] (II) Module intel: vendor="X.Org Foundation"
[   981.978]    compiled for 1.14.3, module version = 2.21.15
[   981.978]    Module class: X.Org Video Driver
[   981.978]    ABI class: X.Org Video Driver, version 14.1
[   981.978] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
        HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
        HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
        HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
        HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[   981.979] (--) using VT number 7

[   982.000] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.21.15-1+b2 (amd64 Build Daemon (binet) <[email protected]>)
[   982.000] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   982.000] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   982.000] (==) intel(0): RGB weight 888
[   982.000] (==) intel(0): Default visual is TrueColor
[   982.000] (**) intel(0): Option "AccelMethod" "sna"
[   982.000] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[   982.000] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[   982.000] (**) intel(0): Framebuffer tiled
[   982.000] (**) intel(0): Pixmaps tiled
[   982.000] (**) intel(0): "Tear free" disabled
[   982.000] (**) intel(0): Forcing per-crtc-pixmaps? no
Reply
#6
You still need newer libva-driver-intel and also newer libva1

For both at least 1.2.1 which brought haswell support.

And I suggest 3.11.6 kernel.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Thank you, might explain why sometimes it's playing the video with low cpu but flashes and sound skips.
Deb unstable has 3.11-1 so have upgraded to that for a start and grabbed the libva stuff from experimental.

Now have bad video flickering and can't seem to figure out why va-api version shows libva 1.1.1.
~@server:~$ DISPLAY=:0 vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.1.1)
vainfo: Driver version: Intel i965 driver - 1.2.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD


~@server:~$ apt-cache policy libva1
libva1:
Installed: 1.2.1-1
Candidate: 1.2.1-1
Version table:
*** 1.2.1-1 0
100 /var/lib/dpkg/status
1.1.1-3 0
500 http://ftp.nz.debian.org/debian/ sid/main amd64 Packages


Have installed all of these so can't figure where the 1.1.1 comes from above. Any ideas?
libva-intel-vaapi-driver_1.2.1-1_all.deb
i965-va-driver_1.2.1-1_amd64.deb
libva-tpi1_1.2.1-1_amd64.deb
libva1_1.2.1-1_amd64.deb
libva-x11-1_1.2.1-1_amd64.deb
libva-egl1_1.2.1-1_amd64.deb
libva-glx1_1.2.1-1_amd64.deb
libva-drm1_1.2.1-1_amd64.deb
Reply
#8
Well I fixed the old libva showing above by installing 1.2.1 of vainfo from experimental. Still glitching interface.
Deleted advancedsettings... turned SNA on/off in xorg.conf.
Since upgrading to 1.2.1 and also xbmc to version showing below, sometimes I have to turn my tv on/off if restart HTPC. Then it will display.
Stumped again sorry.

~@server:~$ apt-cache policy xbmc
xbmc:
Installed: 4:13.0~alpha9-dmo1
Candidate: 4:13.0~alpha9-dmo1
Version table:
*** 4:13.0~alpha9-dmo1 0
500 http://www.deb-multimedia.org/ sid/main amd64 Packages
100 /var/lib/dpkg/status
2:11.0~git20120510.82388d5-1 0
500 http://ftp.nz.debian.org/debian/ sid/main amd64 Packages
Reply
#9
Don't get XBMC from any of the Debian repositories, use the PPAs instead or compile your own.
Reply
#10
Thank you, will change tonight and report back.
For intel gpu do you recommend the official PPA or go with Xvba (AMD only?) one?
Reply
#11
So... compiled the git stable and.... same result. green flickering video in the main menu. Had vaapi support enabled.
Still haven't got the 3.11.6 kernel though. Might have a go at this:
http://linuxg.net/how-to-install-kernel-...entary-os/
Reply
#12
Most likely your mesa is much too old. I don't have a problem on intel. Also our users on OpenELEC with haswells, including the NUCs have a nice menu.

Check those components.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
Hmm... thanks again.
Ubuntu has 9.2.1 and I've got unstable's 9.2.2-1. There doesn't appear to be newer versions in experimental. I'll do the kernel update and try changing up cables etc tonight.

:~$ apt-cache policy libgl1-mesa-dri パッケージ
libgl1-mesa-dri:
Installed: 9.2.2-1
Candidate: 9.2.2-1
Version table:
*** 9.2.2-1 0
600 http://ftp.nz.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status
Reply
#14
Well... biggest change was moving the box's power supply and cable away from next to HDMI cable.
I didn't say but am currently using a 10m HDMI cable to connect from HTPC/server in cupboard, under floor to tv.
It now only skips once every 5 minutes or so on some videos, not at all with music.
Sorry for not saying this earlier. Looks like an HDMI repeater is required, seem can get one that uses the 5V in the cable to clean up signal. So might get this and put at the TV end.
http://www.rapalloav.co.nz/hdmi-2/hdmi-a...emale.html
Reply
#15
And turning off the 'adjust display rate to match video'... as the final fix. Found it in the log making adjustments...
HDMI repeater didn't make any difference.
Reply

Logout Mark Read Team Forum Stats Members Help
Resolved - Debian Wheezy - i3-4130 - Xorg Intel Driver No Devices/Screens0