[Howto] AMD Tahiti R9 GPU – no supported hardware video decoding profiles (vaapi / vdpau)
OS: Debian trixie (v13) Linux Kernel: 6.4.11-1 x86/64 problem: vainfo returns only VAProfileNone : VAEntrypointVideoProc and all other decoding profiles are “not supported”. solution: use the amdgpu driver (and not the radeon driver) for AMD Southern Island (SI)-Chips: add radeon.si_support=0 … Continued
[SSH] auto disconnect after login attempt
version:OpenSSH 9.0p1 command:ssh -v <server> error message:Authenticated to <server> ([<ip-adress>]:<port>) using “publickey”.debug1: channel 0: new [client-session]debug1: Requesting no-more-sessions@openssh.comdebug1: Entering interactive session.<…>debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0debug1: channel 0: free: client-session, nchannels … Continued
[SAMBA] Can’t locate JSON.pm in @INC
version:samba-4.17.1error message:Can’t locate JSON.pm in @INC (you may need to install the JSON module) solution:install the JSON-module in PERLexecute following command as root: cpan JSON
[FreeBSD] zfs: out of temporary buffer space
system: FreeBSD v13.0-p7 reason: the bootloader is broken (e.g. after update) solution: reinstall the bootloader(s) to your boot disk(s) example: zroot (2-disk zfs-mirror with GPT partition tables) download a bootable FreeBSD-Image(e.g. FreeBSD-13.0-RELEASE-amd64-memstick.img) copy the image-file to a USB-stick (attention: all … Continued
[Howto] clear the console scrollback buffer in FreeBSD
use the following command to clear the history buffer:
[VirtualBox] enable support for USB devices in VirtualBox
install the Oracle VM VirtualBox Extension Pack(it enables support für USB 2.0 and 3.0) check, if you have read/write-access to the USB-device files(/dev/bus/usb/…) if not:create a new group named vboxusers, add your username to the group vboxusers andchange the group-ownership … Continued
[Howto] solve “slow starting GTK applications”
problem: GTK applications need 25 seconds to start (info: 25s is the D-bus timeout) solution: uninstall the package xdg-dbus-proxy [edit 2023-09-10] uninstall the package xdg-desktop-portal-gnome
[Howto] upgrade DEBIAN if distribution name has changed
problem: if the name of the DEBIAN distribution has changed (e.g. testing-version changes from “bullseye” to “bookworm”), aptitude denies the update procedure. It requests a manual command to proceed. solution: execute the command apt-get update –allow-releaseinfo-change (it updates the file … Continued
[Howto] Raspberry Pi + I²C + MCP23017 + C (minimal example)
minimal working example: read data from MCP23017-register and print it to screen.
[Facts] Raspberry Pi + I²C + MCP23017: digital output toggle timespan (Bash, Python, C)
purpose: measuring the timespan between rising/falling-edge (=off/on/off-change) of a digital-output-bank (GPA0…GPA7) testing equipment: -Raspberry Pi 3 Modell B-I2C-adress of MCP23017-chip = 0x20-MCP23017 register-adress of 8 digital-outputs: 0x14-Owon SDS7102 digital ocsilloscope conclusion: I²C-baudrate bash Python C 100.000 5,18 ms @ 75 … Continued