----- Date:

Debian 10 on Ryzen 3 3200G and ASUS TUF gaming B450-plus

Debian 10 on Ryzen 3 3200G and ASUS TUF gaming B450-plus

Now I've got the BIOS SNAFU straightened out on this motherboard, my goals changed. It's keeping the Ryzen 3 3200G CPU and becoming a Debian Linux desktop machine for Rhe.

I'm going to try to live blog, sortof, the setup process whereby this computer becomes functional.

Install Debian #

Debian netinst ran trouble free, now I have access to poppy via SSH in a terminal on my desktop with copy & paste to a browser on the same screen. Makes life so much easier than doing it the hard way.

The system comes up without graphics, switching terminals with Ctrl-Alt-F2 will let you log into the console. Not an issue here this time.

First thing; install emacs. There's nano if one needs it, in the base install, but I live in emacs and use it for everything (It's a Rocket Fuel! It's a Floor wax! You can even eat it!)

root@poppy:~# apt install emacs

(NOTE this is a root shell, su -l from the normal user account created during install. There's other ways of doing this, specifically sudo, but I prefer this.)

Install Steam #

Then I can comfortably edit /etc/apt/sources.list per the Debian Wiki's Steam instructions to add the contrib and non-free repositories.

Next:

root@poppy:~# dpkg --add-architecture i386
root@poppy:~# apt update
root@poppy:~# apt install steam libgl1:i386 mesa-vulkan-drivers:i386 mesa-vulkan-drivers

That will have a "Steam subscriber agreement" dialog to agree to.


ADDENDUM 2020.03.25

The Proton tool Steam uses to run Windows games on Linux ("Steam Play") is impressive. Protondb is a valuable resource collecting user reports of experiences and workarounds for specific games. "Cities Skylines", for example, has a native Linux version that blows camels, but the Windows version runs flawlessly with Proton.


Also:

root@poppy:~# apt install firmware-amd-graphics

Reboot at this point, and the system should now have graphical login available too... but it doesn't. The X570 did, at this point, as the Nvidia drivers came in this step. The i7 / RX580 combo came ok here too.

Fix Grafix via Kernel upgrade #

root@poppy:~# lspci | grep -i vga
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c9)

Search "Debian AMD Picasso" and find this: https://ubuntuforums.org/showthread.php?t=2412254

which suggests an upgrade to a 5.x kernel.

https://www.addictivetips.com/ubuntu-linux-tips/get-linux-kernel-5-3-on-debian-10-stable/

https://wiki.debian.org/HowToUpgradeKernel

... Another edit of /etc/apt/sources.list, adding the line:

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

and apt update

Currently we've got the stock kernel:

root@poppy:~# uname -a
Linux poppy 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

apt search linux-image | grep "backports" gives 57 lines, varieties of newer kernel to choose from, 4 versions of 5.4.x with 4 build options for each.

root@poppy:~# apt install linux-image-5.4.0-0.bpo.4-amd64-unsigned  linux-headers-5.4.0-0.bpo.4-amd64

Reboot; there, finally have the graphics firing up.

root@poppy:~# uname -a
Linux poppy 5.4.0-0.bpo.4-amd64 #1 SMP Debian 5.4.19-1~bpo10+1 (2020-03-09) x86_64 GNU/Linux

ADDENDUM 2020.03.25

Rhe has reported several "it just rebooted" errors, which have no causes I can find in logs. I'm ascribing this to bleeding edge hardware and drivers and hoping it gets fixed soon.


File Shares #

Create the mount points (I'm bad about these one liners)

root@poppy:~# for i in work bulk vids ; do mkdir -v /$i ; done
mkdir: created directory '/work'
mkdir: created directory '/bulk'
mkdir: created directory '/vids'

edit /etc/fstab to add these lines at the end (these are our homelan shares)

//snafu/work    /work   cifs    rw,uid=1000,gid=1000,guest,noperm   0 0
//snafu/bulk    /bulk   cifs    rw,uid=1000,gid=1000,guest,noperm   0 0
//snafu/vids    /vids   cifs    rw,uid=1000,gid=1000,guest,noperm   0 0

oops i need helper programs

root@poppy:~# apt install cifs-utils

mount those and then install the Minecraft .deb I've downloaded earlier ( source ), which makes sure they work... or at least that the /work share works.

root@poppy:~# for i in work bulk vids ; do mount /$i ; done

root@poppy:~# apt install /work/software/Minecraft.deb 

Next requires Steam and Minecraft logins so those things can start downloading their large blocks of stuff.


ADDENDUM 2020.03.25

Minecraft's official launcher is troublesome; MultiMC is working better for us.


Adding DVD reading #

We've already got the contrib repository, so adding the capability to use DVD's requires only:

root@poppy:~# apt install libdvd-pkg

which gives the instructions:

This package automates the process of launching downloads of the
source files for libdvdcss2 from videolan.org, compiling

Please run "sudo dpkg-reconfigure libdvd-pkg" to launch this process
for the first time.
root@poppy:~# dpkg-reconfigure libdvd-pkg

Does its thing. Rhe should be able to watch DVDs on this machine now.

Web browser #

Using the instructions here:

https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile

I've copied the places, passwords, form history and cookies from her current Firefox install to the new one. The transition won't be quite seamless, but having all the saved passwrords and history and so on is very nice and makes the transition to a new system smoother.