News for hackers. Stuff that matters.
Re:I Will Never Use a Microsoft Account to Log Into My Own PC by GekkePrutser on Monday June 28, 2021 @07:16AM (#27660362)
I only use my Windows PC for gaming now, where it's kinda unavoidable.
Re:I Will Never Use a Microsoft Account to Log Into My Own PC by Freak_NL on Monday June 28, 2021 @07:26AM (#27660439)
Keep an eye out for games supported on Proton (Steam's Wine facilitation) on protondb.com. In a mere five years gaming on Linux went from a solid selection of native games, to those, plus an impressive amount of high profile titles that just work out of the box (often with better performance on Linux).

Of course there may be one or two titles that tie you to Windows, or perhaps multiplayer specific gaming related software, but if you are flexible in that regard gaming on Linux is just… good.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by checkyoursudo on Monday June 28, 2021 @08:10AM (#27660815)
My biggest pain point is that some of the mainstream multiplayer anticheat implementations don't work on wine. I'd like to be able to play Tarkov or Hunt or Apex on Linux, but I can't. So far, I have just not played those titles, even though I really want to. I don't really want to have to dual boot just to play them, because Windows 10 messes up my EFI booting. I used to run Windows with a GPU passthrough, but I stopped doing that once proton came along. Maybe I'll look at doing that again, though it was hell to set up on Gentoo at the time. Maybe other distros have smoothed that out a bit? It's been like 6 years since I did it the last time.

I know the wine guys have been doing great work trying to get anticheats working in wine/proton. Hopefully that progresses well. Getting anticheat to work in wine would really be the best.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by binarybanana on Monday June 28, 2021 @11:46AM (#27663390)
It's gotten much easier with Nvidia cards thanks to VM gaming being officially supported. No more hiding the VM and that Error 47 nonsense.

Basically you bind the graphics card to the vfio driver by writing the PCI ID to /sys/bus/pci/drivers/vfio-pci/new_id and then you can use it in qemu with -device vfio-pci,host=01:00.0.

If you have sane IOMMU groups and have an extra GPU for the host it should work with just those two steps. You still have to decide about how you handle input and output, but that's very user specific. Virtual input over the qemu GUI works well enough, there's also an evdev thing that lets you switch by pressing both Ctrl keys, or pass an entire USB controller. For audio I recommend scream[1] for the lowest latency (I get 2ms VM->PA->Speaker with MuQSS scheduler) with full 7.1 audio and if you don't want a dedicated monitor or switch monitor inputs there is Looking Glass[2] which captures frames and shuffles them to the host over shared memory. It also handles input via spice.

It's still a bit of work, but for me that's mostly on the Windows side rather than the passthrough stuff itself.

[1]: https://github.com/duncanthrax/scream [2]: https://github.com/gnif/LookingGlass

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by checkyoursudo on Monday June 28, 2021 @12:56PM (#27664358)
Thanks for the info. I appreciate that you took the time to write this. I think I will check out vfio passthrough again.

Something like Looking Glass looks cool. I definitely disliked having to switch monitor inputs back and forth every time, though that was just more of an annoyance than anything else, of course.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by maltalex on Monday June 28, 2021 @08:08AM (#27660798)
"just work out of the box" is an overstatement.

I ran Manjaro for about half a year recently, including using it for gaming. Very few games actually worked out of the box for me, including games with so called "native" Linux support.

I ran into multiple games with "official" Linux support that were simply broken or became broken by an update. Some of those that weren't broken had significant performance issues (that Windows on the same machine didn't have).

Is it possible to game on Linux? Yes. But at the very least it requires fiddling. As much as I love Linux, gaming is just a lot easier on Windows.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by leppr on Monday June 28, 2021 @08:44AM (#27661161)
Many Linux games are only tested on Ubuntu. I personally haven't had more issues running Linux native games on Ubuntu than Windows native games on Windows.

Playing games on Windows often requires fiddling as well. Either having to lock the mouse to one monitor, fiddling with V-sync and FPS limits (often only possible through graphics card drivers, launch arguments or text config files), disabling Windows malware scanning, fiddling with Windows compatibility settings for older games, ...

Admittedly I now dual-boot to Windows to play videogames, but that's not because of faults in native Linux games, just the reduced selection.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by maltalex on Monday June 28, 2021 @10:14AM (#27662243)
It's possible that some of the issues I ran into were due to Manjaro not being Ubuntu, but they could also have been due to drivers or some random setting somewhere in the system.

Plenty of people on protondb reported zero issues with the same games on their Manjaro/Arch boxes.

> Playing games on Windows often requires fiddling as well. Either having to lock the mouse to one monitor, fiddling with V-sync and FPS limits (often only possible through graphics card drivers, launch arguments or text config files), disabling Windows malware scanning, fiddling with Windows compatibility settings for older games

Maybe it's the type of games I play, but this is extremely rare in my experience. I don't remember the last time I had to fiddle with anything outside the game's own settings despite having a multi-monitor setup.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by axelroze on Monday June 28, 2021 @07:31AM (#27660471)
Steam Proton and Soldier runtime do wonders. I am playing Witcher 3 through it. Using mods. No lags or crashes.
Re:I Will Never Use a Microsoft Account to Log Into My Own PC by badsectoracula on Monday June 28, 2021 @07:45AM (#27660583)
The annoying bit with those is that they are Steam only. I try to avoid Steam and instead buy from GOG because they are DRM-free and i keep offline copies of all of my games, but Wine still (just tried yesterday the version Void Linux installs in a VM) seems to have issues even with slightly older games.

There used to be a way to run Proton outside of Steam but i think it is now discouraged.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by okamiueru on Monday June 28, 2021 @08:38AM (#27661086)
It's not impossible to run gog games through the proton compatibility layer of steam. In short:

1. Download gog install files into the same directory

2. Add the install executable as a non-steam game, and enable proton compatibility before starting it up.

3. Run the installer and complete the installation. Gog installers typically give the option to run the game from the installer, but that will only work once.

4. Find the path of the installed game, and the working directory of that executable by searching in ~/.steam

5. Edit the entry created from 2. with this exec path and working dir, and look up possible args from protondb.com

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by badsectoracula on Wednesday June 30, 2021 @10:24AM (#27688929)
This requires Steam to be there, as i wrote i try to avoid using Steam.
Re:I Will Never Use a Microsoft Account to Log Into My Own PC by marlowe221 on Monday June 28, 2021 @11:31AM (#27663184)
In that case, please give Lutris a solid look. It's a great app that eases the pain of installing games via WINE (and makes it easy to install particular versions of WINE on a per game basis).

It's how I run my GOG games on Pop OS.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by badsectoracula on Wednesday June 30, 2021 @10:26AM (#27688956)
Doesn't Lutris download and execute random scripts written by random people online? I'd rather avoid that and do it myself.

TBH i do not think things are completely unsolvable, it is just that i wish Proton, etc wasn't tied to Steam.

Re:I Will Never Use a Microsoft Account to Log Into My Own PC by steerablesafe on Monday June 28, 2021 @08:09AM (#27660806)
I have good experience with recent wine and dxvk too. I don't have steam.