Linux News #001 "Patch all the COWs"

Linux News #001 "Patch all the COWs"

Imgur

In This Weeks News

GNOME dual GPU integration coming 3.24 F25/F26

Dual GPUs are a bit of a pain to use, more recently they've been less painful to setup but its still fairly manual. GNOME developer Bastien Nocera has been working to produce some tighter integration for using dual GPUs within GNOME. Essentially allowing you to right click > Run with second GPU on applications that support it.

Imgur

Its targeted for GNOME 4.24 but may be backported into 3.22 in Fedora 25.

On the note of switchable graphics, work has been pushing on for improved support of hybrid graphics and that should make its way into Fedora 25 (and subsequently other distros). You can read more about it here.

Along the same note, if you have a hybrid / dual-gpu laptop, you might consider helping out on the Better Switchable Graphics Support test day for Fedora. (@wendell @weskie)

AMDGPU-Pro driver release (16.40)

AMD have released a new version of their PRO drivers (16.40), this release now includes support for Red Hat 7.2 and 6.8 systems.

New in This Version

  • Provides support for
    • AMD Radeon™ R9 M485X
    • AMD Radeon™ R7 M465
    • AMD Radeon™ R7 M460
    • AMD Radeon™ R7 M445
    • AMD Radeon™ R7 M440
  • Install scripts for RedHat Enterprise Linux 7.2 and 6.8
  • FirePro Features (EDID Management and 30-bit color)

https://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver%e2%80%93Release-Notes.aspx

The pro drivers at the moment offer better performance and more features than the open AMDGPU drivers, however, AMD have been working pretty fast to incorporate more features into the open GPU stack.

On a personal note, I've been making use of the open drivers and found the performance to be pretty decent. You can expect big improvements with Linux 4.9 and Mesa 13 when they release soon.

"Dirty COW" privilege escalation vulnerability

CVE Ref: CVE-2016-5195

If you've not been living under a rock in the Linux world, you probably know about dirty COW by now.

This is essentially a 11 year old bug that was recently found to have an in the wild exploit, meaning all systems are potentially vulnerable until patched. It's not as scary as it sounds, an attacker still needs local access to the system, however its still a serious flaw.

An interesting positive side effect (depending on your perspective) is that this exploit essentially allows you to root any version of Android currently in existence.

I wont attempt to explain how it work except that it essentially loads a read only file into memory and exploits the way the kernel works with memory in a certain way to fool it into writing to the read-only file instead of a writable file your allowed to access.

Proof of concept code https://github.com/dirtycow/dirtycow.github.io/blob/master/dirtyc0w.c

This video gives a much better explanation and demonstration of how and why this exploit works.

Community Discussion:

Distribution Security References:

Gaming

Deus Ex: Mankind Divided

Imgur

A port of Mankind Divided from Feral will be released on 2016-11-03.

Feral did a live stream this week of the Linux build so you can check it out for yourself https://www.twitch.tv/feralinteractive/v/97437782

I've not much to say on this. It's expected to require a minimum of OpenGL 4.3, and will officially support Nvidia cards. AMD cards should work if you have the latest Mesa, Linux kernel, and LLVM.

I'm quietly exited.

Deus Ex: MD Feral Homepage

(and in case your wondering, this (like all Feral games) is a native port.)

Black Mesa Released on Linux (beta)

Imgur

Black Mesa has announced the release of a beta build of Black Mesa for Linux. You can expect there to be bugs, and yes, the game hasn't been finished yet. But Black Mesa is praised for being a great fan made re-imagination of the classic.

Black Mesa Steam Page

Dawn of War 2

Imgur

Released a couple of weeks ago, but in case you're not aware, the entire Dawn of War 2 series of games
has been released on Linux by Feral Interactive, and there pretty good.

Official support is for Nvidia and AMD cards. AMD cards need to support MESA 11.2.

Total War: Warhammer (coming soon)

Imgur

There's not much to be said here. This is another Feral port in the works, there's little information except that its coming.

https://www.feralinteractive.com/en/games/warhammertw/

Feral and Vulkan

Feral have hinted that they are planning to make use of Vulkan in porting games to Linux in 2017. Watch this space I guess?

The only games on Linux currently with some support for Vulkan (that I know of) are DOTA 2 and The Talos Principle.

Civ 6 on Linux? Maybe.

Imgur

Civilization VI has come out (yay) with no day 1 Linux support :'( Thats pretty sad, all's not lost though. Although not a concrete yes, Aspyr Media are at least seriously looking at Civ 6 on Linux

And I imagine unless there's a serious technology blocker, we will hopefully see it :)

We'll soon see if cookies help.

Community

Some notable guides from the community in the last week or so, they all revolve around AMDs AMDGPU stack on various distributions, go check them out if your using an AMD card.

AMDGPU for GCN 1.1 on Ubuntu 16.10

Author: @presserscrew

AMDGPU for Fedora 24/25

Author: @Eden

AMDGPU for Arch Linux

Author: @HimTortons

What would you like to see?

I thought this might be a good idea. Thoughts? I plan to try and up my writing stills a bit and include more detail, or do you guys like a short to the point fact and link to more info?

30 Likes

I smell a new segment for THE LAN show?

3 Likes

This.
Have had some topics in earlier ones but most haven't been in it so yesss..
@jajone4

1 Like

Since I'm seeing this on mobile, that is a proper wall of text

Mmmm yes indeed

4 Likes

Good read, I'll give the Fedora 25 a spin on my dual GPU laptop. It could fix the issues booting Maya and Mudbox, well at least Mudbox, hopefully. I'll post the results once I have a play.

2 Likes

me gusta this thread

2 Likes

Thanks for that. Nice walk-through video of Dirty COW. LOL! I think I like the Mad COW label better, too. :-)

1 Like

It'll be good to see. Like i said before, i've never had a laptop with dual GPUs so have simple never had experience with switcharoo/optimus etc. It would be good to see how its improving.

@kewldude007 @Cavemanthe0ne @Alamar feel free to grab any of the stories. The more we link back to community stuff the better imo :D

3 Likes

Instead of a segment on LAN maybe @Eden, some of the other smelly open source hippies and I do a small web series. "Forum Open Source Symposium" has a fun ring to it. Not sure if @wendell would be interested....

1 Like

I cant even begin to describe how awesome this post is.

It was so good I finally switched from debian (!!!) to fedora 25 on my asus laptop. Though I haven't compiled gnome from git yet as thats whats needed I think for the optimus thing? I literally just set it up yesterday so I havent done much.

12 Likes

You may find a bunch of the dual GPU stuff hit Fedora 25 now or on release. Im not sure on the timeline for the backport of the right click functionality into F25 though.

1 Like

Thank you Sir! That is amazing!

1 Like

Thanks. I'd love suggestions. I plan on 002 either next week, or i might try and do every 2 weeks.

...

(he saw :P he mentioned the dual gpu selection work on the stream last night as well )

What a fantastic thread :D

1 Like

Oh..nvm mb. That's what you get for skim reading whilst waiting for Black MESA to finish downloading :)

1 Like

I came back for this !

+10000000 thread !

2 Likes

off course you needed to go Beta, but am disappointing anyway you should have go for rawhide!
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/iso/

Would be cool to see a weekly Linux news thread.

8 Likes