Thread Locked This thread is locked - replies are not allowed.


This question is answered.


Permlink Replies: 7 - Pages: 1 - Last Post: 29 Apr 25, 17:46 Last Post By: davidekholm
solar21

Posts: 11
Registered: 21-Apr-2024
The screen goes crazy when you move the cursor
Posted: 9 Mar 25, 11:54
 
Attachment Untitled-1.jpg (688.1 KB)
Attachment Untitled-2.jpg (703.0 KB)
I don't know if it's related to the skin (I use Tiger), but since I started using jAlbum (a year ago) after some time the display on the screen starts to go crazy when moving the cursor. Only restarting the program helps.
RobM

Posts: 3,952
Registered: 4-Aug-2006
Re: The screen goes crazy when you move the cursor
Posted: 9 Mar 25, 13:17   in response to: solar21 in response to: solar21
Correct
Could be a graphics card problem. See this thread from a while ago
https://jalbum.net/forum/thread.jspa?messageID=356885&#356885
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: The screen goes crazy when you move the cursor
Posted: 9 Mar 25, 15:33   in response to: RobM in response to: RobM
 
Oh, yes, this brings back old memories. In the posted link, a couple of posts down, I'll put my money on using the -Dsun.java2d.d3d=false flag as the fix.
davidekholm

Posts: 3,939
Registered: 18-Oct-2002
Re: The screen goes crazy when you move the cursor
Posted: 10 Mar 25, 15:25   in response to: solar21 in response to: solar21
 
You can try switching the look and feel to system standard under Preferences. Please report if that works. We actually believe this is a graphics card bug that mainly affects some NVidia users. Please report to NVidia. jAlbum, being a Java software, doesn't have direct access to the graphics driver so it's unlikely that a jAlbum bug causes this. If it isn't the graphics driver, then it's likely something within the Java engine, but the Java engine is used on billions of devices, so I assume the best way forward would be for the graphics driver manufacturer to update their driver.

A workaround is to modify jAlbum.ini and add the following to the VirtualMachineParameter list:
-Dsun.java2d.d3d=false
. This will likely work around the problem, but at the expense of graphics performance.
solar21

Posts: 11
Registered: 21-Apr-2024
Re: The screen goes crazy when you move the cursor
Posted: 28 Apr 25, 12:29   in response to: solar21 in response to: solar21
 
You were right. It took me a while to test jAlbum with this addon, but it did help. I have a not so bad graphic card RTX 3070, so I am not afraid of a drop in performance. Thanks.

Edited by: solar21 on 28 Apr 2025, 19:12

Edited by: solar21 on 28 Apr 2025, 19:15
davidekholm

Posts: 3,939
Registered: 18-Oct-2002
Re: The screen goes crazy when you move the cursor
Posted: 28 Apr 25, 13:44   in response to: solar21 in response to: solar21
 
Good that this workaround works at least.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: The screen goes crazy when you move the cursor
Posted: 28 Apr 25, 20:30   in response to: davidekholm in response to: davidekholm
 
davidekholm wrote:
We actually believe this is a graphics card bug that mainly affects some NVidia users.

It's an equal opportunity screw-up by the writers of graphics drivers. When I first encountered this, about ten years ago, I believe it was a Radeon card that was the culprit. Eventually, a driver update fixed it. But now it looks like someone at NVidia has stumbled into the same minefield. Or maybe it's the same guy, and he's switched employers!
davidekholm

Posts: 3,939
Registered: 18-Oct-2002
Re: The screen goes crazy when you move the cursor
Posted: 29 Apr 25, 17:46   in response to: JeffTucker in response to: JeffTucker
 
I see the synonym of this flag set with Netbeans as well (-Dsun.java2d.noddraw=true), so it's at least not ONLY jAlbum that triggers these artifacts, but a very well known IDE as well (initially developed by Oracle/Sun)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums