Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling and panning on Linux is very laggy on versions 9.1 and later #1788

Closed
tdaede opened this issue Apr 19, 2020 · 3 comments
Closed

Scrolling and panning on Linux is very laggy on versions 9.1 and later #1788

tdaede opened this issue Apr 19, 2020 · 3 comments

Comments

@tdaede
Copy link

tdaede commented Apr 19, 2020

Describe the bug
Panning and scrolling in all windows is very slow. This seems to be fallout from #341 changing the xrender options. A workaround is to set support/launch.properties to:

VMARGS_LINUX=-Dsun.java2d.xrender=false

and that brings smooth scrolling back.

I think this might depend on what provides XRender. It's provided by Glamor (a GL based backend) on my system.

To Reproduce
Open a large window with the function call graph open. Drag it around, and a redraw will only happen once the mouse cursor slows down.

Expected behavior
Behavior of 9.0.4 and below with very fast scrolling.

Environment (please complete the following information):

  • OS: Fedora 32
    Gnome 3 X.Org
    Intel HD4600
    mesa version 20.0.4
    (xrender provided by glamor)
  • Java Version: 14
    openjdk version "1.8.0_242"
    OpenJDK Runtime Environment (build 1.8.0_242-b08)
    OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
  • Ghidra Version: 9.1 and 9.1.2
@ryanmkurtz
Copy link
Collaborator

The values in launch.properties intend to define reasonable defaults, and the user is encouraged to change them based on their individual system configurations and needs. This is the first issue that's come up with xrender being set to true, so I'd be hesitant to see it changed at this point. Was this a standard Fedora install or did you do something special for glamor?

@dragonmacher
Copy link
Collaborator

Closed due to inactivity.

@nzec
Copy link

nzec commented Oct 6, 2024

Also encountered this bug. setting VMARGS_LINUX=-Dsun.java2d.xrender=false seems to have fixed it. On a Ubuntu 22.04 install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants