Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
plasma 6 slow
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 882

PostPosted: Fri Sep 13, 2024 1:49 pm    Post subject: plasma 6 slow Reply with quote

I'm using the new "upgraded" plasma 6, but find that it is slow. That is, when you drag a window around, it leaves trails of partially redrawn windows, as the redraws can't keep up. I have very fast hardware (5950x + nvidia 1030 gpu) and this shouldn't be happening. It wasn't the case with KDE 5.

To be clear I'm using X still, not wayland. One thing at a time.

Did plasma decide to stop using hardware acceleration? This is just ordinary windows, nothing 3D.

Do I have some misconfig that turns it off? Where do I check that?

Cheers,
Jon
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1629
Location: U.S.A.

PostPosted: Sat Sep 14, 2024 1:21 pm    Post subject: Reply with quote

I'm having the opposite problem. Wayland is what it came up with after upgrading, it was slow and when click on items there was a glitchiness. I spent way to much time trying to get gnucash fonts back to normal, way too large. Couldn't find anyway to get them to change. So finally today after all the upgrading was done. Went back to Plasma(X11) and system isn't doing any of that stuff and gnucash fonts are back to what I want. System isn't doing the glitch's either. I'm sticking with X11 for the foreseeable future. Even clicking on stuff in wayland is causing harddrive activity before it does it that isn't happening in X11.

Have you checked your nvidia settings to see if something didn't change? Did you update all the configs with etc-update,..
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2179

PostPosted: Sat Sep 14, 2024 3:15 pm    Post subject: Re: plasma 6 slow Reply with quote

jesnow wrote:
I'm using the new "upgraded" plasma 6, but find that it is slow. That is, when you drag a window around, it leaves trails of partially redrawn windows, as the redraws can't keep up. I have very fast hardware (5950x + nvidia 1030 gpu) and this shouldn't be happening.
...

Similar hardware (except an old AMD gpu) and I can drag e.g. this firefox window around as fast as my mouse will move, no trails. I'd guess you've lost some hardware support somewhere.
Some bits from my KDE Info centre:
Quote:
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-git (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series

I'll skip posting the EGL, GLX and Vulkan info, as it's vast.
Wayland info:
Code:
interface: 'wl_compositor',                              version:  6, name:  1
interface: 'zwp_tablet_manager_v2',                      version:  1, name:  3
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1',  version:  1, name:  4
interface: 'zxdg_decoration_manager_v1',                 version:  1, name:  5
interface: 'wp_viewporter',                              version:  1, name:  6
interface: 'wp_security_context_manager_v1',             version:  1, name:  7
interface: 'wp_fractional_scale_manager_v1',             version:  1, name:  8
interface: 'wl_shm',                                     version:  1, name:  9
   formats (fourcc):
   0x38344258 = 'XB48'
   0x38344241 = 'AB48'
   0x30334258 = 'XB30'
   0x30334241 = 'AB30'
   0x30335258 = 'XR30'
   0x30335241 = 'AR30'
            1 = 'XR24'
            0 = 'AR24'
interface: 'wl_seat',                                    version:  9, name: 10
   name:
   capabilities: pointer keyboard
   keyboard repeat rate: 25
   keyboard repeat delay: 600
interface: 'zwp_pointer_gestures_v1',                    version:  3, name: 11
interface: 'zwp_pointer_constraints_v1',                 version:  1, name: 12
interface: 'zwp_relative_pointer_manager_v1',            version:  1, name: 13
interface: 'wl_data_device_manager',                     version:  3, name: 14
interface: 'zwlr_data_control_manager_v1',               version:  2, name: 15
interface: 'wp_cursor_shape_manager_v1',                 version:  1, name: 16
interface: 'zwp_primary_selection_device_manager_v1',    version:  1, name: 17
interface: 'org_kde_kwin_idle',                          version:  1, name: 18
interface: 'zwp_idle_inhibit_manager_v1',                version:  1, name: 19
interface: 'ext_idle_notifier_v1',                       version:  1, name: 20
interface: 'org_kde_plasma_shell',                       version:  8, name: 21
interface: 'org_kde_kwin_appmenu_manager',               version:  1, name: 22
interface: 'org_kde_kwin_server_decoration_palette_manager', version:  1, name: 23
interface: 'org_kde_plasma_virtual_desktop_management',  version:  2, name: 25
interface: 'org_kde_kwin_shadow_manager',                version:  2, name: 27
interface: 'org_kde_kwin_dpms_manager',                  version:  1, name: 28
interface: 'org_kde_kwin_server_decoration_manager',     version:  1, name: 29
interface: 'kde_output_management_v2',                   version:  9, name: 30
interface: 'zxdg_output_manager_v1',                     version:  3, name: 31
   xdg_output_v1
      output: 60
      name: 'HDMI-A-1'
      description: 'LG Electronics HDMI-A-1-LG FULL HD'
      logical_x: 0, logical_y: 0
      logical_width: 1920, logical_height: 1080
interface: 'wl_subcompositor',                           version:  1, name: 32
interface: 'zxdg_exporter_v2',                           version:  1, name: 33
interface: 'zxdg_importer_v2',                           version:  1, name: 34
interface: 'xdg_activation_v1',                          version:  1, name: 37
interface: 'wp_content_type_manager_v1',                 version:  1, name: 39
interface: 'wp_tearing_control_manager_v1',              version:  1, name: 40
interface: 'xdg_toplevel_drag_manager_v1',               version:  1, name: 41
interface: 'kde_screen_edge_manager_v1',                 version:  1, name: 42
interface: 'frog_color_management_factory_v1',           version:  1, name: 43
interface: 'wp_presentation',                            version:  1, name: 44
   presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'xdg_wm_dialog_v1',                           version:  1, name: 45
interface: 'xdg_wm_base',                                version:  6, name: 48
interface: 'zwlr_layer_shell_v1',                        version:  5, name: 49
interface: 'wp_drm_lease_device_v1',                     version:  1, name: 51
   path: /dev/dri/card0
interface: 'kde_output_order_v1',                        version:  1, name: 52
interface: 'zwp_text_input_manager_v1',                  version:  1, name: 53
interface: 'zwp_text_input_manager_v2',                  version:  1, name: 54
interface: 'zwp_text_input_manager_v3',                  version:  1, name: 55
interface: 'wl_drm',                                     version:  2, name: 56
interface: 'zwp_linux_dmabuf_v1',                        version:  4, name: 57
   main device: 0xE200 (/dev/dri/card0 or /dev/dri/renderD128)
   tranche
      target device: 0xE200 (/dev/dri/card0 or /dev/dri/renderD128)
      flags: none
      formats (fourcc) and modifiers (names):
      0x56555941 = 'AYUV'; 0x00ffffffffffffff = INVALID
      0x56555941 = 'AYUV'; 0x0000000000000000 = LINEAR
      0x34325559 = 'YU24'; 0x00ffffffffffffff = INVALID
      0x34325559 = 'YU24'; 0x0000000000000000 = LINEAR
      0x32313259 = 'Y212'; 0x00ffffffffffffff = INVALID
      0x32313259 = 'Y212'; 0x0000000000000000 = LINEAR
      0x48344258 = 'XB4H'; 0x00ffffffffffffff = INVALID
      0x48344258 = 'XB4H'; 0x0000000000000000 = LINEAR
      0x39555659 = 'YVU9'; 0x00ffffffffffffff = INVALID
      0x39555659 = 'YVU9'; 0x0000000000000000 = LINEAR
      0x32314241 = 'AB12'; 0x00ffffffffffffff = INVALID
      0x32314241 = 'AB12'; 0x0000000000000000 = LINEAR
      0x34325659 = 'YV24'; 0x00ffffffffffffff = INVALID
      0x34325659 = 'YV24'; 0x0000000000000000 = LINEAR
      0x30313259 = 'Y210'; 0x00ffffffffffffff = INVALID
      0x30313259 = 'Y210'; 0x0000000000000000 = LINEAR
      0x38344258 = 'XB48'; 0x00ffffffffffffff = INVALID
      0x38344258 = 'XB48'; 0x0000000000000000 = LINEAR
      0x32335247 = 'GR32'; 0x00ffffffffffffff = INVALID
      0x32335247 = 'GR32'; 0x0000000000000000 = LINEAR
      0x3132564e = 'NV21'; 0x00ffffffffffffff = INVALID
      0x3132564e = 'NV21'; 0x0000000000000000 = LINEAR
      0x59555956 = 'VYUY'; 0x00ffffffffffffff = INVALID
      0x59555956 = 'VYUY'; 0x0000000000000000 = LINEAR
      0x38344241 = 'AB48'; 0x00ffffffffffffff = INVALID
      0x38344241 = 'AB48'; 0x0000000000000000 = LINEAR
      0x35314241 = 'AB15'; 0x00ffffffffffffff = INVALID
      0x35314241 = 'AB15'; 0x0000000000000000 = LINEAR
      0x55595659 = 'YVYU'; 0x00ffffffffffffff = INVALID
      0x55595659 = 'YVYU'; 0x0000000000000000 = LINEAR
      0x30313050 = 'P010'; 0x00ffffffffffffff = INVALID
      0x30313050 = 'P010'; 0x0000000000000000 = LINEAR
      0x59565955 = 'UYVY'; 0x00ffffffffffffff = INVALID
      0x59565955 = 'UYVY'; 0x0000000000000000 = LINEAR
      0x35315241 = 'AR15'; 0x00ffffffffffffff = INVALID
      0x35315241 = 'AR15'; 0x0000000000000000 = LINEAR
      0x20363152 = 'R16 '; 0x00ffffffffffffff = INVALID
      0x20363152 = 'R16 '; 0x0000000000000000 = LINEAR
      0x39565559 = 'YUV9'; 0x00ffffffffffffff = INVALID
      0x39565559 = 'YUV9'; 0x0000000000000000 = LINEAR
      0x31315559 = 'YU11'; 0x00ffffffffffffff = INVALID
      0x31315559 = 'YU11'; 0x0000000000000000 = LINEAR
      0x36313459 = 'Y416'; 0x00ffffffffffffff = INVALID
      0x36313459 = 'Y416'; 0x0000000000000000 = LINEAR
      0x32315241 = 'AR12'; 0x00ffffffffffffff = INVALID
      0x32315241 = 'AR12'; 0x0000000000000000 = LINEAR
      0x32315659 = 'YV12'; 0x00ffffffffffffff = INVALID
      0x32315659 = 'YV12'; 0x0000000000000000 = LINEAR
      0x30333050 = 'P030'; 0x00ffffffffffffff = INVALID
      0x30333050 = 'P030'; 0x0000000000000000 = LINEAR
      0x36314752 = 'RG16'; 0x00ffffffffffffff = INVALID
      0x36314752 = 'RG16'; 0x0000000000000000 = LINEAR
      0x56555958 = 'XYUV'; 0x00ffffffffffffff = INVALID
      0x56555958 = 'XYUV'; 0x0000000000000000 = LINEAR
      0x32313459 = 'Y412'; 0x00ffffffffffffff = INVALID
      0x32313459 = 'Y412'; 0x0000000000000000 = LINEAR
      0x36313259 = 'Y216'; 0x00ffffffffffffff = INVALID
      0x36313259 = 'Y216'; 0x0000000000000000 = LINEAR
      0x32313050 = 'P012'; 0x00ffffffffffffff = INVALID
      0x32313050 = 'P012'; 0x0000000000000000 = LINEAR
      0x20203852 = 'R8  '; 0x00ffffffffffffff = INVALID
      0x20203852 = 'R8  '; 0x0000000000000000 = LINEAR
      0x3631564e = 'NV16'; 0x00ffffffffffffff = INVALID
      0x3631564e = 'NV16'; 0x0000000000000000 = LINEAR
      0x38385247 = 'GR88'; 0x00ffffffffffffff = INVALID
      0x38385247 = 'GR88'; 0x0000000000000000 = LINEAR
      0x30313459 = 'Y410'; 0x00ffffffffffffff = INVALID
      0x30313459 = 'Y410'; 0x0000000000000000 = LINEAR
      0x32315559 = 'YU12'; 0x00ffffffffffffff = INVALID
      0x32315559 = 'YU12'; 0x0000000000000000 = LINEAR
      0x36315659 = 'YV16'; 0x00ffffffffffffff = INVALID
      0x36315659 = 'YV16'; 0x0000000000000000 = LINEAR
      0x56595559 = 'YUYV'; 0x00ffffffffffffff = INVALID
      0x56595559 = 'YUYV'; 0x0000000000000000 = LINEAR
      0x48344241 = 'AB4H'; 0x00ffffffffffffff = INVALID
      0x48344241 = 'AB4H'; 0x0000000000000000 = LINEAR
      0x3231564e = 'NV12'; 0x0000000000000000 = LINEAR
      0x36315559 = 'YU16'; 0x00ffffffffffffff = INVALID
      0x36315559 = 'YU16'; 0x0000000000000000 = LINEAR
      0x36313050 = 'P016'; 0x00ffffffffffffff = INVALID
      0x36313050 = 'P016'; 0x0000000000000000 = LINEAR
      0x31315659 = 'YV11'; 0x00ffffffffffffff = INVALID
      0x31315659 = 'YV11'; 0x0000000000000000 = LINEAR
   tranche
      target device: 0xE200 (/dev/dri/card0 or /dev/dri/renderD128)
      flags: none
      formats (fourcc) and modifiers (names):
      0x34325241 = 'AR24'; 0x00ffffffffffffff = INVALID
      0x34325241 = 'AR24'; 0x0000000000000000 = LINEAR
      0x34325258 = 'XR24'; 0x00ffffffffffffff = INVALID
      0x34325258 = 'XR24'; 0x0000000000000000 = LINEAR
      0x34324241 = 'AB24'; 0x00ffffffffffffff = INVALID
      0x34324241 = 'AB24'; 0x0000000000000000 = LINEAR
      0x34324258 = 'XB24'; 0x00ffffffffffffff = INVALID
      0x34324258 = 'XB24'; 0x0000000000000000 = LINEAR
      0x30335241 = 'AR30'; 0x00ffffffffffffff = INVALID
      0x3231564e = 'NV12'; 0x0000000000000000 = LINEAR
   tranche
      target device: 0xE200 (/dev/dri/card0 or /dev/dri/renderD128)
      flags: none
      formats (fourcc) and modifiers (names):
      0x30335241 = 'AR30'; 0x00ffffffffffffff = INVALID
      0x30335241 = 'AR30'; 0x0000000000000000 = LINEAR
      0x30334241 = 'AB30'; 0x00ffffffffffffff = INVALID
      0x30334241 = 'AB30'; 0x0000000000000000 = LINEAR
      0x30334258 = 'XB30'; 0x00ffffffffffffff = INVALID
      0x30334258 = 'XB30'; 0x0000000000000000 = LINEAR
      0x30335258 = 'XR30'; 0x00ffffffffffffff = INVALID
      0x30335258 = 'XR30'; 0x0000000000000000 = LINEAR
interface: 'wp_linux_drm_syncobj_manager_v1',            version:  1, name: 58
interface: 'kde_output_device_v2',                       version:  8, name: 59
interface: 'wl_output',                                  version:  4, name: 60
   name: HDMI-A-1
   description: LG Electronics HDMI-A-1-LG FULL HD
   x: 0, y: 0, scale: 1,
   physical_width: 480 mm, physical_height: 270 mm,
   make: 'LG Electronics', model: 'HDMI-A-1-LG FULL HD',
   subpixel_orientation: unknown, output_transform: normal,
   mode:
      width: 1920 px, height: 1080 px, refresh: 60.000 Hz,
      flags: current
interface: 'org_kde_kwin_blur_manager',                  version:  1, name: 61
interface: 'org_kde_kwin_contrast_manager',              version:  2, name: 62
interface: 'org_kde_kwin_slide_manager',                 version:  1, name: 63

_________________
Greybeard
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2422

PostPosted: Sat Sep 14, 2024 5:31 pm    Post subject: Reply with quote

Share what the glxinfo output is under Wayland please.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1629
Location: U.S.A.

PostPosted: Sat Sep 14, 2024 6:22 pm    Post subject: Reply with quote

He says he is still using X though. I switched back to X cause wayland wasn't cutting it for me.

jesnow have you looked at the Gentoo wiki page for Nvidia?

Under X my NVIDIA GeForce RTX 2070 SUPER shows this:

Code:
# glxgears
117495 frames in 5.0 seconds = 23498.969 FPS
120276 frames in 5.0 seconds = 24055.121 FPS
120106 frames in 5.0 seconds = 24021.191 FPS
120335 frames in 5.0 seconds = 24066.830 FPS


# glxinfo | grep direct
direct rendering: Yes

_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2422

PostPosted: Sun Sep 15, 2024 3:12 am    Post subject: Reply with quote

Yes, I meant X.
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 882

PostPosted: Sat Sep 21, 2024 1:40 pm    Post subject: Reply with quote

Here it is: Seems to all be working. Just slower than it seemed before. When I sweep a window across the screen (50cm) in one second I would expect the distance between redraws to be less than a cm at 60 frames/second. Instead it's more like 3cm. But maybe what I need is a screen with a higher frame rate if I don't want to see those artefacts.

How do you get those ultra high frame rates shown above ? Do you have a special monitor?

Cheers,
Jon.

logrusx wrote:
Yes, I meant X.


Code:


jesnow@bartali ~ $ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.095 FPS
300 frames in 5.0 seconds = 59.952 FPS
300 frames in 5.0 seconds = 59.952 FPS
300 frames in 5.0 seconds = 59.953 FPS
300 frames in 5.0 seconds = 59.952 FPS
300 frames in 5.0 seconds = 59.943 FPS
X connection to :0 broken (explicit kill or server shutdown).
jesnow@bartali ~ $ glxinfo | grep direct
direct rendering: Yes


Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 653

PostPosted: Sat Sep 21, 2024 9:03 pm    Post subject: Reply with quote

jesnow wrote:
How do you get those ultra high frame rates shown above ?
Code:
jesnow@bartali ~ $ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

You've answered your own question: Running synchronized to the vertical refresh. You have "Tearfree" or "Vsync" set somewhere, or it's on by default.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 959
Location: we the north

PostPosted: Sat Sep 28, 2024 10:29 pm    Post subject: Reply with quote

Ralphred wrote:
jesnow wrote:
How do you get those ultra high frame rates shown above ?
Code:
jesnow@bartali ~ $ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

You've answered your own question: Running synchronized to the vertical refresh. You have "Tearfree" or "Vsync" set somewhere, or it's on by default.


how do you fix this?
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 653

PostPosted: Sun Sep 29, 2024 8:13 pm    Post subject: Reply with quote

juniper wrote:
how do you fix this?
I could give you detailed instructions for amdgpu, but not the nvidia driver, sorry.[/code]
Back to top
View user's profile Send private message
Frautoincnam
Guru
Guru


Joined: 19 May 2017
Posts: 324

PostPosted: Sun Sep 29, 2024 10:51 pm    Post subject: Reply with quote

Try
Code:
$ __GL_SYNC_TO_VBLANK=0 glxgears


Code:
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.258 FPS
301 frames in 5.0 seconds = 60.001 FPS
301 frames in 5.0 seconds = 60.004 FPS
X connection to :0 broken (explicit kill or server shutdown).
$ __GL_SYNC_TO_VBLANK=0 glxgears
200278 frames in 5.0 seconds = 40055.555 FPS
197530 frames in 5.0 seconds = 39505.992 FPS
200024 frames in 5.0 seconds = 40004.746 FPS
X connection to :0 broken (explicit kill or server shutdown).
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 882

PostPosted: Sat Oct 26, 2024 9:19 pm    Post subject: Reply with quote

fwiw that worked!

It sounds like what I need is a new monitor, as my graphics card can mash out way more frames than I could ever display.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum