Skip to content

u/grg994

In this archive from Jan 2022 to Oct 2024

3
posts
69
comments
2
media
753
score

Top posts

glibc 2.38-* (core repo 2023-08-02 and after as of today) has a malloc performance regression severely affecting at least some ffmpeg demuxers

Symptoms with mpv: during playback of network streams (eg. HLS-MPEGTS) CPU usage is 100% on one thread but the demuxer is still not fast enough causing the playback to lag. If someone else is troubled whit this (like me), then might use one of the workarounds described in the issues below. Or downgr...

26 points3 comments
Open on Reddit

Top comments

I think you are not alone, I've met a memory leak in Discord's browser client in Firefox I think twice in the last month.

​

Killing the process doesn't free the RAM, I have to reboot

That is not possible. You may have to wait a bit after killing the right process to have it reported correctly.

(I have 8GB w/ no swap by default, so my laptop laptop got locked up by Discord's Firefox process, had to use a manual OOM kill to recover).

36 points

Try using # evtest to test and display raw keyboard events (scancodes and keycodes).

It depends on the xkb (and in your case fitcx which I'm not familiar with) configuration, how these are translated to key events received by apps running in a windowing environment (Xorg or Wayland).

Read this to understand the steps involved in keyboard input so you can diagnose what is wrong: https://wiki.archlinux.org/title/Keyboard_input

(If as in the video, pressing 'A' will show a scancode in evtest for both 'A' and 'Win' then sorry but this is a hardware problem).

9 points

This will sound stupid but try turning your monitor off then back on when this happens, it may just fixes it.

Looks like a low-level, likely driver-related (Kernel Mode Setting or Video output) issue or even display/cable issue, looking at your video having the right edge of the display on the left side for some frames.

8 points
  • Most importantly keep backups of your files. Test backups and make sure you can restore from them.
  • If you save passwords in your browser enable master/primary password which encrypts the browser's password storage. And most browsers support multiple profiles which can have their settings and extensions installed, eg. I have a separate profile for banking which is clean with no extensions installed.
  • Read the Arch wiki pages about configuring the network setup you use. Eg. for DNS with systemd-resolved consider enabling DNSSEC and using a DNS-over-TLS provider. These are not enabled by default.
  • For firewall you may pick your poison. I started with nftables default config, for me it's a reasonable starting point, although changing the config later is not that user friendly as in others.
  • If you are running network services/daemons (transmission, ipfs, ..., eg. I have a local libreddit and nitter instance), prefer to start them with a systemd .service which runs them under their own user. And check their configs that sockets that don't need to be internet facing are binded to localhost / 127.0.0.1 instead of 0.0.0.0
  • Wine running windows apps can expose the system to most of risks that the windows ecosystem has. Read Wine security guidelines and consider using sandboxing for Wine
7 points

By "streaming at 4K60" do you mean watching 4K60 streams?

You can try to check if hw decoding is working properly: https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration

If you don't mind starting the videos with 2-3 more clicks and outside the browser then you can try to use mpv with a youtube-dl backend (preferably yt-dlp) installed to watch ultra-high quality youtube videos "natively", instead of watching them in the browser.

In that case make sure you set up mpv properly: ~/.config/mpv/mpv.conf

hwdec=auto-safe
profile=gpu-hq

And then $ mpv https://www.youtube.com/watch?v=my-4K-video

7 points

Subreddits

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.