Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-05-22 07:53:10

sami
Member
Registered: 2019-05-22
Posts: 9

When I move a window using mouse, the window lags.

When I move a window by left-clicking on the title-bar and holding the mouse button down, I can see some flicker in window.

When I move mouse and stop the window continues to move before coming to rest and there is a tearing of window.

If I try with small sized window, then this issue is not seen.

Can any one tell me what is the root cause and how to fix this issue.

Offline

#2 2019-05-22 23:01:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,499

Re: When I move a window using mouse, the window lags.

Which version of Xfce? What video card and driver are you using?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-05-22 23:56:05

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

I am using XFCE Version 4.12, distributed by petalinux and Mali 400 GPU on Xilinx ultrascale uz3eg board

Offline

#4 2019-05-22 23:59:31

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,499

Re: When I move a window using mouse, the window lags.

Can you post back the results of the following:

lspci -k | grep -A5 VGA
xfwm4 -V
xfconf-query -c xfwm4 -lv

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-05-23 00:05:21

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

sh-4.4# lspci  (no output from lspci)
sh-4.4# xfwm4 -V
        This is xfwm4 version 4.12.4 (revision 7844952) for Xfce 4.12
        Released under the terms of the GNU General Public License.
        Compiled against GTK+-2.24.31, using GTK+-2.24.31.

        Build configuration and supported features:
        - Startup notification support:                 Yes
        - XSync support:                                Yes
        - Render support:                               Yes
        - Xrandr support:                               Yes
        - Embedded compositor:                          Yes
        - KDE systray proxy (deprecated):               No




sh-4.4# xfconf-query -c xfwm4 -lv
/general/activate_action                 none
/general/borderless_maximize             false
/general/box_move                        false
/general/box_resize                      false
/general/button_layout                   O|SHMC
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  true
/general/cycle_apps_only                 false
/general/cycle_draw_frame                false
/general/cycle_hidden                    false
/general/cycle_minimum                   false
/general/cycle_preview                   false
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Alt
/general/focus_delay                     250
/general/focus_hint                      false
/general/focus_new                       true
/general/frame_opacity                   0
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                0
/general/maximized_offset                0
/general/mousewheel_rollup               false
/general/move_opacity                    0
/general/placement_mode                  mouse
/general/placement_ratio                 20
/general/popup_opacity                   0
/general/prevent_focus_stealing          false
/general/raise_delay                     250
/general/raise_on_click                  true
/general/raise_on_focus                  false
/general/raise_with_any_button           false
/general/repeat_urgent_blink             false
/general/resize_opacity                  0
/general/scroll_workspaces               false
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                false
/general/show_frame_shadow               false
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  true
/general/snap_to_windows                 false
/general/snap_width                      10
/general/sync_to_vblank                  true
/general/theme                           Default
/general/tile_on_move                    false
/general/title_alignment                 center
/general/title_font                      Sans Bold 9
/general/title_horizontal_offset         0
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/titleless_maximize              false
/general/toggle_workspaces               false
/general/unredirect_overlays             false
/general/urgent_blink                    false
/general/use_compositing                 false
/general/workspace_count                 4
/general/workspace_names                 <<UNSUPPORTED>>
/general/wrap_cycle                      false
/general/wrap_layout                     false
/general/wrap_resistance                 10
/general/wrap_windows                    true
/general/wrap_workspaces                 false
/general/zoom_desktop                    true

Offline

#6 2019-05-23 00:14:28

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

and I can see in the top command that Xorg uses around 87% CPU when I just move any window once.

Offline

#7 2019-05-23 00:35:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,499

Re: When I move a window using mouse, the window lags.

What is a Xilinx ultrascale uz3eg board? Is it some sort of embedded system?

and I can see in the top command that Xorg uses around 87% CPU when I just move any window once.

That would do it. Not sure what to suggest (you already have the compositor disabled).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2019-05-23 00:45:05

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

Yes it is embedded system board

Offline

#9 2019-05-23 02:31:08

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

how can I make XFCE to use GPU instead of CPU for rendering.

Offline

#10 2019-05-23 10:42:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,499

Re: When I move a window using mouse, the window lags.

It would be something you would configure in your video card - it would decide whether to use the GPU or offload to the CPU. It's interesting that lspci doesn't identify your video card and driver.

Can you post back the full content of "lspci" so we can see what components are identified by the kernel as well as the full contents of your Xorg.log file?

Maybe also the contents of "dmesg".


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2019-05-24 01:10:35

sami
Member
Registered: 2019-05-22
Posts: 9

Re: When I move a window using mouse, the window lags.

Mali GPU is integrated in SOC and it is not connected via PCI interface.

Please find the xorg.conf, Xorg.0.log and dmesg below
xorg.conf       :     https://pastebin.com/5FRHuacq
Xorg.0.log      :     https://pastebin.com/EaT2xQMU
dmesg output :     https://pastebin.com/6rwZvNzA

And is there any way to disable the compositor from any configuration file in xfce or any command that I can run during startup to disable the compositor?

Offline

#12 2019-05-24 01:47:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,499

Re: When I move a window using mouse, the window lags.

sami wrote:

And is there any way to disable the compositor from any configuration file in xfce or any command that I can run during startup to disable the compositor?

If you disable the compositor at Settings Manager > Window Manager Tweaks > Compositor, it will persist over logins. You can also run the following command:

xfconf-query -c xfwm4 -p /general/use_compositing -s false

...or alternatively, start xfwm4 with the "--compositor=off" parameter.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 600.92 KiB (Peak: 617.77 KiB) ]