Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#21 Post by peek »

Thanks for the advise jmgibson1981. It is appreciated.

However, I wish to become more involved in the Debain project. Yet there is quite a bit I need to catchup with. Being the reason I'm a bit of a die hard on this topic. :roll: However, if Debian cannot provide the same performance and quality as with LibreELEC, well ... I will surely turn to Ubuntu. Hopefully to bring what I've learned with Ubuntu back to Debian later again.

Yet, security will remain a mayor concern, and services running as root will cause me some sleepless nights ... worrying. And I looooooveeeee sleep. :wink:

Sooo, please see this as a "lab session" which allows everyone to re-evalute and/or become more acquintented with what is involved/related/best practise these days on how to implement Kodi (minimalistic) on Debian.

In all regards, I'd re-install from scratch at the drop of a hat if someone requires. Quite honestly, a re-install will be performed once all the kinks have been resolved as to ensure a proper writeup does exist for the next wanderer.

Soooo, I hope you'd re-assess your opinion as the knowledge you already hold would surely be beneficial in re-assesing this endeavour.

----

Building on each other's shoulders. Isn't that what Linux is about ?

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#22 Post by peek »

jmgibson1981 wrote: The reason why the OP has problems is because they tried `xinit` instead of `startx`, IMO.
The system included kodi.service file under /lib/systemd/system/ as referenced by jmgibson1981's also starts kodi with xinit :
ExecStart=/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#23 Post by peek »

jmgibson1981 wrote:
Static IP on the Kodi machine(s) would be best. This allows one to use an app on your phone / tablet as the remote. I find it more convenient than using a physical remote with Lirc - https://wiki.debian.org/NetworkConfigur ... e_manually.
Finally, I can add something of value: Try Yatse @ https://play.google.com/store/apps/deta ... widgetfree

You'll never look back. It's brilliant & with shutdown & WOL you might even shelve the "refresh script" with the IR remote 8)

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#24 Post by peek »

Status update - Complete redo:

Debian 9.5.0 minimal text based installation

Code: Select all

vi /etc/apt/sources.list
Added "non-free"
deb http://ftp.au.debian.org/debian/ stretch main non-free

Adding Backports Repository:

Code: Select all

echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list

Code: Select all

apt-get update
From backports repository:

Code: Select all

apt-get -t stretch-backports install 

		linux-image-amd64 			<- latest kernel

		libegl-mesa0
		libegl1-mesa
		libgl1-mesa-dri 			
		libgl1-mesa-glx
		libglapi-mesa

		libglu1-mesa
		libglx-mesa0 

		mesa-utils 
		mesa-va-drivers
		mesa-vdpau-drivers
From contrib repository:

apt-get install

??


From stable stretch repository:

Code: Select all

apt-get install 

		firmware-linux-free
		pulseaudio
		xinit
		dbus-x11

		kodi
		kodi-eventclients-kodi-send
		kodi-pvr-hts				
		kodi-pvr-iptvsimple
		kodi-visualization-spectrum

		mariadb-server
From non-free repository:

Code: Select all

apt-get install

		firmware-misc-nonfree
		firmware-realtek			<- r8169 realtek firmware
		firmware-iwlwifi			<- Intel WiFi		
MariaDB setup:

Code: Select all

vi /etc/mysql/mariadb.conf.d/50-kodi.optimize.conf

Code: Select all

	[mysqld]

	optimizer_search_depth = 1
	skip-name-resolve
	innodb_adaptive_hash_index = off
Kodi Service:

Code: Select all

cp /lib/systemd/system/kodi.service /etc/systemd/system/

Code: Select all

vi /etc/systemd/system/kodi.service 
or paste into new file:

Code: Select all

	[Unit]
	Description=Kodi Media Center

	# if you don't need the MySQL DB backend, this should be sufficient
	#After=systemd-user-sessions.service network.target sound.target

	# if you need the MySQL DB backend, use this block instead of the previous
	After=systemd-user-sessions.service network.target sound.target mysql.service
	Wants=mysql.service

	[Service]
	User=kodi
	Group=kodi
	Type=simple
	#PAMName=login # you might want to try this one, did not work on all systems
	ExecStart=/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
	Restart=on-abort
	RestartSec=5

	[Install]
	WantedBy=multi-user.target

Code: Select all

useradd kodi

Code: Select all

passwd kodi 

Code: Select all

usermod -a -G video kodi

Code: Select all

usermod -a -G audio kodi

Code: Select all

groups kodi
kodi : kodi audio video

Code: Select all

systemctl enable kodi
Created symlink /etc/systemd/system/multi-user.target.wants/kodi.service → /etc/systemd/system/kodi.service.
----

Reboot ...

Dedi has a new tantrum, just before the fscheck:

[ 0.048000] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: a600000000020408
[ 0.048000] mce: [Hardware Error]: TSC 0 ADDR fef4c9e0
[ 0.048000] mce: [Hardware Error]: PROCESSOR 0:706a1 TIME 1541419467 SOCKET 0 APIC 0 microcode 28

Code: Select all

dmesg

Code: Select all

[    7.045832] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-38.ucode (-2)
[    7.045882] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    7.045917] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-38.ucode failed with error -2
[    7.045933] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-37.ucode (-2)
[    7.045966] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-37.ucode failed with error -2
[    7.045977] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-36.ucode (-2)
[    7.046010] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-36.ucode failed with error -2
[    7.046020] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-35.ucode (-2)
[    7.046053] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-35.ucode failed with error -2
[    7.046064] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-34.ucode (-2)
[    7.046097] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-34.ucode failed with error -2
[    7.046107] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-33.ucode (-2)
[    7.046140] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-33.ucode failed with error -2
[    7.046161] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-32.ucode (-2)
[    7.046194] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-32.ucode failed with error -2
[    7.046206] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-31.ucode (-2)
[    7.046238] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-31.ucode failed with error -2
[    7.046248] iwlwifi 0000:00:0c.0: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-30.ucode (-2)
[    7.046281] iwlwifi 0000:00:0c.0: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-30.ucode failed with error -2
[    7.046283] iwlwifi 0000:00:0c.0: minimum version required: iwlwifi-9000-pu-b0-jf-b0-30
[    7.046313] iwlwifi 0000:00:0c.0: maximum version supported: iwlwifi-9000-pu-b0-jf-b0-38
...
[    7.255859] bluetooth hci0: firmware: failed to load intel/ibt-17-16-1.sfi (-2)
[    7.255904] bluetooth hci0: Direct firmware load for intel/ibt-17-16-1.sfi failed with error -2
[    7.255908] Bluetooth: hci0: Failed to load Intel firmware file (-2)
...
[    7.587732] i915 0000:00:02.0: firmware: failed to load i915/glk_dmc_ver1_04.bin (-2)
[    7.587740] i915 0000:00:02.0: Direct firmware load for i915/glk_dmc_ver1_04.bin failed with error -2
[    7.587744] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
...
Does not launch into Kodi. (Gotta be permissions. I know someone said something. I'm just too tired at present to go look it up)

As user kodi executing:

Code: Select all

/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
results in:
Fatal server error:
(EE) Cannot establish any listening sockets ...
As user root executing: (Cringing as I type this knowing Head_on_a_Stick is gonna get excited about this one)

Code: Select all

/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
results in Kodi starting up.

Kodi looks good, though still uses software rendering - ff-h264 (SW) when playing content.

As root:

Code: Select all

update-pciids

Code: Select all

update-usbids
Non-priviledged user:

Code: Select all

inxi -Fxz

Code: Select all

System:    Host: Dedi Kernel: 4.18.0-0.bpo.1-amd64 x86_64 (64 bit gcc: 6.3.0) Console: tty 0
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: un-determined System: Intel product: NUC7CJYH v: J67971-402
           Mobo: Intel model: NUC7JYB v: J67967-401
           UEFI: Intel v: JYGLKCPX.86A.0045.2018.1001.1100 date: 10/01/2018
CPU:       Dual core Intel Celeron J4005 (-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7987
           clock speeds: max: 2700 MHz 1: 1014 MHz 2: 975 MHz
Graphics:  Card: Intel Device 3185 bus-ID: 00:02.0
           Display Server: N/A drivers: modesetting (unloaded: fbdev,vesa)
           tty size: 168x44 Advanced Data: N/A out of X
Audio:     Card Intel Device 3198 driver: snd_hda_intel bus-ID: 00:0e.0 Sound: ALSA v: k4.18.0-0.bpo.1-amd64
Network:   Card-1: Intel Device 31dc bus-ID: 00:0c.0
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 15.4GB (39.6% used)
           ID-1: USB /dev/sda model: Ultra_Fit size: 15.4GB
Partition: ID-1: / size: 11G used: 2.3G (24%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 3.85GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors:   System Temperatures: cpu: 44.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 100 Uptime: 30 min Memory: 674.9/3532.4MB Init: systemd runlevel: 5 Gcc sys: N/A
           Client: Shell (bash 4.4.121) inxi: 2.3.5
? Why would I be seeing
Display Server: N/A drivers: modesetting (unloaded: fbdev,vesa)
?

I'll be combing through it again tomorrow. Thanks.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#25 Post by Head_on_a_Stick »

peek wrote:I also noticed package "intel-microcode", yet could not install it due to it's depency on "iucode-tool". Yet "iucode-tool" is either missing, obsolete or available from another source I'm not currently aware of...
It's in the contrib section of the repositories:

https://packages.debian.org/stretch-bac ... ucode-tool
Yes !!

Code: Select all

startx $(which kodi)
and also

Code: Select all

startx $(which kodi-standalone)
starts Kodi as a non-priviledged (not root) user.

I've been starting Kodi via

Code: Select all

xinit $(which kodi)
or

Code: Select all

xinit $(which kodi-standalone)
until it started to fail executing as non-priviledged user.
I think some things have changed in respect of the desktop since the X hole was noticed so you might need to use `startx` rather than `xinit` from now on.

Oh, and that silly kodi-standalone script is a relic from the XBMC days and just checks if pulseaudio is running and sets some variables, it is absolutely not needed — just run the /usr/bin/kodi binary directly.
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#26 Post by stevepusser »

Backports does have updated versions of all those firmware packages; you need to install those to get rid of those missing firmware messages:

https://packages.debian.org/stretch-bac ... re-iwlwifi
https://packages.debian.org/stretch-bac ... re-realtek
https://packages.debian.org/stretch-bac ... sc-nonfree

Firmware packages are backwards-compatible with older kernels, by the way.

Check their status and available versions with

Code: Select all

apt policy <package name>
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#27 Post by Head_on_a_Stick »

peek wrote:

Code: Select all

systemctl enable kodi
Created symlink /etc/systemd/system/multi-user.target.wants/kodi.service → /etc/systemd/system/kodi.service.
Why did you do that? :?

You can get Kodi autostarting for your kodi user by setting up automatic login for that user, guide here:

http://forums.debian.net/viewtopic.php?f=16&t=123694

^ just add `$(which kodi)` to the end of the `exec startx` command in ~/.profile :wink:

And remember to disable kodi.service beforehand or the two methods may conflict.
As user root executing: (Cringing as I type this knowing Head_on_a_Stick is gonna get excited about this one)

Code: Select all

/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Right, this is my final warning: you do that one more time and so help me ${DEITY} I will turn this thread around and drive it home, OK? :mrgreen:

But seriously, systemd launches dbus these days and the X server hasn't listened to tcp for a long while so I think that line is obsolete.
deadbang

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#28 Post by peek »

The URL states Package: iucode-tool (2.3.1-1~bpo9+1) [contrib], yet I get

iucode-tool (2.1.1-1) and
intel-microcode (3.20180425.1~deb9u1)

I jabbed an apt-get update and apt-get upgrade, just to prevent any possibly grilling, followed by

an uninstall and reinstall via apt-get install intel-microcode

and also an uninstall and reinstall via apt-get -t stretch-backports install intel-microcode

*** iucode-tool being pulled due to intel-microcode's dependency *** (Just saying.)

but iucode-tool stays 2.1.1-1 ...

...why am I not 2.3.1-1~bpo9+1 worthy ? :cry:
Head_on_a_Stick wrote:
Oh, and that silly kodi-standalone script is a relic from the XBMC days and just checks if pulseaudio is running and sets some variables, it is absolutely not needed — just run the /usr/bin/kodi binary directly.
Ooooookay, I'll be kicking the kodi-standalone habit from this point forward, never to mention it again.

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#29 Post by peek »

stevepusser wrote:Backports does have updated versions of all those firmware packages; you need to install those to get rid of those missing firmware messages:

https://packages.debian.org/stretch-bac ... re-iwlwifi
https://packages.debian.org/stretch-bac ... re-realtek
https://packages.debian.org/stretch-bac ... sc-nonfree

Firmware packages are backwards-compatible with older kernels, by the way.

Check their status and available versions with

Code: Select all

apt policy <package name>

Code: Select all

apt policy firmware-iwlwifi
firmware-iwlwifi:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Code: Select all

apt policy firmware-realtek
firmware-realtek:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Code: Select all

apt policy firmware-misc-nonfree
firmware-misc-nonfree:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Code: Select all

apt-get remove firmware-iwlwifi firmware-realtek firmware-misc-nonfree

Code: Select all

apt-get -t stretch-backports install firmware-iwlwifi firmware-realtek firmware-misc-nonfree


yet all packages still dates 20161130-3. Thus uninstalled & re-installed them each individually, as in apt-get -t stretch-backports install firmware-iwlwifi etc Yet ...

Code: Select all

apt policy firmware-iwlwifi
firmware-iwlwifi:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Code: Select all

apt policy firmware-realtek
firmware-realtek:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Code: Select all

apt policy firmware-misc-nonfree
firmware-misc-nonfree:
Installed: 20161130-3
Candidate: 20161130-3
Version table:
*** 20161130-3 500
500 http://ftp.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status
On the side, Backports Repo is still :

Code: Select all

cat /etc/apt/sources.list.d/backports.list
deb http://ftp.debian.org/debian stretch-backports main
Am I just going stupid really quickly ?

:?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#30 Post by stevepusser »

peek wrote:
stevepusser wrote:Backports does have updated versions of all those firmware packages; you need to install those to get rid of those missing firmware messages:

.....
On the side, Backports Repo is still :

Code: Select all

cat /etc/apt/sources.list.d/backports.list
deb http://ftp.debian.org/debian stretch-backports main
Am I just going stupid really quickly ?

:?
You just have to add non-free to the end of that line to get the non-free section backports where that firmware lives.

Code: Select all

deb http://ftp.debian.org/debian stretch-backports main non-free
MX Linux packager and developer

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#31 Post by peek »

Head_on_a_Stick wrote:
peek wrote:

Code: Select all

systemctl enable kodi
Created symlink /etc/systemd/system/multi-user.target.wants/kodi.service → /etc/systemd/system/kodi.service.
Why did you do that? :?
There's so many references on other writeups to do it ...
It just felt good, as I do it often to other services ...
It was already there, ready to be used ...
My friends made me do it !!
I felt lonely and depressed ...
I wanted to impress you.

Ooookay, I'm sorry. Won't do it again. I accept all punishment. :arrow:
Head_on_a_Stick wrote: You can get Kodi autostarting for your kodi user by setting up automatic login for that user, guide here:

http://forums.debian.net/viewtopic.php?f=16&t=123694

^ just add `$(which kodi)` to the end of the `exec startx` command in ~/.profile :wink:

And remember to disable kodi.service beforehand or the two methods may conflict.

Code: Select all

systemctl disable kodi
rm /etc/systemd/system/kodi.service
Any objection in also removing /lib/systemd/system/kodi.service ? Just prevents temptation and also creates an oppertunity for someone to Google their way into this thread. :idea:

Code: Select all

rm /lib/systemd/system/kodi.service
auto login: ** Unfamiliar territory. Not sure on what I'm about to do :| Just going with the flow **

Code: Select all

su
mkdir -p /etc/systemd/system/getty@tty1.service.d
vi /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin kodi --noclear %I $TERM

Code: Select all

exit
Side note:
** Yip, two lines starting ExecStart=
** Removing the first line, be it "empty", will cause the autologin process to fail. "Hanging" TTY1 whilst displaying the current hardware issues as seen in dmesg. Could possibly have been only a black screen, which woudl then have caused uncertainty as to what is happening should the system not have had any hardware issues.
** Whilst dmesg will utter : [ 5.519839] systemd[1]: getty@tty1.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
** Non-priviledged "kodi" user's password had NOT been disabled. ie NO "passwd -d kodi" issued.

auto startx:

Check to ensure you're the "kodi" user. i.e "

Code: Select all

whoami
"

Code: Select all

vi ~/.profile
Add [ "$(tty)" = "/dev/tty1" ] && exec startx $(which kodi) at the end of file

** Set correct default.target to ensure the system boots to the console (TTY) rather than to a display manager:

Code: Select all

systemctl set-default multi-user.target
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/multi-user.target.
To reverse this change, reset the default.target with:

# systemctl set-default graphical.target


** Nope, I dunno what I'm currently doing ... but it feels right ... :mrgreen:

Code: Select all

/sbin/reboot
Whoooooooo hooooooo ! Head_on_a_Stick ... Hhhmm, pondering naming my next kid after you. :D
Head_on_a_Stick wrote:
As user root executing: (Cringing as I type this knowing Head_on_a_Stick is gonna get excited about this one)

Code: Select all

/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Right, this is my final warning: you do that one more time and so help me ${DEITY} I will turn this thread around and drive it home, OK? :mrgreen:
...but, daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad :| It made it work...
Head_on_a_Stick wrote:
But seriously, systemd launches dbus these days and the X server hasn't listened to tcp for a long while so I think that line is obsolete.
Ooookay, another "old timer" being shelved. DebKodi Revision 0.3 already in the making. Watch out LibreELEC, your inferior security is numbered ! Only to fix the hardware decoding ...

Yet seriously, where does all this wisdom come from and what do we mere users need to do to acquire these Super Dad powers (in this centuary) ?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#32 Post by Head_on_a_Stick »

stevepusser wrote:You just have to add non-free to the end of that line to get the non-free section backports where that firmware lives.

Code: Select all

deb http://ftp.debian.org/debian stretch-backports main non-free
...and the OP will also need the contrib section for the iucode-tool package:

Code: Select all

deb http://deb.debian.org/debian stretch-backports main contrib non-free
EDIT: package name corrected, thanks Steve!
Last edited by Head_on_a_Stick on 2018-11-06 17:31, edited 1 time in total.
deadbang

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#33 Post by peek »

Thanks Head_on_a_Stick & stevepusser

Note to self: (and all others who missed this)

/etc/apt/sources.list => deb http://ftp.debian.org/debian/ stretch main non-free contrib

/etc/apt/sources.list.d/backports.list => deb http://ftp.debian.org/debian stretch-backports non-free

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#34 Post by Head_on_a_Stick »

peek wrote:/etc/apt/sources.list.d/backports.list => deb http://ftp.debian.org/debian stretch-backports non-free
Nope.

This:

Code: Select all

deb http://deb.debian.org/debian stretch-backports main contrib non-free
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#35 Post by stevepusser »

Head_on_a_Stick wrote:
stevepusser wrote:You just have to add non-free to the end of that line to get the non-free section backports where that firmware lives.

Code: Select all

deb http://ftp.debian.org/debian stretch-backports main non-free
...and the OP will also need the contrib section for the iucode-tools package:

Code: Select all

deb http://deb.debian.org/debian stretch-backports main contrib non-free
Ohh hoh hoh, monsieur! I acknowledge your correction and correct yours! Eet eez iucode-tool!
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#36 Post by Head_on_a_Stick »

^ Merci beaucoup! :mrgreen:
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#37 Post by stevepusser »

Ooookay, another "old timer" being shelved. DebKodi Revision 0.3 already in the making. Watch out LibreELEC, your inferior security is numbered ! Only to fix the hardware decoding ...
I have it (va-api hardware decoding) working with Kodi, QMPlay2, and MPV on my UHD 630 Coffee Lake GPU, but with backports from the Experimental section of the MX 17 repo (note that the rebuilds of these players in that repo use the ffmpeg 4.0.2 currently in that repo). http://mxrepo.com/mx/experimental/pool/test/

Code: Select all

$ vainfo
libva info: VA-API version 1.2.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_1_2
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.2 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.2.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
Perhaps I could reproduce that repo on the openSUSE Build Service for Stretch to make it easier to use, but the OBS has been taking about 30 seconds to respond to each mouse click for the past week, making it quite frustrating to add files.
The first and longest build in that repo would be the llvm-6.0 toolchain needed to build Mesa 18.X...llvm-6.0 currently in Buster rebuilds on generic Stretch.
MX Linux packager and developer

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#38 Post by peek »

For those wishing to catch up as to join in the fun.

Install Debian 9.5.0 minimal:

Add stretch-backports' 'main', 'contrib' & 'non-free' repo:

-- "main" - > latest kernel
-- "non-free" -> newer hardware firmware
-- "contrib" -> iucode-tool dependency of firmware
** All backports are deactivated by default. To install something from backports run: apt-get -t stretch-backports install "package"

Code: Select all

echo "deb http://ftp.debian.org/debian stretch-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list
Add stretch's "contrib" & "non-free" repositories to existing "main" repo:

Code: Select all

sid -i 's/stretch main/stretch main contrib non-free/' /etc/apt/sources.list
apt-get update
Hyperspeed to the latest and greatest kernel + mesa drivers for multimedia!

From stretch-backports' 'main' repo:

Code: Select all

apt-get -t stretch-backports install linux-image-amd64 libegl-mesa0 libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglu1-mesa libglx-mesa0 mesa-utils mesa-va-drivers mesa-vdpau-drivers


From stretch-backports' 'non-free' repo:

Code: Select all

apt-get install firmware-misc-nonfree firmware-realtek firmware-iwlwifi
From stretch's 'main' repository:

Code: Select all

apt-get install firmware-linux-free xinit kodi kodi-eventclients-kodi-send kodi-pvr-hts kodi-pvr-iptvsimple kodi-visualization-spectrum mysql-server pulseaudio
Create "kodi" user for Kodi:

Code: Select all

useradd kodi
passwd kodi 
usermod -a -G sudo,video,audio kodi
Restart & login as non-privileged user 'kodi'.

MariaDB setup: -

Optimise mysql-server for kodi use:

Code: Select all

cat <<EOF>> /etc/mysql/mariadb.conf.d/50-kodi.optimize.conf
[mysqld]

optimizer_search_depth = 1
skip-name-resolve
innodb_adaptive_hash_index = off
EOF
Comment MySQL 'bind-address' as to listen to incoming connections

Code: Select all

sed -i 's/bind-address/#bind-address/' /etc/mysql/mariadb.conf.d/50-server.cnf
Create kodi user with priviledges in MySQL server

Code: Select all

mysql -u root -p << EOF
CREATE USER 'kodi' IDENTIFIED BY 'kodi';
GRANT ALL ON *.* TO 'kodi';
flush privileges;
EOF
service mysql restart
Create/Amend Kodi advancedsettings.xml file

First set ***.***.***.*** to IP op machine (i.e 127.0.0.1 for local use)

Code: Select all

cat <<EOF>> /home/kodi/.kodi/userdata/advancedsettings.xml
<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>***.***.***.***</host>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </videodatabase> 
  <musicdatabase>
    <type>mysql</type>
    <host>***.***.***.***</host>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </musicdatabase>
  <videolibrary>
    <importwatchedstate>true</importwatchedstate>
    <importresumepoint>true</importresumepoint>
  </videolibrary>
</advancedsettings>
EOF
Auto Login user kodi:

Code: Select all

sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
sudo cat <<EOF>> /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin kodi --noclear %I $TERM
EOF
systemctl set-default multi-user.target

Auto 'startx' via user kodi:

Code: Select all

echo $'\n[ "$(tty)" = "/dev/tty1" ] && exec startx $(which kodi)' >>  /home/kodi/.profile
-----------------------------------------------------------------------------

Credits: Segfault, stevepusser, Head_on_a_Stick, jmgibson1981 and the rest of the net.

-----------------------------------------------------------------------------

and join the conversation ...
Last edited by peek on 2018-11-07 22:04, edited 3 times in total.

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#39 Post by peek »

stevepusser wrote: I have it (va-api hardware decoding) working with Kodi, QMPlay2, and MPV on my UHD 630 Coffee Lake GPU, but with backports from the Experimental section of the MX 17 repo (note that the rebuilds of these players in that repo use the ffmpeg 4.0.2 currently in that repo). http://mxrepo.com/mx/experimental/pool/test/
Could you please elaborate on getting "va-api hardware decoding" going?

Quick update, before I follow steve:

As captured from startup screen, though only the 3rd line makes it into dmesg:

Code: Select all

[ 0.048000] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: a600000000020408
[ 0.048000] mce: [Hardware Error]: TSC 0 ADDR fef4c9e0
[ 0.048000] mce: [Hardware Error]: PROCESSOR 0:706a1 TIME 1541419467 SOCKET 0 APIC 0 microcode 28
After a succesfull logon, the following is displayed:

Code: Select all

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
.. where would one "mute it" ?

and then, the main reason for this update: The system freezes intermittendly for 5 - 7 seconds. dmesg has the following to comment thereon:

Code: Select all

[ 1828.855281] LanguageInvoker[989]: segfault at ffffffff00000000 ip ffffffff00000000 sp 00007f8bdbffd0f8 error 15
[ 1828.855290] Code: Bad RIP value.
[ 3638.049322] LanguageInvoker[1137]: segfault at ffffffff00000000 ip ffffffff00000000 sp 00007fcf393dd0f8 error 15
[ 3638.049332] Code: Bad RIP value.
[ 5457.724238] LanguageInvoker[1305]: segfault at ffffffff00000000 ip ffffffff00000000 sp 00007f0d354bd0f8 error 15
[ 5457.724248] Code: Bad RIP value.
[ 7271.935022] LanguageInvoker[1500]: segfault at ffffffff00000000 ip ffffffff00000000 sp 00007fbaafffd0f8 error 15
[ 7271.935031] Code: Bad RIP value.


Ok, continueing down the rabbit hole with steve...

#vainfo

Code: Select all

error: can't connect to X server!
libva info: VA-API version 0.39.4
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_39
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
Add MX17 repo. Get Mx17 repo's public key. Install key. Update. Upgrade vainfo

Code: Select all

echo "deb http://mxrepo.com/mx/testrepo/ stretch test" > /etc/apt/sources.list.d/mx17.list
wget teharris.net/mx17repo.asc
sudo "apt-key add mx17repo.asc"
apt-get upgrade vainfo
#apt-get upgrade vainfo

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
vainfo is already the newest version (1.7.3-2).
Calculating upgrade... Done
The following packages have been kept back:
  kodi kodi-bin libavcodec57 libavformat57 libavresample3 libavutil55 libswresample2 linux-image-amd64 mount util-linux util-linux-locales
The following packages will be upgraded:
  bsdutils firmware-iwlwifi firmware-misc-nonfree firmware-realtek fontconfig-config kodi-data kodi-eventclients-common kodi-eventclients-kodi-send libblkid1
  libefiboot1 libefivar1 libfdisk1 libfontconfig1 libfreetype6 libglib2.0-0 libglib2.0-data libmount1 libsmartcols1 libssh-gcrypt-4 libuuid1 libwebp6 libwebpdemux2
22 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 34.7 MB of archives.
After this operation, 530 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
...
Restart and ...:

#vainfo

Code: Select all

error: can't connect to X server!
libva info: VA-API version 0.39.4
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_39
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
#DISPLAY=:0 glxinfo

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) UHD Graphics 600 (Geminilake 2x6)  (0x3185)
    Version: 18.1.9
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 600 (Geminilake 2x6)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.9
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth,
    GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture,
    GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax,
    GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_viewport_index,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_ARB_ES2_compatibility,
    GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance,
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage,
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance,
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_derivative_control, GL_ARB_direct_state_access,
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image,
    GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,
    GL_ARB_internalformat_query, GL_ARB_internalformat_query2,
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment,
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
    GL_ARB_occlusion_query2, GL_ARB_pipeline_statistics_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_sprite,
    GL_ARB_polygon_offset_clamp, GL_ARB_post_depth_coverage,
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex,
    GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior,
    GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture,
    GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_clock,
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
    GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
    GL_ARB_shader_objects, GL_ARB_shader_precision,
    GL_ARB_shader_stencil_export, GL_ARB_shader_storage_buffer_object,
    GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples,
    GL_ARB_shader_texture_lod, GL_ARB_shader_viewport_layer_array,
    GL_ARB_shading_language_420pack, GL_ARB_shading_language_packing,
    GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader,
    GL_ARB_texture_barrier, GL_ARB_texture_buffer_object,
    GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range,
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map_array, GL_ARB_texture_filter_anisotropic,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels,
    GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg,
    GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8,
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample,
    GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query,
    GL_ARB_transform_feedback2, GL_ARB_transform_feedback3,
    GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_uniform_buffer_object,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
    GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding,
    GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev,
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array,
    GL_ATI_blend_equation_separate, GL_ATI_texture_float, GL_EXT_abgr,
    GL_EXT_blend_equation_separate, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
    GL_EXT_framebuffer_sRGB, GL_EXT_packed_depth_stencil, GL_EXT_packed_float,
    GL_EXT_pixel_buffer_object, GL_EXT_polygon_offset_clamp,
    GL_EXT_provoking_vertex, GL_EXT_shader_framebuffer_fetch,
    GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_shader_integer_mix,
    GL_EXT_shader_samples_identical, GL_EXT_texture_array,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays,
    GL_INTEL_conservative_rasterization, GL_INTEL_performance_query,
    GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness,
    GL_KHR_texture_compression_astc_hdr, GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_pack_invert,
    GL_MESA_shader_integer_functions, GL_MESA_texture_signed_rgba,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
    GL_NV_texture_barrier, GL_OES_EGL_image, GL_S3_s3tc

OpenGL version string: 3.0 Mesa 18.1.9
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth,
    GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture,
    GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_APPLE_packed_pixels,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility,
    GL_ARB_arrays_of_arrays, GL_ARB_blend_func_extended,
    GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clear_texture,
    GL_ARB_clip_control, GL_ARB_color_buffer_float,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance,
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_depth_texture, GL_ARB_derivative_control, GL_ARB_draw_buffers,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location,
    GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata,
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
    GL_ARB_occlusion_query2, GL_ARB_pipeline_statistics_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_polygon_offset_clamp, GL_ARB_program_interface_query,
    GL_ARB_provoking_vertex, GL_ARB_query_buffer_object,
    GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness,
    GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects,
    GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters,
    GL_ARB_shader_ballot, GL_ARB_shader_bit_encoding, GL_ARB_shader_clock,
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
    GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
    GL_ARB_shader_objects, GL_ARB_shader_precision,
    GL_ARB_shader_stencil_export, GL_ARB_shader_storage_buffer_object,
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_stencil_texturing,
    GL_ARB_sync, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_compression_bptc,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map,
    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_filter_anisotropic,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_stencil8, GL_ARB_texture_storage,
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle,
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_copy_texture, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB,
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_polygon_offset_clamp,
    GL_EXT_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shader_framebuffer_fetch,
    GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_shader_integer_mix,
    GL_EXT_shader_samples_identical, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_array,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_INTEL_performance_query, GL_KHR_blend_equation_advanced,
    GL_KHR_blend_equation_advanced_coherent, GL_KHR_context_flush_control,
    GL_KHR_debug, GL_KHR_no_error, GL_KHR_robust_buffer_access_behavior,
    GL_KHR_robustness, GL_KHR_texture_compression_astc_hdr,
    GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_pack_invert,
    GL_MESA_shader_integer_functions, GL_MESA_texture_signed_rgba,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
    GL_NV_depth_clamp, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
    GL_NV_primitive_restart, GL_NV_texgen_reflection, GL_NV_texture_barrier,
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image,
    GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
    GL_ANDROID_extension_pack_es31a, GL_ANGLE_texture_compression_dxt3,
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_texture_max_level,
    GL_EXT_blend_func_extended, GL_EXT_blend_minmax, GL_EXT_buffer_storage,
    GL_EXT_clip_cull_distance, GL_EXT_color_buffer_float,
    GL_EXT_compressed_ETC1_RGB8_sub_texture, GL_EXT_copy_image,
    GL_EXT_discard_framebuffer, GL_EXT_disjoint_timer_query,
    GL_EXT_draw_buffers, GL_EXT_draw_buffers_indexed,
    GL_EXT_draw_elements_base_vertex, GL_EXT_frag_depth,
    GL_EXT_geometry_point_size, GL_EXT_geometry_shader, GL_EXT_gpu_shader5,
    GL_EXT_map_buffer_range, GL_EXT_multi_draw_arrays,
    GL_EXT_occlusion_query_boolean, GL_EXT_polygon_offset_clamp,
    GL_EXT_primitive_bounding_box, GL_EXT_read_format_bgra, GL_EXT_robustness,
    GL_EXT_separate_shader_objects, GL_EXT_shader_framebuffer_fetch,
    GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_shader_integer_mix,
    GL_EXT_shader_io_blocks, GL_EXT_shader_samples_identical,
    GL_EXT_tessellation_point_size, GL_EXT_tessellation_shader,
    GL_EXT_texture_border_clamp, GL_EXT_texture_buffer,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_cube_map_array,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_format_BGRA8888,
    GL_EXT_texture_rg, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage,
    GL_INTEL_conservative_rasterization, GL_INTEL_performance_query,
    GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness,
    GL_KHR_texture_compression_astc_hdr, GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d,
    GL_MESA_shader_integer_functions, GL_NV_draw_buffers,
    GL_NV_fbo_color_attachments, GL_NV_image_formats, GL_NV_read_buffer,
    GL_NV_read_depth, GL_NV_read_depth_stencil, GL_NV_read_stencil,
    GL_OES_EGL_image, GL_OES_EGL_image_external,
    GL_OES_EGL_image_external_essl3, GL_OES_EGL_sync,
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_copy_image, GL_OES_depth24,
    GL_OES_depth_texture, GL_OES_depth_texture_cube_map,
    GL_OES_draw_buffers_indexed, GL_OES_draw_elements_base_vertex,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    GL_OES_geometry_point_size, GL_OES_geometry_shader,
    GL_OES_get_program_binary, GL_OES_gpu_shader5, GL_OES_mapbuffer,
    GL_OES_packed_depth_stencil, GL_OES_primitive_bounding_box,
    GL_OES_required_internalformat, GL_OES_rgb8_rgba8, GL_OES_sample_shading,
    GL_OES_sample_variables, GL_OES_shader_image_atomic,
    GL_OES_shader_io_blocks, GL_OES_shader_multisample_interpolation,
    GL_OES_standard_derivatives, GL_OES_stencil8, GL_OES_surfaceless_context,
    GL_OES_tessellation_point_size, GL_OES_tessellation_shader,
    GL_OES_texture_3D, GL_OES_texture_border_clamp, GL_OES_texture_buffer,
    GL_OES_texture_cube_map_array, GL_OES_texture_float,
    GL_OES_texture_float_linear, GL_OES_texture_half_float,
    GL_OES_texture_half_float_linear, GL_OES_texture_npot,
    GL_OES_texture_stencil8, GL_OES_texture_storage_multisample_2d_array,
    GL_OES_vertex_array_object, GL_OES_vertex_half_float,
    GL_OES_viewport_array

48 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x022 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x1ad 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1af 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1b1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1bf 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x1c1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x1c2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x1c9 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1cb 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1cd 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1db 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1dd 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1de 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x1df 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1e0 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x1e7 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x1e9 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x1eb 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x1f9 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x1fb 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x1fc 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x1fd 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x1fe 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x223 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x225 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x227 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x235 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x237 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x238 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x239 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x240 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x242 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x244 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x252 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x254 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x255 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x256 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x257 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x25e 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x260 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x262 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x270 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x272 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x273 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x274 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x275 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x080 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

44 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x081 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x083 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x093 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x095 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x096 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x09f 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0b1 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b3 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b4 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0bd 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0bf 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0cf 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0d1 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0d2 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x0f9  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0fb  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0ff  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x101  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x102  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x10b  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x10d  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x117 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x119 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x129 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x12b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x12c 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x135 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x137 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x147 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x149 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x14a 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x153 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x155 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x165 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x167 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x168 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x18f  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x191  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x195  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x197  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x198  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x1a1  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1a3  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
No more sound and still no hardware decoding ...

Please slow down steve, you're loosing me :?

User avatar
peek
Posts: 18
Joined: 2018-10-31 10:15

Re: Purist form of Kodi on Intel NUC7CJYH - No LibreELEC

#40 Post by peek »

The following stands out between the current Debian and LibreELEC installations within Kodi:

DebKodi:

Audio output device:
Default, Default Output Device (PULSEAUDIO)
Built-in Audio Analog Stereo, Link Out (PULSEAUDIO)

LibreELEC

Audio output device
ALSA: Default(HDA Intel PCH ALC233 Analog)
ALSA: HDA Intel PCH, ALC233 Analog
ALSA: HDA Intel PCH, ALC233 Digital S/PDIF
ALSA: HDA Intel PCH, SAM SAMSUNG on HDMI #0
ALSA: HDA Intel PCH, HDMI #1
ALSA: HDA Intel PCH, HDMI #2
ALSA: HDA Intel PCH, HDMI #3
ALSA: HDA Intel PCH, HDMI #4
PULSE: Default, Bluetooth Audio (PULSEAUDIO)

Audio passthrough
ALSA: HDA Intel PCH, ALC233 Digital S/PDIF
ALSA: HDA Intel PCH, SAM SAMSUNG on HDMI #0
ALSA: HDA Intel PCH, HDMI #1
ALSA: HDA Intel PCH, HDMI #2
ALSA: HDA Intel PCH, HDMI #3
ALSA: HDA Intel PCH, HDMI #4

Which ALSA package is the way to go ?

Post Reply