Category Archives: Linux

Raspian remove pi user, add my own user

Adding a new user is easy, but when you login as that user you wont be able to do much. You will probably see no adapter found or no network device detected for your wifi, amongst many other issues with audio devices etc.

Here goes 🙂

from Terminal:

adduser myusername

Enter the password (twice) and just enter all the rest of the info unless you really want to fill it in.

now add myusername to the required groups

usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi myusername

phew, nearly there. Do make sure you are swapping myusername for your desired username!

now, still logged in as ‘pi’ user, open the raspian desktop start menu and select ‘Preferences’ -> ‘Raspberry Pi Configuration’ and in the System tab untick the ‘Auto login as user ‘pi’

now use the raspian start menu shutdown option and select ‘logout’. Login as mysername and open a terminal.

groups

make sure your user is a member of all the groups (adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi), especially sudo

once all good you now reboot and login as myusername then remove the ‘pi’ user using the terminal:

sudo deluser --remove-home pi

good to go. any issue please leave a coment and I will try to help. You can also use the contact form to send me a message.

Enjoy
BaDboD

Raspian, Raspberry Pi Vivaldi browser

so your getting
/usr/bin/vivaldi: error while loading shared libraries: libffmpeg.so: cannot open shared object file: no such file or directory

hmm, try

sudo cp /usr/lib/arm-linux-gnueabihf/libffmpeg_chrome.so.60 /lib/libffmpeg.so

While typing that line you might want to press TAB before the .60 in case your version is different?

ok, vivaldi should run now.

Regardless basically you want to copy the chromium provided libffmpeg_chrome.so.(versionnumberhere) to /lib/libffmpeg.so

Let me know if you have any problems and indeed how you fixed it if this did not work for you.

Enjoy
BaDboD

Creativerse Release on Linux Wine

As Creativerse is now out of early access and in full release a quick update.

To install Creativerse on Linux using Wine I am using Linux Mint 18 (Sarah) but any recent Ubuntu distro should work fine.

1) Install Wine. Preferably Wine Staging
2) Install corefonts using winetricks winetricks corefonts
3) Download and install windows Steam
4) Totally ignore steam not showing the store and go to your library
5) Install Creativerse
6) Play Creativerse.

The release shows much better performance then previous R versions. Using AMD R7-360 I can set all graphics options to max with silky smooth frame rates.

For fixing steam Store and best performance settings see my previous post HERE should you want a fully functional Steam in Linux using Wine.

Please do post any questions, success or fails in the comments.

BaDboD

Linux Mint 18, Ubuntu 16.04 AMD Radeon open source video problem, vainfo error

Getting poor video playback or video problems using Linux Mint 18 or Ubuntu 16.04 and the open source AMD Radeon driver?

You will probably notice your vainfo shows an error:

#vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/r600_drv_video.so
libva: va_openDriver() returns -1

install vdpau-va-driver
sudo apt install vdpau-va-driver

Now add LIBVA_DRIVER_NAME=vdpau to /etc/environment and reoot.

now all should be good and vainfo should show something like
#vainfo
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD

[update]This does not work with Radeon R7 360 and is not needed[/update]