Thursday 31 December 2020

Fixing ffmpeg and failing hardware NVenc/dec following software upgrade

If you find that ffmpeg is no longer able to use your NVidia's card for hardware decode/encode after an OS or software upgrade, ensure your running X11/NV driver and the CUDA libraries are compatible otherwise you will get cryptic error messages:
$ ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda \ -c:v h264_cuvid -i 201231-163836.mkv \ -c:a copy \ -vf scale_npp=-1:720 \ -rc vbr_hq -c:v h264_nvenc \ -b:v 3M -minrate 500k -maxrate 12M \ output.mp4 ... failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error Unable to create device No device available for decoder: device type cuda needed for codec h264

Game Emulation Options on Linux

Emulation for old games, particularly on Linux, can be a bit of a difficult area to navigate. Whilst there are nice standalone setups like retropie, it does need a Raspberry Pi and a display. For those looking to run emulation on their normal OS will have the option of programs like Retroarch, mame and FB Neo. But where to start?

Friday 18 December 2020

Quick Nintendo Switch joystick comparison: Hori RAP and Fighting Stick Mini

Whilst revisiting Street Fighter on PC and Nintendo Switch I wanted to get a joystick. Hori make 2 joysticks, the Real Arcade Pro V (aka RAP V) or the Fighting Stick Mini, that meet this need but which is most suitable?

Monday 13 July 2020

Topping E30: another DAC for linux/RPi

The Topping brand has put out various well received budget Chi-fi units over the last few years, and of interest to me, with various USB enabled DACs such as the D90, D50s and so forth. The most recent addition as of Q2 2020, the Topping E30 is a hi-res DAC with an all metal case, requiring 5v ~1A via by a 2.1mm barrel jack. The E30 has traditional inputs and outputs: toslink/coax and USB digital input and RCA out and crucially for me, without the bloat of a headphone amp or bluetooth receiver- a pure DAC.



How does it work with Linux and a RPi music server running forked-daapd.

Sunday 26 April 2020

Poor sound with Dell onboard Conexant CX20641 / HDA intel soundcard

Some Dell machines have a soundcard that is essentially wired up differently to how some software expects. This can be evident when using the line-out of the machine to go into speakers and finding that there is very poor bass output but can manifest itself in other soundcard jacks not behaving as expected. This is observed during enforced homeschooling on an old Dell Optiplex 390 running Fedora 32.

Verifying the soundcard is using a similar troublesome chipset:
$ dmesg | grep snd_hda_codec_conexant [ 19.026492] snd_hda_codec_conexant hdaudioC0D2: CX20641: BIOS auto-probing. $ lspci -v -d 8086:1c20 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04) DeviceName: Onboard Audio Subsystem: Dell Device 04f5 Flags: bus master, fast devsel, latency 0, IRQ 36 Memory at e4c30000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel