Looking into Linux as windows is driving me BATTY - Questions

Hi all,

I have a system at home currently running windows (with a small partition containing the POP OS distro from System 76.

I have been having issues repeatedly with windows deciding it wants to sign me out and reboot my system.

This is system specs
Threadripper 3960x
6900xt
6800xt
5700xt X2
64gb ram
4tb NVME

What im using the pc for…

24 threads (numa node 0) is set to mine Verus Coin set at 1.2v 3.9ghz through ryzen master
12 threads are set aside for gaming
8 threads are set aside for my ark server (or valheim / 7 days depending on the months) and the remaining 4 do as they wish (running at 4.2ghz)
2x5700xt & 6800xt are Eth mining 24/7 with custom More Power Tool Settings
6900xt is eth mining when im not using the system

What id like to know is how hard is it going to be to achieve this in linux

Im using process lasoo along with bat files to set affinity of things, - is there a linux alternative to process lasoo ?
Im using the More Power Tool to set custom voltages & clocks of the GPU’s is there a way to do this in linux ?
Im using ryzen master to set the cpu core speeds (is there an easy way to set cpu cores in linux or am i better off setting it in the bios ? - i change the settings a bit depending on what workload i have)

Is Pop OS a good starting point to mess around / learn what im doing ?

Thanks very much everyone.

You can directly assign tasks via the command line. I have not used process lasso but my understanding is that it is a workaround to the MS Windows scheduler.

Yeah, it is a good starting OS. I would say that it has unseated Ubuntu as the beginner friendly OS with long term use growth too.

I am sure that you can achieve what you describe on GNU/Linux. How, that is going to take some researching. Basically, you are going to have to put in the effort to learn. Throw everything out the window because MS Windows != GNU/Linux

1 Like

It’s native to Linux the possibility to set thread affinity.

Yes, 100%

Don’t know, but there might be an utility out there that allows you to do so.

Yes, I think it’s very user friendly to start with and stable since it’s a Debian based. But I’m also not really sure if it’s gonna work because your system is very complex and might need some bleeding edge software to work properly. So give a try to a Debian based distro (PopOS, Ubuntu, Mint) and, if it looks like something requires more updated packages, move to an Arch based distro or Fedora.

1 Like

There is a tool being developed but you can do this natively in the sysfs directory. There are some scripts floating around on GitHub while the GUI tool is gaining feature parity.

2 Likes

CoreCTRL is the GPU gui if im not mistaken ?

POP OS is a Ubuntu Distro right ? and ubuntu is based off debain ?
Still slowly learning sorry :slight_smile:

2 Likes

Yes it is. I didn’t know if I needed to mention it or not because even sounding condescending, to me, it’s hideous.
No need to be sorry, ask away!

2 Likes

Well a slight update…
reinstalled pop OS, updated to the cosmic beta (because im a glutten for punishment?)
Seems like GPU drivers are functioning, trying to install corectrl without huge success for now (cant seem to add the
“sudo add-apt-repository ppa:ernstp/mesarc”
Steam is insatlled & my steam game library is visible.
Will work on things more tomorrow and update :slight_smile:

Ok back tounable to install corectrl :frowning:
Any help would be great ty
I am guessing its maybe due to the bea version of pop OS ?

dan@pop-os:~$ sudo add-apt-repository ppa:ernstp/mesarc
sudo apt-get update
Traceback (most recent call last):
File “/usr/bin/add-apt-repository”, line 363, in
addaptrepo = AddAptRepository()
File “/usr/bin/add-apt-repository”, line 40, in init
self.sourceslist = SourcesList()
File “/usr/lib/python3/dist-packages/aptsources/sourceslist.py”, line 273, in init
self.matcher = SourceEntryMatcher(matcherPath)
File “/usr/lib/python3/dist-packages/aptsources/sourceslist.py”, line 474, in init
dist = DistInfo(f, base_dir=matcherPath)
File “/usr/lib/python3/dist-packages/aptsources/distinfo.py”, line 270, in init
for line in _expand_template(dist_fname, csv_fname):
File “/usr/lib/python3/dist-packages/aptsources/distinfo.py”, line 73, in _expand_template
with open(csv_path) as csv_object:
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/share/distro-info/pop.csv’
Hit:1 http://us.archive.ubuntu.com/ubuntu hirsute InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Hit:3 http://apt.pop-os.org/proprietary hirsute InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu hirsute-security/main Sources [35.2 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu hirsute-security/main i386 Packages [35.9 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu hirsute-security/main amd64 Packages [86.9 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu hirsute-security/main Translation-en [24.9 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu hirsute-security/main amd64 c-n-f Metadata [1,676 B]
Get:11 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main Sources [54.1 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main i386 Packages [73.8 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages [141 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main Translation-en [38.2 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 c-n-f Metadata [2,472 B]
Get:16 http://us.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages [198 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu hirsute-updates/universe i386 Packages [174 kB]
Hit:18 http://ppa.launchpad.net/system76/pop/ubuntu hirsute InRelease
Get:19 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,098 B]
Fetched 1,078 kB in 27s (40.5 kB/s)
Reading package lists… Done
dan@pop-os:~$ sudo apt install corectrl
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package corectrl

Quick rant:

Summary

I was so confused when I heard a podcast yesterday with someone from System76 using the name Cosmic when a not terribly distant Ubuntu release was Cosmic. The current releases are the LTS based on 20.04 and 20.10 which will be end of life quite soon. No official 21.04 release yet. Plus Cosmic refers to their special blend of Gnome Shell, not a release name. Much confusion.
It seems all PPA’s have apt-get update which is redundant now that add-apt-repository updates automatically, and the -get part has been deprecated for years. It feels good to be a Mr. Complainy Pants Linux user, no wonder everybody goes online and tries to earn money whining like this!

They have 21.04 listed in the PPA, so it should be good to go even if though they haven’t released PopOS 21.04 yet. To remove the PPA you can do:

sudo apt-add-repository --remove ppa:ernstp/mesarc

Then to make sure it can update and upgrade without errors run:

sudo apt update && sudo apt upgrade

If that works, then just use the first line mentioned in the PPA to install since the last line is redundant:

sudo add-apt-repository ppa:ernstp/mesarc

I tried it all on my machine in Lubuntu and it worked without errors. If you get this far with no problems then you can install corectrl as you tried above. In the error above, It’s looking for pop.csv in /usr/share/distro-info. Mine has debian.csv and ubuntu.csv. Not sure if they just forgot to rename the ubuntu.csv to pop.csv (or if there is any difference), but that would be worth a shot.

Also:

Can confirm this game has been playing great for me on my little 2400G iGPU. It runs natively in Linux. Supposedly you can force Linux native games to run the Windows version using Steam Play/Proton, but I’ve never done this myself. It may be worth a shot if you have poor performance with any native Linux games in your Steam library. Steam Play/Proton has been really amazing for getting many Windows games working without having to fight with it.

1 Like

thanks mate :slight_smile: have corectrl and mangohud working now (rolled back to the not beta version of pop (no longer on cosmic)

im just working on AMD drivers using wendell guide, slowly learning :slight_smile: stuck on user permisions now trying to move files into a root owned directory !

2 Likes

Good luck with it! I was fortunate with my Vega graphics all I had to do was blacklist the Radeon drivers and that got rid of my issues. I’m too poor for graphics cards!

1 Like

it seems to be working, im jsut messing with proton now & ark (yay arks a dumpster fire at the best of times)

I am making slow progress though thanks all, im hoping to find a way to modify the GPU bios’s though of the cards that im going to try and mine on to make them as efficient as windows :slight_smile:

1 Like

well im definately feeling like a quitter now but im handing in the towel for now, the more i play the more things stop working…

Now my POP shop will no longer open, NO steam games will launch, my NVME’s drop out every reboot and need to be remounted and team red miner was throwing an error about no openCL found.

I will be back to it again oneday :slight_smile: thanks all for the help

Just remember, when you look into Linux, Linux also looks into you…

4 Likes

Maybe you should look into dual booting. You can boot into your mining desktop and then reboot into you productivity desktop.

I don’t mine but I have a productivity desktop (Debian SID) and a gaming desktop (ArchLinux).

1 Like

OpenCL needs to be installed separately.
You either have to install the proprietary AMD drivers with the OpenCL option (what I did) or install mesa-opencl-icd (never tried this, may or may not solve the problem).

1 Like

You should be able to run a hybrid stack that uses the proprietary OpenCL with the open source graphics stack.

In the end I found out why windows was being such a shit show, the script running team red miner to reboot the miner when a card dropped out or faulted was for some reason triggering windows to auto reboot itself in under 60 seconds !!!

48 hours strong now lol

1 Like

Wow. That is obscure. Nice find. Good find.

1 Like