You are not logged in.
Well, the problem I have is that currently in my laptor I am using auto-cpufreq, this to have a better battery life while I am using the laptop unplugged, but I have had a performance problem with Xorg but does not happen with wayland.
The problem I have is that I have bad performance in FPS, I start watching a video at 1080p60fps h264 with vaapi and the fps of the DM are unstable, 55-60fps or sometimes 45fps, this clearly can be because of the auto-cpufreq daemon that modifies the governor depending on whether I have the laptop charging or not, but I checked the same as I did in the Xorg session with the same video, but with a KDE Plasma session in wayland and the fps are always stable at 60fps, i can do everything without dropping below 60fps and the processor has the same MHz in both Xorg and Wayland.
Is there a way to make Xorg run as good and smooth as Wayland?
Here some images and configs:
Xorg, SMA, DRI3, xf86-video-intel
https://i.zzls.xyz/SQQFSI.png
Wayland
https://i.zzls.xyz/YDDJNI.png
Xorg intel config (i tried with SNA, UXA and BLT, same results)
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3" # DRI3 is now default
Option "AccelMethod" "sna" # default
#Option "AccelMethod" "uxa" # fallback
EndSectionI hope there is a solution or a tweak to make Xorg work as well as Wayland, I hope you can help me ![]()
Last edited by Fijxu (2021-08-11 01:55:32)
Offline
I hope there is a solution or a tweak to make Xorg work as well as Wayland, I hope you can help me
Not likely. Wayland is a completely different beast designed from the ground up to be diifferent in precisely this sort of situation.
That said, Wayland doesn't use the xf86-video-intel driver which has been crap on most systems over the past several years (and is just getting crappier). Start by getting rid of that (and any configs for it) as you'll likely get better performance from the in-kernel modesetting driver.
Side note: please remove the large images - if there is any information you want us to see in them, post the information itself (in code tags).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Fijxu wrote:I hope there is a solution or a tweak to make Xorg work as well as Wayland, I hope you can help me
Not likely. Wayland is a completely different beast designed from the ground up to be diifferent in precisely this sort of situation.
That said, Wayland doesn't use the xf86-video-intel driver which has been crap on most systems over the past several years (and is just getting crappier). Start by getting rid of that (and any configs for it) as you'll likely get better performance from the in-kernel modesetting driver.
Side note: please remove the large images - if there is any information you want us to see in them, post the information itself (in code tags).
So you mean change the intel one to the modesetting one? That simple?
Already changed to this:
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
#Option "DRI" "3" # DRI3 is now default
Option "AccelMethod" "glamor" # default
#Option "AccelMethod" "uxa" # fallback
EndSectionBut I don't notice any performance difference, still with unstable fps in Xorg.
Here the Xorg logs (in a image because i dont want to fill the screen with logs): https://i.zzls.xyz/XXZDHI.png
I think the error of
Failed to load module "modesetting" (already loaded, 0)is because i added the "intel_agp" and "i915" to my /etc/mkinitcpio.conf file, so i will ignore it
Offline