FOR INSTALLING LAVD ON ARCH OR FEDORA LOOK BELOW FEDORA copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/ ARCH wiki.cachyos.org/configuration/sched-ext/ ENABLE THIS FEDORA COPR REPO FIRST sudo dnf copr enable bieszczaders/kernel-cachyos-addons INSTALL scx-scheds PACKAGE EDIT THE FILE TO SPECIFY THAT YOU WANT TO USE LAVD sudo nano /etc/default/scx SCX_SCHEDULER=scx_lavd UNHASH THE SCX_FLAGS SO IT GETS USED! SCX_FLAGS='--performance' ctrl-x, y, enter to save this file enable scx as a service so it can run in the background sudo systemctl enable --now scx Thats its, lavd will be used as your default kernel sched :) At some point fedora will add scx sched as a package so you dont need to enable this fedora copr repo
yeah you might be right there, the biggest thing tho is latency, even tho i didnt show that in the video its a noticeably difference in my opinion with using either lavd or system76 shed the other one is frame timing improvements which is margin of error a little also when you look at the benchmarks
@linuxnext man we've been running benchmarks comparing schedulers and custom kernels for years now, and it's never more than 2 or 3% bump in fps or frametimes. Eevdf and any zenified kernel (linux-zen, linux-liquorix, linux-tkg, etc) are going to get you all of the performance you can currently get from changing kernel and cpusched alone. This video is 4 years out of vogue
Gaming on Linux has become so confusing. There's Gamescope, Gamemode, custom kernels, custom schedulers, AMD GPU settings you have to be vary off so your card doesn't underperform, issues with multi-monitor setups, I am starting to lose sight. Things were easier when I was bound to 1080p 60Hz gameplay on my 1060 but now I gotta look into all these things to get the absolute most out of my 1440p 180Hz 7900XT multi monitor setup. Like just yesterday after lots of troubleshooting and research I had to learn the basics of Gamescope to prevent my mouse from leaving the game and moving onto my old, now second monitor when moving it. I need like one big Linux gaming explanation video that covers all these more niche things as well :(
Amdgpu settings are being fixed in the next kernel release so users don't have to worry about that, you don't need to worry about kernel schedulers, you don't need to use gamemode I don't use gamemode and have zero problems, kernel schedulers improve so much already You also don't need to use custom kernels not necessary None of it is necessary except for now the amd power options you need to change You have multi monitor issues? What desktop? Also what game causes your cursor to escape? Is this with gamescope enabled already or on the actual desktop environment? Also you already have such a high end system that it wont matter if you use any of these things Its also like if you dont want to learn this stuff install a distro that has those tools installed and configured for you already like nobara, bazzite etc etc gamescope is meant to be used in the steamdeck ui as valve intended, outside of that your gonna have to learn its parameters and commands
@@linuxnext You said I shouldn't worry about kernel schedulers but then you said that Gamemode isn't needed because kernel schedulers already improve so much, which sounds like I should indeed look more into kernel schedulers. Whether you can go with both custom scheduling AND enabling things like Gamemode at the same time is also something I'm not aware on whether that's a good or bad idea yet or if its like conflicting in any way. I'd like to know if using a custom scheduler makes using something like Gamemode fully redundant. "On such a high end system it won't matter if you use any of these things", but enabling Gamemode yesterday DID give me a pretty sizeable performance boost playing modded Minecraft with shaders. Of course I don't "need" to use any of these things. Any game will run just fine, but on that game specifically I am often dipping below my monitors refresh rate and stuttering and what I think are frametime issues can occur, hence why I'm looking into this performance optimization stuff in the first place. Therefore it DOES indeed matter, even if its just a handful of games benefiting from tinkering. I am very much willing to learn more even if I made it sound like I'm not. I've been using Linux for almost a year now and I intend to never leave again. I loved learning all these new things and trying out a plethora of distros before finally settling on Arch. There was just a little too many new things I got informed about at once trying to set up my new system and optimizing it and it made me just a little frustrated for a moment and I put that energy into my original comment. But I've already learned so many Linux related things, it won't hurt to learn more. multi monitor issues are on GNOME and when playing Splitgate without Gamescope my mouse could sometimes leave my game and go onto my second monitor when turning the camera. I could fix it through Gamescope by adding --force-grab-cursor but Gamescope altered my sensitivity slightly and would never launch the game on the correct monitor which I couldn't resolve. No big deals whatsoever but a little annoying nonetheless
@Yes-me4pk I see well I didn't know about you using shaders in Minecraft so I can understand why you would want to use things like gamemode or a different scheduler I'm saying using different schedulers improves so much already is because of system76 developers saying that their scheduler basically does the same thing as gamemode as in makes the game a better priority when running over other things happening on your computer You can use gamemode if you want to but for me personally I just use a scheduler and it does everything automatically for me without having to specify a launch command in steam From what the system76 scheduler says github.com/pop-os/system76-scheduler Scheduling service which optimizes Linux's CPU scheduler and automatically assigns process priorities for improved desktop responsiveness. Low latency CPU scheduling will be activated automatically when on AC, and the default scheduling latencies set on battery. Processes are regularly sweeped and assigned process priorities based on configuration files. When combined with pop-shell, foreground processes and their sub-processes will be given higher process priority. These changes result in a noticeable improvement in the experienced smoothness and performance of applications and games. The improved responsiveness of applications is most noticeable on older systems with budget hardware, whereas games will benefit from higher framerates and reduced jitter. This is because background applications and services will be given a smaller portion of leftover CPU budget after the active process has had the most time on the CPU. I remember on Reddit a user asked why gamemode wasn't preinstalled on pop os and one of the system76 developers said because this scheduler already does what gamemode does And same goes with lavd, both do a great job of handling different processes for applications or games but gamemode can do the same thing so either one You could try combining both the scheduler and gamemode but I don't think you would see that much of an improvement and I remember someone else saying combining both can cause problems with performance
@Yes-me4pk I think also for splitgate if this is native you should report this to the developers, if under proton then find the splitgate issue page and report it there so it is known, there isn't many splitgate players on Linux so its probs why this hasn't been fixed github.com/ValveSoftware/Proton/issues/4736 Good luck :>
@@linuxnext just using a different scheduler instead of configuring launch options for every game and hoping nothing breaks does indeed sound better. I'll look into either LAVD or the System76 one. Can't really decide but might try LAVD if it claims to target frametimes and stuttering and since it's apparently looking to be better than the System76 one. Just gotta learn how to change it
Gamemode doesn’t seem to work for me on Fedora, at least the cpu governor part. It just stays on “Balanced” despite the daemon being active. Doesn’t really seem to make a noticeable difference either when I manually change my power mode other than make the CPU hotter overall. Maybe I’m missing something. I know there’s other things you can config Gamemode to manage like the core parking or pinning and IO priority. Never messed with them though.
From what I can understand here is LAVD scheduler is good for handhelds or iGPU systems? Right now I am using default CachyOS kernel BORE scheduler with my desktop 7800x3d / 7800xt system and works good. Lol with CachyOs everything works, but I can't get my hotspot workings so I can use my phone Galaxy s22.
Yes lavd will be good if you have low end specs, if your PC is already extremely good you won't notice much like yours or mine there won't be much to improve
@@linuxnext You are running CachyOS KDE Plasma? I just use the default kernel BORE Scheduler that is best I think for gaming or real-time applications. I was wondering have you gotten wifi hotspots to work on it. Everything else works, but I can' get wifi hotspots to work. Seems it create the wifi hotspot, but I can't connect with Samsung s22 to my desktop wifi hotspot.
@cybernit3 nope endeavour os, normal kernel + lavd with KDE plasma Wayland, cosmic git desktop also for testing I haven't tried wifi hotspot yet I don't think
I'm having some issues with the finals after unreal engine update like 1 or 2 months ago... the finals is limiting the power consumption of the gpu after 3 or 4 matches, tried several kernels, several driver versions (nvidia open), nothing seems to solve it. Have you experienced something like that at the finals or other games?
@@asdyull-dk4nt nope and it's probably because I use AMD, I played for 8 hours today with a friend and had no power issues But I do know of this fps update they did a couple weeks ago and instead it dropped my fps a little then it actually improved like they said it would The only issue I experience is a memory leak that takes around 6 hours to happen and it seems it's a Linux problem of some kind either it be GPU driver related, proton related or something else
@@linuxnext I saw someone saying it's a memory leak, but (sorry for the ignorance) in this case would my memory be entirely in use, isn't it? Because I dont see this behavior, the memory use is low, GPU RAM and main RAM.
This is amazing! Can I ask a question? Do you know what's up with swap memory getting filled to the brim? It doesn't clear on its own when I close an app, I always need to reboot my system or it'll crash.
@linuxnext my entire desktop crashes as the swap memory slowly fills. I'm currently using CachyOS with the BORE kernel for Waydroid. I need to either logout or reboot so swap clears, I never had this issue in the past with Zorin OS or EndeavourOS.
FOR INSTALLING LAVD ON ARCH OR FEDORA LOOK BELOW
FEDORA
copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/
ARCH
wiki.cachyos.org/configuration/sched-ext/
ENABLE THIS FEDORA COPR REPO FIRST
sudo dnf copr enable bieszczaders/kernel-cachyos-addons
INSTALL scx-scheds PACKAGE
EDIT THE FILE TO SPECIFY THAT YOU WANT TO USE LAVD
sudo nano /etc/default/scx
SCX_SCHEDULER=scx_lavd
UNHASH THE SCX_FLAGS SO IT GETS USED!
SCX_FLAGS='--performance'
ctrl-x, y, enter to save this file
enable scx as a service so it can run in the background
sudo systemctl enable --now scx
Thats its, lavd will be used as your default kernel sched :)
At some point fedora will add scx sched as a package so you dont need to enable this fedora copr repo
u legend
It's all in the margin of error, doesn't mean anything.
yeah you might be right there, the biggest thing tho is latency, even tho i didnt show that in the video its a noticeably difference in my opinion with using either lavd or system76 shed
the other one is frame timing improvements which is margin of error a little also when you look at the benchmarks
@linuxnext man we've been running benchmarks comparing schedulers and custom kernels for years now, and it's never more than 2 or 3% bump in fps or frametimes.
Eevdf and any zenified kernel (linux-zen, linux-liquorix, linux-tkg, etc) are going to get you all of the performance you can currently get from changing kernel and cpusched alone. This video is 4 years out of vogue
"Four" is the only number that is spelled with the same number of letters as itself.
SUS 😂
Gaming on Linux has become so confusing. There's Gamescope, Gamemode, custom kernels, custom schedulers, AMD GPU settings you have to be vary off so your card doesn't underperform, issues with multi-monitor setups, I am starting to lose sight. Things were easier when I was bound to 1080p 60Hz gameplay on my 1060 but now I gotta look into all these things to get the absolute most out of my 1440p 180Hz 7900XT multi monitor setup. Like just yesterday after lots of troubleshooting and research I had to learn the basics of Gamescope to prevent my mouse from leaving the game and moving onto my old, now second monitor when moving it. I need like one big Linux gaming explanation video that covers all these more niche things as well :(
Amdgpu settings are being fixed in the next kernel release so users don't have to worry about that, you don't need to worry about kernel schedulers, you don't need to use gamemode
I don't use gamemode and have zero problems, kernel schedulers improve so much already
You also don't need to use custom kernels not necessary
None of it is necessary except for now the amd power options you need to change
You have multi monitor issues? What desktop?
Also what game causes your cursor to escape? Is this with gamescope enabled already or on the actual desktop environment?
Also you already have such a high end system that it wont matter if you use any of these things
Its also like if you dont want to learn this stuff install a distro that has those tools installed and configured for you already like nobara, bazzite etc etc
gamescope is meant to be used in the steamdeck ui as valve intended, outside of that your gonna have to learn its parameters and commands
@@linuxnext You said I shouldn't worry about kernel schedulers but then you said that Gamemode isn't needed because kernel schedulers already improve so much, which sounds like I should indeed look more into kernel schedulers.
Whether you can go with both custom scheduling AND enabling things like Gamemode at the same time is also something I'm not aware on whether that's a good or bad idea yet or if its like conflicting in any way. I'd like to know if using a custom scheduler makes using something like Gamemode fully redundant.
"On such a high end system it won't matter if you use any of these things", but enabling Gamemode yesterday DID give me a pretty sizeable performance boost playing modded Minecraft with shaders. Of course I don't "need" to use any of these things. Any game will run just fine, but on that game specifically I am often dipping below my monitors refresh rate and stuttering and what I think are frametime issues can occur, hence why I'm looking into this performance optimization stuff in the first place. Therefore it DOES indeed matter, even if its just a handful of games benefiting from tinkering.
I am very much willing to learn more even if I made it sound like I'm not. I've been using Linux for almost a year now and I intend to never leave again. I loved learning all these new things and trying out a plethora of distros before finally settling on Arch. There was just a little too many new things I got informed about at once trying to set up my new system and optimizing it and it made me just a little frustrated for a moment and I put that energy into my original comment. But I've already learned so many Linux related things, it won't hurt to learn more.
multi monitor issues are on GNOME and when playing Splitgate without Gamescope my mouse could sometimes leave my game and go onto my second monitor when turning the camera. I could fix it through Gamescope by adding --force-grab-cursor but Gamescope altered my sensitivity slightly and would never launch the game on the correct monitor which I couldn't resolve. No big deals whatsoever but a little annoying nonetheless
@Yes-me4pk I see well I didn't know about you using shaders in Minecraft so I can understand why you would want to use things like gamemode or a different scheduler
I'm saying using different schedulers improves so much already is because of system76 developers saying that their scheduler basically does the same thing as gamemode as in makes the game a better priority when running over other things happening on your computer
You can use gamemode if you want to but for me personally I just use a scheduler and it does everything automatically for me without having to specify a launch command in steam
From what the system76 scheduler says
github.com/pop-os/system76-scheduler
Scheduling service which optimizes Linux's CPU scheduler and automatically assigns process priorities for improved desktop responsiveness. Low latency CPU scheduling will be activated automatically when on AC, and the default scheduling latencies set on battery. Processes are regularly sweeped and assigned process priorities based on configuration files. When combined with pop-shell, foreground processes and their sub-processes will be given higher process priority.
These changes result in a noticeable improvement in the experienced smoothness and performance of applications and games. The improved responsiveness of applications is most noticeable on older systems with budget hardware, whereas games will benefit from higher framerates and reduced jitter. This is because background applications and services will be given a smaller portion of leftover CPU budget after the active process has had the most time on the CPU.
I remember on Reddit a user asked why gamemode wasn't preinstalled on pop os and one of the system76 developers said because this scheduler already does what gamemode does
And same goes with lavd, both do a great job of handling different processes for applications or games but gamemode can do the same thing so either one
You could try combining both the scheduler and gamemode but I don't think you would see that much of an improvement and I remember someone else saying combining both can cause problems with performance
@Yes-me4pk I think also for splitgate if this is native you should report this to the developers, if under proton then find the splitgate issue page and report it there so it is known, there isn't many splitgate players on Linux so its probs why this hasn't been fixed
github.com/ValveSoftware/Proton/issues/4736
Good luck :>
@@linuxnext just using a different scheduler instead of configuring launch options for every game and hoping nothing breaks does indeed sound better. I'll look into either LAVD or the System76 one. Can't really decide but might try LAVD if it claims to target frametimes and stuttering and since it's apparently looking to be better than the System76 one. Just gotta learn how to change it
graphs are much better. as someone else pointed out - its all in the margin of error. looking at just text its not so easily evident.
@@parabolicpanorama Yesh :)
I left these benchmarks in the description aswell if you want to look at it yourself :>
I think it's good idea to combine LAVD with gamemode and tuned (latency-throughput profile) for max possible performance.
Gamemode doesn’t seem to work for me on Fedora, at least the cpu governor part. It just stays on “Balanced” despite the daemon being active.
Doesn’t really seem to make a noticeable difference either when I manually change my power mode other than make the CPU hotter overall.
Maybe I’m missing something. I know there’s other things you can config Gamemode to manage like the core parking or pinning and IO priority. Never messed with them though.
@@kangaroochili If you are using KDE they have a power scheduling issue .
I guess it works the best in the not GPU limited situations
From what I can understand here is LAVD scheduler is good for handhelds or iGPU systems? Right now I am using default CachyOS kernel BORE scheduler with my desktop 7800x3d / 7800xt system and works good. Lol with CachyOs everything works, but I can't get my hotspot workings so I can use my phone Galaxy s22.
Yes lavd will be good if you have low end specs, if your PC is already extremely good you won't notice much like yours or mine there won't be much to improve
@@linuxnext You are running CachyOS KDE Plasma? I just use the default kernel BORE Scheduler that is best I think for gaming or real-time applications. I was wondering have you gotten wifi hotspots to work on it. Everything else works, but I can' get wifi hotspots to work. Seems it create the wifi hotspot, but I can't connect with Samsung s22 to my desktop wifi hotspot.
@cybernit3 nope endeavour os, normal kernel + lavd with KDE plasma Wayland, cosmic git desktop also for testing
I haven't tried wifi hotspot yet I don't think
@cybernit3 wifi hotspot is working for me on my nothing phone 2a was able to connect to it and load websites with it
nice video, can you do this on other distros using this kernel
@@mirkodiciano4647 wdym exactly?
@@linuxnext u linked intructions for cachyos what if im fedora with kernel 6.12.....
@@mirkodiciano4647 oh yes ill post that
I definitely liked the video
I'm having some issues with the finals after unreal engine update like 1 or 2 months ago... the finals is limiting the power consumption of the gpu after 3 or 4 matches, tried several kernels, several driver versions (nvidia open), nothing seems to solve it.
Have you experienced something like that at the finals or other games?
@@asdyull-dk4nt nope and it's probably because I use AMD, I played for 8 hours today with a friend and had no power issues
But I do know of this fps update they did a couple weeks ago and instead it dropped my fps a little then it actually improved like they said it would
The only issue I experience is a memory leak that takes around 6 hours to happen and it seems it's a Linux problem of some kind either it be GPU driver related, proton related or something else
@@linuxnext I saw someone saying it's a memory leak, but (sorry for the ignorance) in this case would my memory be entirely in use, isn't it?
Because I dont see this behavior, the memory use is low, GPU RAM and main RAM.
wasnt this uploaded yesterday, why does it say 6mins ago lol
@@eisregenhaha someone asked for graphs so I agreed to redo the video
@linuxnext ah nice thanks for that, agree graphs make it a lot better
This is amazing!
Can I ask a question? Do you know what's up with swap memory getting filled to the brim? It doesn't clear on its own when I close an app, I always need to reboot my system or it'll crash.
@@NiffirgkcaJ I don't have this issue as I have 32gb of memory, and my swap is 500mb, is this any application?
@linuxnext my entire desktop crashes as the swap memory slowly fills. I'm currently using CachyOS with the BORE kernel for Waydroid.
I need to either logout or reboot so swap clears, I never had this issue in the past with Zorin OS or EndeavourOS.
@@NiffirgkcaJ maybe it's a cachyos issue then? Idk I would report it to the cachy os Devs
I use endeavour as my main so could be why also
@linuxnext I see, I guess I'll just report this to them.
me when I spread false information on the internet
@TheTundraTerror ?
It is free performance no?
Nice
Delta force work an linux ?
No
Only on steamdeck for some very odd reason
@@linuxnext it's because of ACE+steam deck's hardware interaction