Two minor tasks that should be quick and easy. (a) Set up Nvidia quad P1000 graphics card for use with Linux and a couple of 4K screens. (b) Installed OBS to be able to make some videos about software. Yeah, right.
First attempts – stock Ubuntu on top of a fairly standard Dell box hosting the Nvidia cards. Lots of problems with drivers and compatibility and the relationships between X, the graphical layer that supports windowing, desktops using X and the drivers system. We have various intermediary layers named “Wayland”, “Nouveau” and options to take packaged nvidia binaries for some given kernels, or to install from packages provided by nvidia. Just as with my XPS 4K laptop, the end result is that one way or another, something doesn’t work. And that’s before you also try to sort out the tty text terminals.
Some more in depth experience is related here but to be mined….
As for OBS – well, I started from some positive looking instructions but immediately hit package management issues on Scientific Linux 7.4 (tracking the RHEL/Centos stable). The first clue to problems was a suggestion to install “dnf” which turns out to be “dandified yum” aka the “next” version of yum. In general the fact that the number of package managers is proliferating is indicative of the major problems that packages present to Linux users. But -hey why not. Second recommendation is that in addition to enabling the epel-release repositories, to look at RPM Fusion, or alternatively NUX (supposedly equivalent but better than RPM Fusion). So – RPM Fusion is a repo center for packages that the Fedora project or RedHat don’t want to ship (another bad sign). And Nux is a competitor/alternative.
Started to install some of the standard packages and found that to get hold of Objective-C via gcc-objc or gobc failed. Eventually found some gnu-step packages names that were touted to work.
Then – for the extensions. Started with Nux but the dependencies to build OBS from scratch failed at the x264-devel level where I could either have x264-devel but not ffmpeg or vice versa. So – then looked to scrub nux by moving the repo description out of /etc/yum.repos.d and performing a yum update. 1174 packages later and I was ready to retry the yum installs again, then throw in the “ffmpeg-devel” (tip : package “may” be required generally means package is certainly required). All OK barring warnings about runtime library libEGL.so.1 in /usr/lib64 which may be hidden by files in /sbin/../lib64.
Finally – git clone the OBS sources, cmake to get the makefiles and then run the build. Finally “make install” which by default is to /usr/local as a prefix and so run ldconfig (after creating file /etc/ld.so.conf.d/local.conf containing a line listing /usr/local/lib). We end up with /usr/local/bin/obs which works.
Initial setup and optimisation, trying to run on the full 3840×2160 HD screen one results in a core dump. Not very impressive.
Moral of the story : don’t buy new hardware and expect to use Linux for less than lots of pain.