So everyone knows about the upcoming Winblows 10 being flushed down the toilet by MS and trying to force everyone to go to Winblows 11. Well who has two thumbs and isn’t playing that game? 👍 👍 This guy!
So on that note, last week I decided I wanted to get a jump start on making Linux my daily driver on the main computer. Which by the way is over 10 years old. Thank you Asus, AMD, Corsair and Samsung, Western Digital. Sorry had to do a shout out to them. They aren’t the cheapest, but they do make excellent products and I don’t use anything else when I build my PCs. That is also based on experience repairing computers.
I digress, lets get back on topic. So due to the success of the Arch Linux server that I am running for a production web hosting server on Hetzner, I decided to go ahead and install Arch Linux with KDE Plasma on my main computer. Well I should say our computer since my wife and daughter use it as well. The wife just uses the web browser, and now LibreOffice to write stories for freelancing. Also Gnucash for invoicing and such. So she is pretty much taken care of for now.
My daughter uses the desktop computer for voice to text to quickly write a story or idea that she has come up with. Before she was using Word, but now will be using LibreOffice as well. The downside to this is that I will have to find a program that will do voice to text. I did a little research on this already, but need to test some of them out. Currently she uses a laptop with Windows on it to play games. As it gets closer to Winblows 10 going the way of the dodo bird, I will put Arch Linux with KDE Plasma on it as well.
Finally for me, I play games, one of them being Minecraft. I run a Minecraft server on the desktop for my daughter and I to play on, and that migration from Winblows to Linux was so very simple. And I must say playing Minecraft on the desktop and playing on the server at the same time, they both run ssssoooooo smooth. Better than when running both on Winblows. I have Steam installed and am struggling a little bit with getting American Truck Simulator working without so much lag. On Winblows it had a little bit of lag, but not as bad as it is now and was thinking it would run better than on Winblows. I have been testing different Proton versions and think I am getting close. I was able to get the Bluetooth headphone working and the printer working from Linux. Of course I do more with the Desktop and still have things to test and make sure they are working appropriately.
So far, I am very happy with the switch. There are things that will come up with Linux that will need to be troubleshooted, but that will be part of the fun. When I first started using Winblows, there were many things I needed to troubleshoot and try to get working and it was fun. I look forward to applying those same things with Linux and rather than just blowing away the install and going with something else, troubleshooting and learning the operating system and becoming better at it. No operating system is perfect and there will always be issues, but I am finding Linux a lot of fun to troubleshoot and get things working.
Thanks for reading and don’t be afraid to make the switch and maybe no sweatin as you go down the hall. 🤣
Madchatthew@sudonix.org
So I was able to finally resolve getting the video card driver figured out the other day. I thought I had it figured out by editing and adding some code the the grub file but that wasn’t actually working. Here is what I had to do. I should also say that this is for an AMD Radeon video card, that is over 10 years old.
When you install Arch using the archinstall script, you have the option of what video drivers to use. I chose the open source AMD video drivers. This installs the “mesa” package. But it doesn’t end there because you need to verify which driver is being loaded and running. Now before you do all of that, you also want to install lib32-mesa, xf86-video-amdgpu. You would use the following commands to install all of those if you are manually installing Arch.
sudo pacman -S mesasudo pacman -S lib32-mesasudo pacman -S xf86-video-amdgpuYou can also put the packages on one line with a space between each package. I just like to install things separately in case there is an error, it is easier to track down.
Now we need to see what video driver is being loaded. You will run the following:
lspci -k -d ::03xxFor me this resulted in the following:
This is what it should look like. Now when I ran it the first time, I received an error message, which told me that the incorrect driver was being loaded. So if you get anything other than the above, then most likely the amdgpu driver is loading. So the next step was to get that driver to load and run. It wasn’t as hard or as crazy as it might sound.
First I had to edit the mkinitcpio.conf file using the following:
sudo nano /etc/mkinitcpio.confIn this file you find the line
MODULES=(btrfs)and change it to the following:MODULES=(btrfs amdgpu radeon)making sure to put a space between each module name and making sure to putamdgpubeforeradeon. This line was also located at the very top of the file for me. You also want to make sure that thatmodconfis in theHOOKSline. You will have other hooks in there but ifmodconfisn’t listed then add it in the list so the line look similiar to this.HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)Now save this file and exit out of it.
Next we will be creating two new files in
/etc/modprobe.dfolder. Of course you will want to look in that folder to make sure the files don’t exist already, but I doubt they will, because they didn’t for me. You will want to do the following:sudo nano /etc/modprobe.d/amdgpu.confIn that file copy and paste the following:
Save the file and exit. Next you will create the following:
sudo nano /etc/modprobe.d/radeon.confIn that file copy and paste the following:
Save the file and exit out. So with AMD video cards they had two different versions. One from the Southern Islands and one from the Sea Islands. Whether or not they are actually from islands with those names I don’t know. I didn’t go that far into it. I just wanted my games to play appropriately along with other video stuff. So by doing this you are ensuring that whichever one you have will load properly.
Once you have all of this completed, then you need to recompile the files so everything loads properly. Enter the following:
sudo grub-mkconfig -o /boot/grub/grub.cfgOnce this is finished running, which it doesn’t take long. Then reboot your computer and then run the above command again:
lspci -k -d ::03xxAnd you should get an actual description like this that displays:
The Kernel driver in use should say ```amdgpu`` or which ever driver that should be loading for you. Some people will have an NVIDIA card. I believe that would be a whole other set of instructions and maybe not even as much work. I don’t know the answer to that.
So I hope this helps anyone in the future to get their video card working properly. To test that it was working properly, I am able to run American Truck Simulator with no issues, The Elder Scrolls Online with no issues, and of course Minecraft Java version runs even better now as well.