this post was submitted on 11 Feb 2024
248 points (84.3% liked)

Linux

48149 readers
599 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
248
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

I've been an IT professional for 20 years now, but I've mainly dealt with Windows. I've worked with Linux servers through out the years, but never had Linux as a daily driver. And I decided it was time to change. I only had 2 requirements. One, I need to be able to use my Nvidia 3080 ti for local LLM and I need to be able to RDP with multiple screens to my work laptop running Windows 10.

My hope was to be able to get this all working and create some articles on how I did it to hopefully inspire/guide others. Unfortunately, I was not successful.

I started out with Ubuntu 22.04 and I could not get the live CD to boot. After some searching, I figured out I had to go in a turn off ACPI in boot loader. After that I was able to install Ubuntu side by side with Windows 11, but the boot loader errored out at the end of the install and Ubuntu would not boot.

Okay, back into Windows to download the boot loader fixer and boot to that. Alright, I'm finally able to get into Ubuntu, but I only have 1 of my 4 monitors working. Install the NVIDIA-SMI and reboot. All my monitors work now, but my network card is now broken.

Follow instructions on my phone to reinstall the linux-modules-extra package. Back into Windows to download that because, you know, no network connections. Reinstall the package, it doesn't work. Go into advanced recovery, try restoring packages, nothing is working. I can either get my monitors to work or my network card. Never both at the same time.

I give up and decide it's time to try out Fedora. The install process is much smoother. I boot up 3 of 4 monitors work. I find a great post on installing Nvidia drivers and CUDA. After doing that and rebooting, I have all 4 monitors and networking, woohoo!

Now, let's test RDP. Install FreeRDP run with /multimon, and the screen for each remote window is shifted 1/3 of the way to the left. Strange. Do a little looking online, find an Issue on GitHub about how it is based on the primary monitor. Long story short, I can't use multiple monitor RDP because I have different resolution monitors and they are stacked 2x2 instead of all in a row. Trust me I tried every combination I could think of.

Someone suggested using the nightly build because they have been working on this issue. Okay, I try that out and it fails to install because of a missing dependency. Apparently, there is a pull request from December to fix this on Fedora installs, but it hasn't been merged. So, I would need to compile that specific branch myself.

At this point, I'm just so sick of every little thing being a huge struggle, I reboot and go back into Windows. I still have Fedora on there, but who would have thought something that sounds as simple as wanting to RDP across 4 monitors would be so damn difficult.

I'm not saying any of this to bag on Linux. It's more of a discussion topic on, yes, I agree that there needs to be more adoption on Linux, but if someone with 20 years of IT experience gets this feed up with it, imagine how your average user would feel.

Of course if anyone has any recommendation on getting my RDP working, I'm all ears on that too.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 129 points 9 months ago (6 children)

I read the first paragraph and saw your prerequisites included working with nvidia.

That is a non-starter, right there. You can blame Linux for a whole lot of little flaws, but most of the blame should go to your hardware vendor for providing shitty support for Linux.

[–] [email protected] 35 points 9 months ago (3 children)

Isn't most of the AI training work in the world done on Linux using Nvidia GPUs (in the cloud)? I guess it's a different use case...

[–] [email protected] 31 points 9 months ago

Probably dedicated vector/tensor coprocessors these days - which don’t have to work with your monitor layout or desktop setup!

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago) (1 children)

And it also sucks in the cloud. Depending on the scenario there might not be many alternatives, though. CUDA is pretty much the standard in machine learning.

[–] [email protected] 6 points 9 months ago (1 children)

ROCm has hints of adoption, but it's only just getting started.

Having spent the weekend trying to get it working on WSL2 for lulz, I can honestly say it's just not there yet. Most of the issue is that AMD cards aren't exposed properly through WSL, but it was worth a shot.

[–] [email protected] 2 points 9 months ago

Sure. But by the amount of adoption CUDA has, and the amount of GPUs / AI accelerators NVidia pumps out and into the datacenters of the world... AMD better hurry (and deliver an excellent product/ecosystem) or they won't be part of the AI boom.

[–] [email protected] 8 points 9 months ago

thats guiless.

x11 and wayland support (what matters for DESKTOP use) are complete garbage

[–] [email protected] 14 points 9 months ago (1 children)

Popos has out-of-the-box nvidia support that works great

[–] [email protected] 5 points 9 months ago (2 children)

Works with CUDA and RDPing on a 2x2 monitor grid?

[–] [email protected] 7 points 9 months ago* (last edited 9 months ago)

System76 (who makes popos) has their own CUDA repo for their NVIDIA implementation, but I don’t think it’s installed by default. So there’s a tweaked version to work on popos, but I’ve never tried it. From some cursory googling, it doesn’t seem to be too complicated to set up.

[–] [email protected] 9 points 9 months ago

I agree. The majority of my issues come down to the manufacturers. I even updated my BIOS to see if it would help with the ACPI issues, but no luck. Motherboard is 3 years old, so it's not like I'm trying this on brand new hardware either.

[–] [email protected] 8 points 9 months ago (2 children)

Non starter? As in you shouldn't use Linux if you have a nvidia gpu? I hope that isn't the take.

[–] [email protected] 7 points 9 months ago (1 children)

Microsoft is free to publish minimum requirements for Windows (TPM 2.0 for Windows 11, for instance), but you don't have that in Linux. You are free to throw it at any hardware you want, and it will mostly work out of the box.

But that depends on companies and volunteers working on the hardware support. Intel and AMD provide good support for their hardware. NVidia does not. You should act accordingly, either buying supported hardware or sticking to software that supports your hardware (Windows or Mac).

[–] [email protected] 7 points 9 months ago (1 children)

Its not totally wrong honestly. Nvidia is kind of bad and you can get a used AMD GPU for $100 bucks.

If you are using Nvidia use Linux mint or Pop os.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

It's totally wrong imo. Having a Nvidia gpu should not all stop you from using Linux. Granted I'm still on X and can't run AAA games but I have no issues with it otherwise. Running cuda happily along with everything else I need to build companies, create content, and consume media.

Or Fedora, or Arch, or a bunch of other distros because most all have solid support.

Edit: whole bunch of gamers out here

[–] [email protected] 3 points 9 months ago

"Nvidia, fuck you!" - Linus Torvalds