Skip to content

u/TingPing

In this archive from Aug 2014 to Feb 2020

0
posts
1.3k
comments
0
media
4.4k
score

History lesson. XSettings is how applications (various toolkits) got settings on X11, it was a global daemon that notified applications of changes. With the move to Wayland an X11 protocol doesn't work, DConf just happened to already be in use by GTK and was the natural replacement as it had nearly the exact same behaviors and features.

The config file has not been the primary place to configure GTK for like a decade and was just a fallback.

1 points

The keyfile backend does blocking IO. So its very possible that writing a setting literally locks up a graphical application for a second, its bad...

DConf can easily expose all settings as text and the tools are fine. I think its a lame excuse to be against it personally.

1 points

I mainly sandbox applications like browsers, thunderbird, irc-clients etc. Would you say flatpak is a good fit for that?

There is already a Thunderbird flatpak but I believe its a complicated application to sandbox. A few IRC clients are also already flatpaked like HexChat. Browsers are complicated because they already sandbox themselves so like Chromium doesn't quite work yet (will very soon) and honestly its good enough in its own sandbox. A few Firefox flatpaks exist but none are that well supported but they can work well with a bit of love.

3 points

I did some quick digging and I couldn't find any information that pointed to the security issues beeing resolved, all I found was a few sources stating the issues, but all of these are at least 2 years old.

Known exploits have been fixed when found but the fact its still an overly large suid binary have not been resolved.

Depending on your needs flatpak is an alternative. It provides unprivileged sandboxing, DBus access filtering, and is just all around less complex to configure correctly (secure by default); However it does lack X11 sandboxing if you need that.

4 points

Chromium dropped all gconf usage quite a while ago, so it sounds like spotify simply isn't getting updates, but if it ever does it will go away.

3 points

Yeah, I've heard that the kernel already includes the best driver for AMD, so what's the point of xf86-video-amdgpu then?

Legacy driver that existed before the modesetting driver did.

Also, I'm not exactly sure what the difference is between OpenGL and VDPAU/VA-API. I know that OpenGL is an API so I guess the latter is too. Particular software use OpenGL or Vulkan while others use VDPAU or VA-API, I suppose.

OpenGL is an API for 3D graphics as is Vulkan. VDPAU/VAAPI are both APIs for decoding and presenting videos, there are multiple of these because companies suck at standards.

6 points

Not really...

xf86-driver-amdgpu is here: https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/log/

As you can see it has very little activity and is maintained by a single Red Hat employee these days. (The story for Intel is the same.)

modesetting is in Xorg: https://gitlab.freedesktop.org/xorg/xserver/commits/master/hw/xfree86/drivers/modesetting

As you can see its more active and is contributed to by more people including more than 4 Red Hat folks, Collabora, etc.

Upstream XOrg did already prioritize modesetting a while ago and nobody is focusing on out of tree drivers beyond the most basic of maintenance. Distros have mostly also been on board this change and ship modesetting by default.

9 points

Just curious, is their any case why would someone not using a modesetting driver (in general not amd specific. Not even an amd user)

There are some features that vendors develop in their driver before it is supported more generically. The last one I know of was Freesync support. As time goes on and Xorg becomes more and more in maintenance mode I suspect this will stop.

I feel that upstream xorg should drop these drivers although I want some more info on legitimate use case before trying

These drivers aren't in tree so they have their own maintainers.

8 points

xf86-video-amdgpu for 2D acceleration (videos, window movement on desktop, etc.)

This is optional, the default modesetting driver (comes with Xorg) is often recommended.

Isn't 3D acceleration by mesa and accelerated video decoding by libva-mesa-driver/mesa-vdpau the same thing, as in they're both utilising the GPU instead of the CPU? If not, what's the difference?

They both use the GPU yes. No there is nothing else about them that is the same. One implements OpenGL, one implements VDPAU.

19 points

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.