GnuLinuxDude

joined 2 years ago
[–] GnuLinuxDude@lemmy.ml 2 points 9 months ago (1 children)

I know that it’s not their fault, it’s the small size of the team

This part is directly Telegram's fault. If they cannot keep up with their moderation queue then they need a bigger moderation team. Preferably properly remunerated. There are news reports about how Facebook's sub-contracted moderators work for these extremely shitty companies who track them based on how many reviews a minute they do, and which causes extreme psychological damage to the workers both because of the extreme content they have to see as part of their jobs and the bad working conditions they must put up with.

[–] GnuLinuxDude@lemmy.ml 12 points 9 months ago

I don't even watch Anime but I still get bummed when news like this hits.

[–] GnuLinuxDude@lemmy.ml 8 points 9 months ago (1 children)

This company has already laid off a bunch of employees, too.

[–] GnuLinuxDude@lemmy.ml 15 points 9 months ago

The only charitable read of this is the end-user bypassing controls on company-supplied computers.

Of course that doesn't mean that they won't also shove secure boot, hw lockouts, DRM, etc on regular consumer laptops as well.

[–] GnuLinuxDude@lemmy.ml 2 points 9 months ago

seeing your post then this scumbag back to back really hits...: https://lemmy.ml/post/19412006

[–] GnuLinuxDude@lemmy.ml 1 points 9 months ago (2 children)

Try running a command like vulkaninfo --summary.

Then try running VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json vulkaninfo --summary (alternatively, just try running whatever else it is you use that reports you only have lavapipe available). See if there's a difference and if it finally reports the hardware being used.

[–] GnuLinuxDude@lemmy.ml 5 points 9 months ago (3 children)

I'm not a Mint user but according to this page https://www.linuxmint.com/rel_wilma.php

  • Run the Driver Manager
  • Choose the NVIDIA drivers and wait for them to be installed
  • Reboot the computer
[–] GnuLinuxDude@lemmy.ml 1 points 9 months ago (4 children)

What is the GPU?

[–] GnuLinuxDude@lemmy.ml 3 points 9 months ago (13 children)

Vulkan drivers come as part of Mesa, which would already be part of Linux Mint. Unless you have an Nvidia GPU, or a GPU that's somehow too modern for Mint 21.3.

[–] GnuLinuxDude@lemmy.ml 35 points 9 months ago (1 children)

Why should they stand down? So that Israel can keep assassinating people in Iran’s territory with impunity?

[–] GnuLinuxDude@lemmy.ml 3 points 9 months ago

Comedy is legal on Twitter again

[–] GnuLinuxDude@lemmy.ml 14 points 9 months ago* (last edited 9 months ago) (1 children)

https://www.whitehouse.gov/briefing-room/statements-releases/2024/07/25/statement-by-vice-president-kamala-harris-3/

She literally implied Jewish Americans protesting in DC were associates of Hamas and further implied they're Anti-Semites. This was just two weeks ago when Netanyahu was at the Capitol giving a speech to his clapping seals (a record number of standing ovations for genocide). What the fuck are you on about?

Mind you, we are talking about Kamala's statements. Not a random group's that nobody's ever heard of.

 

Huge improvements for AV1 users over the last stable HandBrake release.

 

The way they talk about it makes it sound like they invented the written word, but that notwithstanding the fonts actually look really nice in my opinion.

 

I think with the weight of Apple finally behind AV1 it is as blessed of a format as anything can be. Sisvel be damned.

And, a new media engine now includes support for AV1 decode, providing more efficient and high-quality video experiences from streaming services.

I do not see AV1 encode support on this chip's announcement, however.

 

There are a lot of good improvements and fixes in this release. As a remorseful Nvidia on Linux user, I am extremely excited that GAMMA_LUT is finally making its debut in the Nvidia driver. This means I can actually try to use Gnome Wayland at night with the night shift feature, assuming other Wayland issues are also resolved.

 

It is licensed under GPLv2

 

Say I define different contexts or workspaces. So in my address bar I can type work and it will open up 5 pages that will be associated to that keyword. Then I can type bored and it will open up my 4 defined pages associated to that keyword.

I am NOT asking about pinning pages to the start/home page, and I am NOT asking about loading websites when Firefox starts up (because I don't want to always load the same things every time I launch ffox). I am also not asking about pinning tabs.

 

Some context about this here: https://arstechnica.com/information-technology/2023/08/openai-details-how-to-keep-chatgpt-from-gobbling-up-website-data/

the robots.txt would be updated with this entry

User-agent: GPTBot
Disallow: /

Obviously this is meaningless against non-openai scrapers or anyone who just doesn't give a shit.

 

tl;dr question: How do I get the Handbrake Flatpak to operate at a high niceless level in its own cgroup by default? I'm using Fedora Linux.


So if I understand things correctly, niceness in Linux affects how willing the process scheduler is to preempt a process. However, with cgroups, niceness only affects this scheduling relative to other processes within a cgroup. This means a process running with a high niceness in its own cgroup has the same priority as other processes in equivalent cgroups, and it will not in fact be preempted in a way one would expect.

So why does this matter to me at all? I have a copy of Handbrake installed from Flatpak. And sometimes I want to encode a video in the background while still having a decently responsive desktop experience so I can do other things, and basically let Handbrake occupy the cpu cycles I'm not using. Handbrake and the video encoding process should be at the bottom priority of everything to the maximum extent possible.

But it does not appear to be enough to just go into htop and set the handbrake process's niceness level to 19 and then start an encode, because of the cgroup business I mentioned above.

Furthermore, in my opinion Handbrake should always be the lowest priority process without my having to intervene. I would like to be able to launch it without having to set its niceness. Does anybody have suggestions on this? Is my understanding of the overall picture even correct?

 

I have been encoding some videos in AV1 lately and I thought I'd share my technique for those who may wish to do some AV1 on their own without having a messy setup. I think this is a pretty clean way, ultimately, to use Av1an's Docker image.

A forewarning: AV1 can be pretty to slow encode with. I've been doing it with DVDs where the 640x480 resolution of the video means a frame can be processed relatively quickly, but videos in 1920x1080 or 4k resolutions might be pretty intense where the encode speed only ends up being a frame a second.

Forewarning pt. 2: Something I learned that I CANNOT rely on is trying a faster encode speed to guesstimate the resulting file size and picture quality and then really maximize my results by lowering the encode speed. My observation has been that a slower encode speed will in fact improve the picture quality (and file size), such that I cannot be sure what something will look like without just encoding a very short sample at a slow speed. OK. Let's begin.

Operating System & Environment

I am using Fedora Linux 38. I'd like to use the Av1an package but that only has an official Arch release. I definitely don't want to spend time compiling this myself, so I will use the official Docker image instead. And I won't use Docker, actually, but Podman. I also use the Fish Shell. Its syntax is very slightly different from Bash's.

Now, Fedora users may know about SELinux. And something that kept happening to me was the security context of some of the files I'm shuffling around my hard drives would end up being not correct, making Podman incapable of seeing the files I'm trying to use. So instead of fixing the context per file (annoying) I just temporarily disabled SELinux.

sudo setenforce Permissive

Container image

From here things are pretty straightforward. I'll pull the docker image, which has a full Av1an setup ready to go.

podman pull docker.io/masterofzen/av1an:master

One little note is that you should use the master tag. A confusing thing about this image is that the latest tag is the old python version, and we want the current Rust version.

Executing Av1an

Now, navigate to whatever directory your source video is in. In my case, I losslessly encoded the DVDs with Handbrake into h264 and passed through the audio/chapter markers, etc. This gave me a good source to work with, even though it was a little bloated in file size. I don't think Av1an accepts MPEG-2, which is why I did that.

First I'll explain what the Podman command is doing for those who aren't familiar with Docker/Podman, and then I'll give a full working example.

podman run -v "$(pwd)":/videos:z --userns=keep-id -it --rm docker.io/masterofzen/av1an:master -i sourcevideo.mp4 -s scenes.csv --pix-format yuv420p10le -o output.webm -v "--VIDEO_OPTIONS" --keep -a "--AUDIO_OPTIONS"

  • podman run - Execute a container
  • -v "$(pwd)":/videos:z - Mount the present working directory as /videos in the container, and the :z is an SELinux labeling thing that can be dropped for non-SELinux users.
  • --userns=keep-id - This flag helps keep the user id and group ids consistent between the host and container so that they don't get mangled. Your output file will belong to your user.
  • -it - Execute the command in a visible shell session
  • --rm - Remove the container (not the image, the container) when the command is done executing.

Final example

The rest of the flags are for Av1an itself, or for the encoders. So here's a full working example of how I used it, to encode with aomenc and Opus for the audio. Av1an uses aomenc by default.

podman run -v "$(pwd)":/videos:z --userns=keep-id -it --rm docker.io/masterofzen/av1an:master -i sourcevideo.mp4 -s scenes.csv --pix-format yuv420p10le -o output.webm -v " --cpu-used=3 --enable-qm=1 --threads=4 -b 10 --end-usage=q --cq-level=28 --lag-in-frames=48 --auto-alt-ref=1 --enable-fwd-kf=1" --keep -a "-c:a libopus -b:a 128k"

I think for an explanation for what individual flags do, and perhaps some guidance on how to use them effectively, I can only refer one to the guide written by Reddit user BlueSwordM https://www.reddit.com/r/AV1/comments/t59j32/encoder_tuning_part_4_a_2nd_generation_guide_to/

254
PipeWire 0.3.77 Released (gitlab.freedesktop.org)
 

PipeWire 0.3.77 (2023-08-04)

This is a quick bugfix release that is API and ABI compatible with previous 0.3.x releases.

Highlights

  • Fix a bug in ALSA source where the available number of samples was miscaluclated and resulted in xruns in some cases.
  • A new L permission was added to make it possible to force a link between nodes even when the nodes can't see each other.
  • The VBAN module now supports midi send and receive as well.
  • Many cleanups and small fixes.
view more: ‹ prev next ›