News for hackers. Stuff that matters.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by danielscrubs on Wednesday June 03, 2020 @05:05AM (#23401459)
Graphics drivers and WiFi drivers never worked without significant pampering for me in Ubuntu, and I've been using Linux for 15 years. Just last week I updated my working Nvidia drivers for my RTX 2070 card via Ubuntus GUI and lo and behold after restart the screen is just black. It's at a point where I just want it to get a working system and never update it, security and performance be damned.

I know how to fix it because this has happened with pretty much all graphic cards I've had, I'll have to go into and mess with the grub config, make it run in safe mode, restart, try another grub config, restart, find out it doesn't work, run safe mode and reinstall the old drivers, cross my finger and wonder where my Saturday went.

Gentoo was the most reliant by a long shot (maybe for the simple reason it always asked if it should replace my config), but that is a time sink in whole other league.

Have heard good things about Fedora lately, but I dread throwing away the Debian knowledge I amassed.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by Lio on Wednesday June 03, 2020 @05:17AM (#23401507)
I guess it’s all about choice of hardware now. If you use components designed to support Linux life will be pretty smooth. I’m sure someone will point out the nvidia has a reputation for being linux hostile which does limit your choice a bit.

Currently running Fedora on an XPS13 Dev edition laptop.

Wayland, Gnome and Firefox are working together very nicely.

Mixed HiDPI with standard seems to be solved now. I’ve seen the odd glitch where an app gets confused as you move from one screen to another but overall very good.

Trackpad latency is improving but still not quite perfect. The fact that it’s close and constantly improving though makes me very positive about using Linux in place of my MBP full time.

I actually miss the Gnome window management shortcuts when I move back to my Mac.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by teruakohatu on Wednesday June 03, 2020 @05:31AM (#23401584)
Has Wayland figured out how to allow users to take screenshots? I would like to switch to Linux/Wayland from my mac but I need to share screenshots with co-workers.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by Vogtinator on Wednesday June 03, 2020 @05:39AM (#23401622)
I've been using the Plasma Wayland session for quite some time now and screenshots have been working fine basically from the start and some time ago screensharing with pipewire got implemented. Chromium and krfb support that, so both WebRTC and VNC work as expected.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @05:49AM (#23401682)
You can take screenshots under Wayland, you just can not use random X11 tool that you were used to.

All Wayland compositors come with some tool, that can take screenshots.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by RMPR on Wednesday June 03, 2020 @11:58AM (#23404879)
The real issue is the clipboard which gets cleaned after closing the Window from where you copied.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @02:06PM (#23406597)
I would guess that the format negotiation for clipboard data has something to do with that. You cannot negotiate when the originating app is not there anymore.

But then, is it a real problem? I understand, that some users might be inconvenienced by that, because they got used to it in their workflow... but is it really a showstopper?

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @05:29AM (#23401571)
> Graphics drivers and WiFi drivers never worked without significant pampering

> my RTX 2070

I still do not understand, why you folks with Nvidia hardware expect it to work out of the box in Linux, when there have been two decades of experience that Nvidia doesn't care about that and won't allow anyone to do anything with that.

So no, your RTX won't work as nice OOTB as Intel and AMD GPUs do. It will continue to be the case while you continue to give them money for them ignoring you.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by fungi on Wednesday June 03, 2020 @05:37AM (#23401608)
Unfortunately AMD doesn't really compete in the machine learning space. Hopefully one day ROCm will offer a viable alternative but until then we are pretty much captive.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @05:45AM (#23401657)
If you really need nvidia so badly, put that GPU into headless machine, where you don't need any UI.

Otherwise, you will be frustrated on desktop and it still won't work out of the box.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by beojan on Wednesday June 03, 2020 @05:56AM (#23401710)
Or just use integrated graphics for the desktop, and reserve the GPU for GPGPU work.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @06:05AM (#23401766)
Yes, that would be an option too.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by Havoc on Wednesday June 03, 2020 @06:19AM (#23401842)
>put that GPU into headless machine

Possibly one of the saddest solutions ever proposed. Besides then one can’t game on it

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @06:56AM (#23402024)
The original argument was the need for CUDA. It works headless, no sadness about that.

What is sad, is to reward Nvidia with your money despite being full aware, that they don't want you to have a nice Linux experience as the other vendors do.

Muh games fps is just a nail in the coffin.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by disgruntledphd2 on Wednesday June 03, 2020 @08:11AM (#23402472)
Nvidia do care about Linux. Almost all of their cloud/AI sales run Linux. So CUDA normally works, but the graphics drivers themselves are crap.

If I were to specify a system most likely to "just work" with Nvidia, I'd probably go for whatever version of CentOS FB, Google and Amazon use internally.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @02:07PM (#23406614)
As you wrote, they might care about their cloud and AI sales, but for linux desktop and OOTB experience? If they do, they hide it very well.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by washadjeffmad on Wednesday June 03, 2020 @07:38PM (#23410424)
With VFIO on KVM, you can. You can make your own Stadia with actual games that way with a raspi running SteamLink.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by danielscrubs on Wednesday June 03, 2020 @08:02AM (#23402410)
Pretty much
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by thdrdt on Wednesday June 03, 2020 @06:22AM (#23401859)
I am not sure what you are talking about.

The Nvidia drivers provided by Nvidia work great. In Blender I got full CUDA support and even RTX raytracing support (RTX 2070 Super).

And as far as I know developing with the CUDA toolkit just works fine.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @06:58AM (#23402034)
> I am not sure what you are talking about.

Literally the parent post, emphasis mine:

> Graphics drivers and WiFi drivers never worked without significant pampering for me in Ubuntu, and I've been using Linux for 15 years. Just last week I updated my working Nvidia drivers for my RTX 2070 card via Ubuntus GUI and lo and behold after restart the screen is just black.

So which is it?

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by thdrdt on Wednesday June 03, 2020 @08:08AM (#23402448)
I was commenting on "I still do not understand, why you folks with Nvidia hardware expect it to work out of the box in Linux"

It does work out of the box for most people. Of course there are people with problems. But overall you can expect Nvidia to work out of the box. There are loads of people gaming (Steam) and CUDA programming on Linux boxes. So I don't understand why I should not expect Nvidia to work on Linux. To me it just sounds like a false statement.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by vetinari on Wednesday June 03, 2020 @02:35PM (#23407005)
Once upon a time, when I was waiting for the delivery of the just-announced AMD Vega - which took a while, due to interest miners had in AMD GPUs at the time - I had a loaner GTX1080.

I can tell you, it was not something that worked OOTB. Distributions that shipped Nouveau at least did boot into GUI, but since I have 4k display, it was extremely slow. Unusable slow. It is not due to Nouveau not trying; they couldn't ship the signed firmware files they needed for reclocking.

So after switching to lower-resolution mode, I was able to install the system. Then I could install the proprietary driver. Aside the fact that it ignores Linux APIs/doesn't play nice with Wayland (what would you say about driver for Windows, that ignores WDDM and instead ships it's own display server?), it worked quite nice... until the first kernel update. So yeah, DKMS took the care about rebuild, it just took extra time at the first boot with the new kernel, and I could only hope that the new kernel doesn't break whatever building the shim expects, leaving me with a text console and taking next hour or two for me fixing it. Or that something else breaks, like that nvidia update, that killed X server in the process, which took down the terminal with yum that was running that update, resulting in me spending about two hours fixing the resulting mess. Another downsides were that I had to install compiler tools (which I usually do not have installed, or at least not outside of containers) and telling bye-bye to Secure Boot. So yes, it works, if you tinker. Not the kind of tinkering because you are in the mood, but the kind of tinkering that you have to, because something broke again.

Contrast that with AMD or Intel cards: they work out of the box with any modern distribution. You don't have to install anything; everything needed is already part of the distro. You can also update your system without fear, that something breaks, the updates come with your system updates, modules are signed by your distro and load in Secure Boot mode. Wrt. drivers, it is a Mac-like experience, you can forget that anything called drivers exists, stuff just works. It is something I can give to my parents, leave updates enabled and still be assured, that it won't break exactly at the time I cannot visit them and fix stuff for them.

And it is something that the Linux community can't do anything about. Nvidia keeps their cards close to the chest and won't allow the community to improve the situation. There's a reason why Linus has shown Nvidia the finger.

So in the closing: unless we two have vastly different ideas about what works out of the box means, no, Nvidia doesn't work out of the box. All the people gaming and running CUDA with Nvidia have to tinker.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by rkangel on Wednesday June 03, 2020 @05:34AM (#23401597)
My approach to Linux laptops:

* Buy Lenovo

* Have integrated graphics (i.e. Intel)

* Run Fedora

This combination has, for a few years now, given me excellent reliability 'out of the box'. I don't have to do anything and everything from the fingerprint scanner to the wifi Just Works. There's still a bit of a battery life penalty compared to Windows, but it's not enormous.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by easytiger on Wednesday June 03, 2020 @06:38AM (#23401934)
This has been a source of much consternation. Basically want a 15" x1 Carbon without any of the complications of the dual GPU laptops. But no one seems to make it. I guess to push margins up they force higher prices on larger laptops as they become more "niche"
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by smichel17 on Wednesday June 03, 2020 @08:35AM (#23402633)
I ran into the same issue when I was in the market for a laptop a year or two ago. In particular, it's difficult to find a 15" laptop with a 1920x1080 matte screen that doesn't have a dual gpu setup. I was also looking for something that wouldn't break the bank.

I ended up getting an ASUS f510ua (cheap variant with a 1TB 5200rpm hdd) and adding a 256GB m.2 ssd for my boot drive. 8GB ram and an i5 8250U. Found a deal on the laptop so the total cost ended up ~$600 USD, although I think m.2 ssds are cheaper now. I've been pretty happy with the performance; it's just enough to comfortably do Android dev (I use vim though, not Android Studio).

The aspect I had to compromise on was build quality. The body is plastic and especially the screen has little reinforcement to bending specifically. It's not completely flimsy but I don't like carrying it around open in crowded/public spaces where it's more likely I'll bump into something and I wouldn't bet on it surviving a fall unscathed (my previous laptop, a Dell XPS 14, did exactly that, from college dorm bed to uncarpeted floor). It has also grown a single dead pixel, that I don't notice in regular use.

I expected the build quality going in, and overall I'm pretty happy with the purchase. I used it for 8+ hours daily for 9 months when I was separated from my desktop.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by easytiger on Thursday June 04, 2020 @04:05AM (#23413944)
Interesting. I was considering a more budget end laptop but was worried about the build quality.

When I try most laptops in shops they feel terrible to be honest.

My first laptop was an Asus. To be fair it was as well speced as laptops 2 years later but the screen bowed in the middle.

How's the keyboard on those Asus laptops?

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by panpanna on Wednesday June 03, 2020 @05:31AM (#23401579)
Ubuntu has been plug and play for me the last 4-5 years.

It even supports devices no longer working on Macs and windows without any user interaction.

Of course, high-end nvidia boards seem to have all kind of problem. Stay away from Nvidia if you are a Linux user.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by thdrdt on Wednesday June 03, 2020 @06:14AM (#23401816)
Some days ago I installed Ubuntu on a system with a RTX 2070 super. There were no problems at all with the Nvidia driver.

But it was a kind of miracle it worked out of the box. Because before that I had to manually fix the Wi-Fi driver.

Hardware changes sometimes turn into a hell on Linux (Ubuntu). But I still won't go to Windows or MacOS. I just like the freedom of Linux. And when things are working, most of the time they keep working. On an other pc I have over 6 years of Ubuntu upgrades and it is still running fine.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by simion314 on Wednesday June 03, 2020 @05:41AM (#23401632)
About your driver upgrade? Did you installed a driver PPA and installed some driver that was not guaranteed to work or it was a Ubuntu bug, you did your regular updates (no PPA) and it broke your system?

I also had this issues because I wanted to try newer drivers, it is expected if the new driver does not work I go in terminal and install the previous working version. I personally prefer how easy is to test different driver version in Linux while in Windows I needed to make an account to upgrade my NVIDIA drivers(maybe you can avoid creating an account I am not 100% sure but at that time I was dual booting to play some game and I did not had a weekend to spend o how to upgrade my drivers without an account ... in the end I could not solve the issue where Oblivion had a black screen and I played it with Wine in Linux)

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by gerdesj on Wednesday June 03, 2020 @05:45AM (#23401656)
"Gentoo was the most reliant by a long shot (maybe for the simple reason it always asked if it should replace my config), but that is a time sink in whole other league."

I think I can see Arch showing off a bit of ankle at you. Think of Arch as a bit like Gentoo without the burning lap.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by h91wka on Wednesday June 03, 2020 @06:08AM (#23401777)
I have used both Arch and Gentoo, and the only similarity between them is steep learning curve. They are based on completely different tech (pacman vs. portage, systemd vs. openrc) and philosophy, they pursue completely different goals and solve different problems (or, rather, I hesitate to give a quick answer what problem does Arch solve, unlike Gentoo that gives the ability to customize the system all the way down, for a hefty price, of course).
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by blaser-waffle on Wednesday June 03, 2020 @09:56AM (#23403365)
If I was still in college I'd be trying to trick out an Arch build and post screenshots of my hyper-cool DE. But now I'm a fatass network engineer and I don't have the desire to spend an iota of energy doing config work outside of actual paid work. Ubuntu and Fedora just work, and only require a heafty apt/yum one-liner to make everything work. Arch is awesome -- the Arch Wiki is useful even for non-Arch users -- but ain't no body got time for that.
Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by gerdesj on Wednesday June 03, 2020 @06:55PM (#23409949)
I'm a company director (MD) and I do not spend much time fiddling with my gear. I expect it to simply work and it does. I document my builds/configurations in both my corp wiki and the Arch wiki (stuff that is generic.) On a Fri afternoon I run "yay -Syu" and reboot. I deploy Ubuntu minimal for servers. I document those as well.

My personal systems are not exciting. I login with Active Directory creds and I have an Exchange account for email. I just happen to have multiple CAD apps available and lots of other stuff out of the box. When I update my PCs/laptops the whole lot update and off I trot. I get the occasional bit of breakage but because Arch is rolling it is only a small problem at a time and not a massive total meltdown.

I'm 50 next year - I studied Civ Eng at college. I am a fat ass PHB and sysadmin all in one package. I should also point out that my company is running reasonably happily despite SARS-CoV-2, so I think me and my two partners have done a reasonable job of the PHB thing. We still have all of our 20 employees and expect to come out with a (low n) £n00,000 loss on the books due to a virus. Happily we had >£n00,000 in the bank before hand to deal with unforeseen cash flow snags because we are boring and like to sleep at night.

To summarise: Don't diss Arch (or Gentoo) as a silly ricer distro. If you approach a problem with a true engineer's attitude and an open mind then unlikely solutions can arise. Also, keep some cash under the mattress for a rainy day.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by fungi on Wednesday June 03, 2020 @05:34AM (#23401599)
Thanks Nvidia. There is little Linux can do with out sacrificing a lot (principles and technical).

It's a pita, _hopefully_ one day AMD and ROCm will be a viable alternative.

Re:Lenovo to Certify ThinkPad and ThinkStation Workstation P... by mssdvd on Wednesday June 03, 2020 @05:19AM (#23401521)
Nowadays systemd distros like Fedora and Debian are quite similar.