Closed ianelletson closed 5 years ago
I was using dual monitors but I tried with just one monitor and the error persisted. It happens frequently (but not 100% of the time) when viewing a pop-up zone of cards.
I can remember some user having problems like that related to size and usage of background image and used screen resolution.
I would first try to switch off background image of xmage and check if that has any influence.
I guess graphics card driver is up-to-date?
My GTX 970 drivers are up to date. I will try to switch off the background image and report back if that is a workaround.
Not to jinx it but turning off the background image (in the options) has seemed to mostly fix the problem. However, the background image still exists while I play.
The issue came back again yesterday. Seemed to come up the same way.
I'm experiencing this whenever I cast Ancient Strrings.
I'm having this same problem, It seems to be random. If someone finds a way to fix it, tell me pls.
Please all people that encounter that problem should post operating system, version of OS, used screen resolution and used graphics card type. Maybe we get some relations that help us to identify the problem.
My resolution is 1920x1080 and 1080x1920 for my secondary
Here are my specs.
@CplCuddles do you also have two displays?
@rkfg I do not.
Here is a vid of it happening, if that helps. https://www.youtube.com/watch?v=EcK5JCI_FIQ
Can you check if using the 3D setting for Java like shown here does help you?
I don't have a selector as he did, I'm not running my integrated graphics at all, so it is irrelevant.
On a side note, these text glitches occur to me on Linux as well when I use SNA acceleration (it's on by default), after switching to UXA it's all good.
However, I'm of little help as I don't have windows installed anywhere. It would help to know the exact graphics driver version, just "up to date" isn't enough. There are beta drivers, you may try it. Certainly doesn't look like a game problem but could be related to JVM internals and/or drivers. For example, on Java 8 and Intel GPU I have a tiled image in the card preview panel (on the battlefield) and launcher, tiles are about 128x128 pixels I guess... On another PC with NVIDIA GPU it's all right on the same config. The game uses its own bundled Java so I don't think it's worth a report as it's an artificial environment.
The game I'm currently in it started when the "Permanent - Exile" window popped up. Which I can't seem to close either.
Is that related to the issue? This exile window can only be minimized, it doesn't have a close button.
It starts happening about half the time when that exile window pops up, if that would be considered related.
I think this issue is related to JVM. I encountered the same behavior while using a java-based P2P app yesterday, which is not related at all to XMage.
Well, I'd love to know how to fix it. It really have begun to irritate me quite badly. It happens almost every single game.
Well, I'd love to know how to fix it. It really have begun to irritate me quite badly. It happens almost every single game.
Probably you have to tweak/update/downgrade/setup your graphics card driver. It's nothing that we can do by changing xmage.
You can also try to start xmage manually without the launcher and user another (most current) java version. It's possible that this also can solve the problem.
tweak/update/downgrade/setup is quite a broad spectrum of possibilities. I switched it to run from the newest java update (I think.) We'll find out how it plays out.
Running a different java type did not help.
So what's your exact videodriver version? Did you try beta version of it or downgrading it?
My current driver is 362.00, I updated last night. I will play with it and see if I encounter the problem again.
There's also 364.51, released just yesterday. Give it a try if 362.00 doesn't help.
It did end up happening again, I updated to 364.51. Testing now.
It happened to me, 1080p dual monitor. 980ti, running driver 364.51. All zones are default other than making chat smaller via the in match slider bar.
I very highly doubt it's a graphics card issue as I have two monitors both running off the same graphics card. This issue only happens on my main monitor running at 1080p. When I drag it to my second monitor that is running 1440x900, the issue does not happen at all. It seems more like an issue with XMage adjusting to higher resolutions when certain things happen, but I have not been able to narrow down exactly what causes it to happen.
Interesting... thanks for letting us know. Sounds like dual monitor setups are more likely to run into this problem looking back at the discussion above.
From #2166 we have another report of another commonality being a dual monitor setup. How that would possibly interact so Java apps or XMage specifically causes this issue, I have no idea.
This issue seemed to be fixed in the previous version for me. Upon updating to 1.4.14 it has resurfaced.
Don't believe there was any change relevant to the UI. More likely it was coincidental the issue resurfaced now than something introduced in this new version. Though again, still not sure what the cause of the issue is in the first place.
Yeah I went through the commits to see if I could find anything, but nothing seems relevant. Very strange though because the bug happens nearly every single game when it is surfacing, but it didn't happen at all under the previous version.
Nothing from this thread seems to resolve this issue. Only using one single monitor at 2560x1440 resolution. No update on graphics card driver for the past month or so. Forced to move to old laptop running OSX. No problem there.
@Navyguy330 if it was simple to fix, believe me, we would have already fixed that. To be sincere, I think we can't even fix that because it seems to be an issue with some particular video drivers.
@Navyguy330 please don't be so rude, these people are providing a great free program and are working hard on it. You are free to (constructively) contribute.
Could some one try this? https://www.youtube.com/watch?v=UWu3dyXlbAM Just select the Java binary (jre) downloaded by the launcher.
@fwannmacher I am the person from #2166. I attempted to try what was in the video but it is not valid for my case. I am on an AMD card. I looked for equivalent settings in their drivers but could not find any.
@Fr33dan please, install the latest java version. After that, go to your xmage installation folder. You should be able to navigate the following folders xmage/mage-client/lib.
Inside the lib folder, open a cmd and run xmage using: javaw -Xms256m -Xmx512m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.4.14.jar
See if the new java version fixes the issue and post the result here :-)
I tried, it seemed like it might work for awhile, but then on my third match it started back up.
I downloaded and installed Java 8 Update 102. Didn't start using java 8 though, since i used xmage launched using the launcher. And I had selected to use the default image. The problem seems to have gone away for now. Not sure if any actually solve this. Just been watching some matches to test, so far the tearing problem has not resurfaced.
UPDATE: Too early to be happy I guess. The problem surfaced again. Will try out using java 8.
UPDATE: Testing using java 8 command prompt solution. Will update.
UPDATE: Tested and failed. It appeared that using java 8, the tearing surfaced quicker than using the java 7 (launcher). Tried that at least 3 times and they all appeared sooner than using java 7. With the launcher, the problem appears after some matches. Otherwise, it may seem to be totally random though.
Not sure if this is relevant or may have clues to the cause. From what I had observed, the tearing issue had happened quite randomly in matches. Can be in middle of the first match, or the fifth match. I found that by scrolling up and down clears the tearing for awhile, just enough for me to see the board and play some targeting spells and have a view of the board. I guess, temporarily if anyone has the same problem, perhaps scroll up and down (using the mouse wheel) to perhaps play when the tearing appears mid-game. And restart XMage application again once the tearing has surfaced.
I also noticed that the tearing problem WILL definitely appears when I scrolled (up and down) the player list on Tables. So far, it happens to me all the time. Not randomly like those in matches.
Huge thanks for the devs for the support of this great app :+1:
Having the same issue, but i don't run dual monitor...
Created a launcher config to use Java 8. Would be nice if some people with that problem could check if that helps.
Set your Xmage Home to "http://xmage.de/xmage1.4.15v1J8" in the Launcher settings to update Java and check if it helps you to run xmage with Java 8. Please report if you get the same errors or if it does resolve the problem.
Hasn't the graphics card some setting to act in a basic mode (e.g. without acceleration or so)? Would be interesting to know if that has any influence.
At least I see no approach how we can solve your problem within XMage coding.
It seems that downgrading the client to the beta version (1.4.12v0) stops this problem from occurring entirely. I've played a Lantern deck, one that pretty much always causes the screen tearing effect because of how much it causes hand checking and "top card of library is face-up" actions, and had no problems at all with the beta client.
The only issue with this, however, is that I am unable to play with Eldritch Moon and newer packs as they are not coded in with such an early version of XMage.
EDIT: Scratch that, it started occurring again, but it took a LOT longer than before with the recent versions before the screen tearing started happening.
Seems to happen when I play any deck that sees another player's hand or cares about the exile zone e.g. Storm and Bx Eldrazi.
I'm running Windows 10. Let me know if I can provide anything more to help.