Skip to content

u/GuSec

In this archive from Apr 2017 to May 2017

0
posts
12
comments
0
media
37
score

Oh, I did not know that. Thank you! I've just assumed that this was required. The Wiki is a bit unclear (in my opinion) on this point, stating verbatim:

Install the xf86-video-amdgpu package. It provides the DDX driver for 2D acceleration and it pulls in mesa as a dependency, providing the DRI driver for 3D acceleration.

If this is the case I suggest a small edit!

0 points

Unless OP wants to utilize his RX580 for some GPGPU applications through OpenCL. However, then I would recommend opencl-amd from AUR (which I'm personally fully satisfied with on my RX480).

/u/netzdamon I hate to be that guy, but I recommend you to read the Wiki. In there you can find the AMDGPU article which mentions xf86-video-amdgpu if you want 2D acceleration in Xorg.

Other than than you have good instructions on how to set up video acceleration (for e.g. VLC, Firefox) with VDPAU or VA-API (or both) in this article. Just keep in mind that you must activate this in about:config in Firefox since it's off by default.

If you plan on using OpenCL (your card is very good for e.g. cryptomining or rendering) you can install opencl-amd from AUR as well. Otherwise you do not need any proprietary drivers at all.

The reason all this is optional is because AMD provides good open source drivers already in the linux kernel. This is what's called AMDGPU. They're a good bit better in Linux 4.11 than 4.10 though (see Phoronix for benchmarks) and some warnings at boot has disappeared for me in 4.11. AMDGPU-PRO, which is an additional layer on top of the open drivers, is not recommended since Arch is too bleeding edge for it (you would have to downgrade Xorg and Linux); It's really only meant for release-based distros such as Ubuntu. AMD has also implied that this proprietary situation is temporary only and that features will be migrated to AMDGPU as time goes on.

Have fun with your new card! If open source matters a lot to you, you made the right choice (over nvidia) and if you don't care about additional features (acceleration, OpenCL) no further action is really required.

Oh yes, if you want fan control you can check out radeon-profile. See comments in this thread. Overclocking can be done through ROC-smi from Github.

4 points

Did you remember to enable the daemon service (or at least start it)? Otherwise you need root privileges.

Furthermore, you might be interested in ROC-smi (just clone it and execute the script, after vetting it as usual) for manual control via CLI. Both these solutions work for me.

If nothing works, you might want to check the sysfs files manually. You should find them in /sys/class/hwmon... (Just dig around and get comfortable; You also have the same files in, I think, hwmon subdirectory under card0 under /sys/... somewhere). The fan speed should be called pvm1 and take values between 0-255. Just echo your desired test speed there as root.

By the way, if you have the passion for overclocking I would love to hear if mclk_od (memory clock overdrive) works for you. I've only ever succeeded (even on 4.11) with sclk_od (GPU clock overdrive), and am currently resorting to flashing a custom VBIOS just to go above stock 2000 (which many cards are perfectly happy with).

Happy fan tuning!

4 points

I highly recommend giving GNOME a try, it's generally more polished DE than XFCE and with Ubuntu ditching Unity it becomes a default DE for few most popular distros.

It's also an entirely different DE so I wouldn't recommend it as an alternative to XFCE. They certainly focus on two different niches. I say this as both an XFCE user (old hardware) and GNOME user (primary, new computer).

2 points

I personally use cower and am quite happy with it. Just run -du or -duf to download the updated packages (and only the updated packages) in one go and then cd into it and do makepkg -sic as you normally would. Why anyone would want to manually download each source separately I do not know.

Maybe if you only have one or very few AUR packages? You would however still have to manually check for an update...

1 points

This seems to be in line with what was written by Daniel on the mailing list here. Quoting relevant paragraph here:

A small subset of the kernel self-protection features have landed upstream as part of the Kernel Self Protection Project. The core/linux package doesn't enable the bulk of these features, and it probably doesn't make sense for it to turn everything on because a subset of them do have a significant performance cost. It would be possible to provide a linux-hardened package doing that but it would only offer a tiny portion of the kernel self-protection that grsecurity does. I may end up doing that, along with enabling support for all of the LSMs, etc. there but it's really not at all comparable to what has been lost. The LSMs are also little good without people working on providing userspace integration and policies for them.

This is good. Sure, it's not a full replacement but it's something. I'm however not confident enough in my limited understanding (in what the specific options in the kernel build does) to expand more.

Maybe someone with more knowledge can expand on how running this kernel would secure us and what the cost is?

7 points

It's truly a shame and particularly easily felt on Arch where we don't have official SELinux support (which provides only little, compared to grsecurity, anyway).

I really hope this'll awaken some interest and attract some good competence to the KSPP, but I'm only vaguely optimistic. I also hope GrSec won't react as defensively if that were to happen but be interested to cooperate for a better future; However, they do have a revenue model to think of.

One might critize the paranoia of turning to hardening, performance and compatibility hurting patching (grsecurity wasn't that mainstream used after all). But, in a world where 0-days are sold to the highest bidder it's truly difficult to be secure on quick security fixing only. The kernel is so complex and the attack surface not insignificant. Surely, a lot of agencies and well funded adversaries do, right now, have stockpiled some as of yet publically unknown vulnerabilities granting them the potential to get in.

I really hope for a more security focused future for mainline Linux. Does anyone know of any good documentation on what is worth activating in a custom build of the mainline kernel right now? The KSPP doesn't have a lot of information out there unfortunately.

Where can one turn to follow the KSPP's work?

13 points

Yes, it did. I've heard reports of steam being affected as well as some GPU mining software. There's probably a lot of other applications expecting linkage to 1.0.0 out there.

Reminder: You might need to set LD_PRELOAD to point to the compatibility packages with 1.0.0, before starting the affected application, if you install them.

1 points

Honestly, I think the feature I miss the most after dropping it and returning to bash (my customization was getting ridiculous) is stuff like =(command) as an alternative to <(command). I mean come on, how useful isn't this? Loads of software does like to lseek the output! Also, what if the program doesn't handle a FIFO properly? Sometimes you just want an ordinary, temporary, file.

Then there's some clever regex I really enjoyed when I was to lazy to write a loop, etc. So syntax mostly. Sure, intelligent and interactive autocompletion, easy Git repository monitoring (the current branch name and status at the right!) and freaking real time syntax highlighting is all really cool, but it's the powerful short oneliner syntax I really miss the most.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.