edinbruh

joined 2 years ago
[–] [email protected] 2 points 2 days ago

It doesn't replace the editor, it creates a stream and opens it in your default text editor. When you write out, it saves the stream to an appropriate drop in file

[–] [email protected] 2 points 2 days ago (2 children)

Fstab is still there untouched, it's the temporary units files that get replaced at reload.

The mount program works as normally, if you edit fstab and then mount -a it will work as expected, it will just warn you that systemd is not aware of the change. It will reload it anyway at the next boot.

daemon-reload is not daemon-restart, it just makes systemd re-read the configuration to make it aware of the changes, but the services don't get restarted. Some services (e.g. nginx) can re-read their confuration without restarting, those services are also made aware of the changes when reloading and can be reloaded individually.

You can edit any systemd units using systemctl edit so you don't need to reload (fstab is not a systemd unit)

[–] [email protected] 3 points 2 days ago (4 children)

Fstabs gets converted into temporary unit files every time systems reloads config files (reboot or daemon-reload) so you can just keep using it like you always did. Actually it's the systemd suggested way to manage mountpoints unless you need something advanced that fstabs can't do.

[–] [email protected] 9 points 2 days ago
[–] [email protected] 0 points 2 days ago

Gambling society and its future

[–] [email protected] 20 points 2 days ago (6 children)

Systemd does one thing, it manages services, and does so reliably, without messing around with spagettified shell scripts, with a fuckload of options, and all of that easily is configurable by dropping in files without editing stuff that arrived from the package manager. Seems pretti "do one (complex) thing and do it well"

If you add other things built around it, it can do more. For example, if you install systemd-nspawn it can start and stop containers like it starts and stops services.

Other things that you think of as systemd are entirely separate things (like systemd-networkd) that are just built around systemd. You don't have to use them if you don't like.

On the other hand, you know what does not follow the Unix philosophy? The Xserver, which manages screens, graphic acceleration, input devices, printers, remoting, etc. And it doesn't even do it well

[–] [email protected] 2 points 1 week ago

The hardware still needs to be brought up and initialised. But the software is the real problem here. The kernel gets fully up in seconds, but then you have to initialize the rest of the OS

[–] [email protected] 43 points 1 week ago (3 children)

The pc ecosystem is modular by design. The kernel will figure out itself the available hardware, moreover there are only two major CPU manufacturers (in the pc space of course), which means you have only two platforms to support.

Mobile phones instead are not modular, they use SoC. While most common socs are from Qualcomm and mediatek, there are a lot more smaller manufacturers. Plus, even if most often they use the same reference design for compute cores, the rest of the soc is often custom and wildly different from others. All of this to say that the kernel needs to already know exactly how the specific soc of the device works, instead of figuring it out on the fly. Which is why you need to check compatibility.

The brick thing instead is because the bootloaders in these devices are usually very locked down, so sometimes you need to replace the bootloader with a more open one, with all the risks that this entails

[–] [email protected] 1 points 1 week ago

Did you solve this in the end?

[–] [email protected] 3 points 1 week ago

This is what Araki takes inspiration from

[–] [email protected] 3 points 1 week ago

Woe, brick be upon ye!

[–] [email protected] 4 points 1 week ago

Try checking the sampling rate in your pipewire config. It should be 48000. I don't remember exactly how to set it, check on the arch wiki.

Last time I had issues with digital audio that was it.

 

Reposting my question here to cast a wider net

 
 
 
 

I'm using sunshine for remote gaming on my Linux PC. Because I use Wayland and don't have an Nvidia I use kmsgrab for capture (under the hood sunshine uses ffmpeg).

I have noticed that I can enter tty and kmsgrab will capture it as well. If it just captured after logging in my user I wouldn't be surprised, but it also captures the login screen.

I autostart it at login using my systemd user configuration (not systemwide) so it should just have my user's permission level. I get the same results if I put it in KDE's autostart section, so it's not a systemd thing.

Why does that work? Shouldn't you need special privileges to capture everything?

The installation instructions tells you to do sudo setcap -r $(readlink -f $(which sunshine)) is this the reason why it works? What does the command do exactly?

 

SOTTR can now run in proton-experimental (it used to crash due to a missing vulkan feature), but how does it compare to the native version?

Normally I would just use the native version, but got the game from epic, which doesn't provide the native build. So if I wanted to run native I would have to acquire the game from other sources (keep in mind that I own the game on epic), which is less than ideal. But I wouldn't do it if there's no advantage.

 

SOTTR can now run in proton-experimental (it used to crash due to a missing vulkan feature), but how does it compare to the native version?

Normally I would just use the native version, but got the game from epic, which doesn't provide the native build. So if I wanted to run native I would have to acquire the game from other sources (keep in mind that I own the game on epic), which is less than ideal. But I wouldn't do it if there's no advantage.

 

Do you have an AMD aura GPU? Do you also use Linux? There's this this driver that needs to be tested.

It allows you to control the lighting of the GPU using programs like openRGB.

I wrote that PR that should make it work for more GPUs, but I only have an RX 480 so I can only test that one. It would be useful to try it on a Vega gpu.

If you have an rDNA 1/2/3 GPU, it most likely won't work, but without the card there's nothing I can do.

On a side note, if you are interested in maintaining the driver it would be great.

 

Detailed issue

Basically Kwin and other programs (simple xdg-desktop-portal or even gimp) crash and they bork the entire screen with no recovery other than rebooting. When the program that crash is Kwin it's particularly bad because it happens at login.

 

This is a short appreciation/user experience story. Tl;Dr I'm enjoying my time on linux

I have been using Linux for a while (gnome for a year with an Intel UHD gpu, and KDE for a couple of months on a recent AMD gpu), and till now there was no brightness slider. Moreover, I have used the same display with windows for several years and there was no slider as well.

As far as I know (I looked up online some years ago, but this info is sometimes hard to find) my display supports DDC/CI but doesn't expose brightness (haven't actually tried).

For some reason, about a week ago a brightness slider appeared on KDE but it didn't do anything. Yesterday while updating some unrelated stuff I noticed the slider again and moved it for shit and giggles, and the brightness actually changed...

I have several questions... and I don't even know which piece of software is responsible for this... but thanks

I have been using Linux on and off for several years, often alongside windows, but I have entirely switched to it (almost, I still have a windows PC that I use once in a while) about 16 months ago. I have to say that Linux does take a lot more effort in getting some things to work, but when everything goes smoothly it's sooo good, and improves every month.

In the span of a year my desktop experience has only got better. But the shock was when I booted up an Ubuntu 16.04 cd I had lying around to fix grub on a dual boot machine and it was barely usable. Now instead it's almost "plug and play". Plus Nvidia cards are getting more and more usable with every update, explicit sync is almost merged, and prime works fine already.

There won't be a year of the Linux desktop anytime soon (there's still too much that needs improvement), but the next years will definitely be exciting.

P.s.: does any of you know why display brightness works now?

 

I have a Nvidia gpu with the latest proprietary drivers, and I'm trying to play BAA from egs (using heroic) but physX doesn't work.

I have run the automatic winetricks (I don't know which ones because heroic doesn't tell) and I have tryed this also the environment variable PROTON_ENABLE_NVAPI=1, but it still doesn't run on the gpu, even if the message "no hardware physx detected" stopped showing.

And if hardware acceleration doesn't work, I get the same behaviour on arkham city, but the game runs at double the framerate, even if using the cpu. Would it be possible to get asylum to run like city? I have tried swapping some dlls but nothing.

 

I have a Nvidia gpu with the latest proprietary drivers, and I'm trying to play BAA from egs (using heroic) but physX doesn't work.

I have run the automatic winetricks (I don't know which ones because heroic doesn't tell) and I have tryed this also the environment variable PROTON_ENABLE_NVAPI=1, but it still doesn't run on the gpu, even if the message "no hardware physx detected" stopped showing.

And if hardware acceleration doesn't work, I get the same behaviour on arkham city, but the game runs at double the framerate, even if using the cpu. Would it be possible to get asylum to run like city? I have tried swapping some dlls but nothing.

view more: next ›