czak

joined 1 year ago
 

I've recently got a FreeSync monitor and am still figuring out how to get VRR (variable refresh rate, or "adaptive sync") to work consistently.

I'd love to hear your experience with VRR.

Some of my tests:

Sway

In sway, I set adaptive_sync on for my display, and swaymsg -t get_outputs reports Adaptive sync: enabled

Hyprland

In hyprland, I set vrr = 1 and get similar results as sway -Dnoscanout

  • Fluent motion by default, but moving the mouse introduces stuttering

Gamescope

In gamescope (embedded from VTT, with --adaptive-sync), I get the best results yet

  • Stable fluent motion
  • Mouse doesn't break it

My setup is 6600xt, Gigabyte M28U monitor, Arch 6.1.64-1-lts. I test with vrrtest and with Ghostrunner on wine-tkg-staging-fsync-git 8.13.r7.gc210ef9f-327

[–] czak@lemmy.ml 15 points 1 year ago

For me it reached a point where I now expect a new game I'm trying to just work. This was a monumental shift when I first realized that a few months ago.

Your best bet is Steam/Proton, since Valve stands behind it and development on all the Proton components (Wine, DXVK, VKD3D, Gamescope, ...) is very active.

If you get games outside of Steam (I often prefer GoG if that's an option, plus I have some itch.io bundles purchased a while ago), some tinkering may be necessary. For those, I like to go "vanilla" with Wine(-GE-custom usually), plus DXVK or VKD3D on top. There's also Lutris to help with these scenarios. Works great too.

Another topic is native Linux games. There are some gems which work beautifully. I recently finished native Celeste from itch.io and it was flawless. Another great Linux port is Bastion. But some older titles may have compatibility issues - missing or incompatible libraries, broken gamepad support or stuff like that. For those, the Windows version via Proton may actually work better than the native version. Luckily, we can now pick either one.

[–] czak@lemmy.ml 1 points 1 year ago

Interesting, hadn't heard of powerstat. I'll be checking that, thanks!

[–] czak@lemmy.ml 2 points 1 year ago

Agreed, that sounds like the way to go. I was hoping there was already something to do the monitoring for me :)

[–] czak@lemmy.ml 3 points 1 year ago (4 children)

Thanks, I do like powertop. I think it's pretty good for short measurements, e.g. over 30 seconds:

% sudo powertop --time=30

The battery reports a discharge rate of 4.17 W
The energy consumed was 125 J
The estimated remaining time is 11 hours, 4 minutes

But in the real world I will not be getting 11 hours of runtime. The moment I start a browser or play a video, power consumption goes way up.

 

tl;dr: I'm looking for something like AccuBattery, but for Linux

What do you use to measure laptop battery life in Linux?

I can easily get a momentary estimate of battery life. But this fluctuates based on load, screen backlight etc.

I'm looking for something that will collect my usage patterns over time - load, #processes, screen backlight, ... - and allow me to predict remaining runtime more accurately.

I'd love for the data to be parsable, so that I can analyze it myself and e.g. find the "worst offenders" - processes affecting battery runtime the most.

Thank you for any tips!