Page 1 of 2

Weird graphics bug (or something)

PostPosted: 10 Sep 2016, 22:46
by Karaya
Hello everyone,

I have recently run into a weird problem that i have never heard of before. Sometimes in the middle of a game or even in the deck editor, i get a weird graphic bug. basically it feels like a second window of xmage following my mouse around the screen. Its very weird and the only fix is to restart the client altogether. Which is obviously annoying since i dont actually want to quit (reconnecting doesnt work).

Has anyone else ever encountered this? Or knows a fix to it or something ?

Re: Weird graphics bug (or something)

PostPosted: 11 Sep 2016, 08:52
by escplan9
Do these look like the issue you are describing?

https://github.com/magefree/mage/issues/2166

and

https://github.com/magefree/mage/issues/1514

There's discussion in both of those on trying to find the cause of the issue affecting some people and possible resolutions. See if something helps within there. We have not been able to determine what is causing this issue or what resolves it for everyone.

Re: Weird graphics bug (or something)

PostPosted: 11 Sep 2016, 20:29
by Karaya
Yes that is exactly what it looks like. Thanks. Lets see what we can do about that.

I noticed that many of the people posting in there have the same 1920x1080 resolution im using as well. But since it happened with others as well it doesnt seem to be related at all.

Re: Weird graphics bug (or something)

PostPosted: 12 Sep 2016, 22:21
by Karaya
Before it used to happen only every couple of days. But now it happens pretty much every game. I cant play tourneys anymore. This is pretty much gamebreaking.

Re: Weird graphics bug (or something)

PostPosted: 14 Sep 2016, 18:30
by LevelX
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.

Re: Weird graphics bug (or something)

PostPosted: 14 Sep 2016, 19:35
by Karaya
Thanks for the help,lets see if that helps.


update: Nope it still happens. the only way that sometimes works, is to kill the client with task manager so i can restart the game without quitting, but that doesnt always work.

Re: Weird graphics bug (or something)

PostPosted: 15 Sep 2016, 03:14
by Fieldsweeper
^^ yup same here been going on for a while a few updates ago broke that. I am telling you its double buffering or something related to the way the drawing is being done. I run at 720p becasue 1080 is just too small, no backgrounds or anything all default

Re: Weird graphics bug (or something)

PostPosted: 24 Sep 2016, 20:30
by Karaya
OK, so i tried to fix it by reverting to an older java version that my xmage buddy uses.....

now java just stops working every couple minutes. the console gives me this :

ERROR 2016-09-24 22:26:14,452 java.io.EOFException =>[Util4] ImageCache.makeThumbnail
java.io.EOFException
at net.java.truecommons.io.PowerBuffer.load(PowerBuffer.java:144)
at net.java.truevfs.comp.zip.AbstractZipFile.checkZipFileSignature(AbstractZipFile.java:162)
at net.java.truevfs.comp.zip.AbstractZipFile.<init>(AbstractZipFile.java:137)
at net.java.truevfs.comp.zipdriver.ZipInputService.<init>(ZipInputService.java:40)
at net.java.truevfs.comp.zipdriver.AbstractZipDriver.newZipInput(AbstractZipDriver.java:337)
at net.java.truevfs.comp.zipdriver.AbstractZipDriver.newInput(AbstractZipDriver.java:319)
at net.java.truevfs.comp.zipdriver.AbstractZipDriver.newInput(AbstractZipDriver.java:46)
at net.java.truevfs.kernel.spec.FsArchiveDriver.newInput(FsArchiveDriver.java:187)
at net.java.truevfs.kernel.impl.TargetArchiveController.liftedTree1$1(TargetArchiveController.scala:150)
at net.java.truevfs.kernel.impl.TargetArchiveController.mount0(TargetArchiveController.scala:149)
at net.java.truevfs.kernel.impl.TargetArchiveController.mount(TargetArchiveController.scala:109)
at net.java.truevfs.kernel.impl.FileSystemArchiveController$ResetFileSystem.autoMount(FileSystemArchiveController.scala:70)
at net.java.truevfs.kernel.impl.FileSystemArchiveController.autoMount(FileSystemArchiveController.scala:37)
at net.java.truevfs.kernel.impl.BasicArchiveController.checkAccess(BasicArchiveController.scala:56)
at net.java.truevfs.kernel.impl.DefaultManager$BackController.net$java$truevfs$kernel$impl$SyncController$$super$checkAccess(DefaultManager.scala:158)
at net.java.truevfs.kernel.impl.SyncController$$anonfun$checkAccess$1.apply$mcV$sp(SyncController.scala:47)
at net.java.truevfs.kernel.impl.SyncController$$anonfun$checkAccess$1.apply(SyncController.scala:47)
at net.java.truevfs.kernel.impl.SyncController$$anonfun$checkAccess$1.apply(SyncController.scala:47)
at net.java.truevfs.kernel.impl.SyncController$class.net$java$truevfs$kernel$impl$SyncController$$apply(SyncController.scala:129)
at net.java.truevfs.kernel.impl.SyncController$class.checkAccess(SyncController.scala:47)
at net.java.truevfs.kernel.impl.DefaultManager$BackController.net$java$truevfs$kernel$impl$LockController$$super$checkAccess(DefaultManager.scala:158)
at net.java.truevfs.kernel.impl.LockController$$anonfun$checkAccess$1.apply$mcV$sp(LockController.scala:48)
at net.java.truevfs.kernel.impl.LockController$$anonfun$checkAccess$1.apply(LockController.scala:48)
at net.java.truevfs.kernel.impl.LockController$$anonfun$checkAccess$1.apply(LockController.scala:48)
at net.java.truevfs.kernel.impl.LockingStrategy.apply(LockingStrategy.scala:84)
at net.java.truevfs.kernel.impl.LockController$class.timedReadOrWriteLocked(LockController.scala:104)
at net.java.truevfs.kernel.impl.LockController$class.checkAccess(LockController.scala:48)
at net.java.truevfs.kernel.impl.DefaultManager$BackController.checkAccess(DefaultManager.scala:158)
at net.java.truevfs.kernel.impl.ArchiveControllerAdapter.checkAccess(ArchiveControllerAdapter.scala:23)
at net.java.truevfs.comp.zipdriver.AbstractKeyController.checkAccess(AbstractKeyController.java:105)
at net.java.truevfs.kernel.spec.FsDecoratingController.checkAccess(FsDecoratingController.java:53)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$$anonfun$checkAccess$1.apply(FalsePositiveArchiveController.scala:74)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$$anonfun$checkAccess$1.apply(FalsePositiveArchiveController.scala:74)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$TryChild$.apply(FalsePositiveArchiveController.scala:195)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController.net$java$truevfs$kernel$impl$FalsePositiveArchiveController$$apply(FalsePositiveArchiveController.scala:172)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController.checkAccess(FalsePositiveArchiveController.scala:74)
at net.java.truevfs.access.TFile.exists(TFile.java:1670)
at org.mage.plugins.card.images.ImageCache$1.apply(ImageCache.java:112)
at org.mage.plugins.card.images.ImageCache$1.apply(ImageCache.java:53)
at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)
at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:462)
at com.google.common.collect.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2045)
at org.mage.plugins.card.images.ImageCache.getImage(ImageCache.java:222)
at org.mage.plugins.card.images.ImageCache.getThumbnail(ImageCache.java:202)
at org.mage.plugins.card.images.ImageCache.getImage(ImageCache.java:347)
at org.mage.card.arcane.CardPanelRenderImpl$1.run(CardPanelRenderImpl.java:328)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Suppressed: java.nio.file.NoSuchFileException: C:\Users\Karaya\Downloads\xmage\mage-client\plugins\images\RAV.thumb.zip\RAV\Sacred Foundry.full.jpg
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(WindowsFileSystemProvider.java:338)
at sun.nio.fs.WindowsFileSystemProvider.checkAccess(WindowsFileSystemProvider.java:362)
at net.java.truevfs.driver.file.FileController.checkAccess(FileController.java:101)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$$anonfun$checkAccess$1.apply(FalsePositiveArchiveController.scala:74)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$$anonfun$checkAccess$1.apply(FalsePositiveArchiveController.scala:74)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$UseParent.apply(FalsePositiveArchiveController.scala:204)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController.net$java$truevfs$kernel$impl$FalsePositiveArchiveController$$apply(FalsePositiveArchiveController.scala:178)
... 16 more
Suppressed: java.nio.file.NoSuchFileException: C:\Users\Karaya\Downloads\xmage\mage-client\plugins\images\RAV.thumb.zip\RAV
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at net.java.truevfs.driver.file.FileOutputSocket.begin(FileOutputSocket.java:112)
at net.java.truevfs.driver.file.FileOutputSocket.stream(FileOutputSocket.java:233)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$Output$1$$anonfun$stream$2.apply(FalsePositiveArchiveController.scala:119)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$Output$1$$anonfun$stream$2.apply(FalsePositiveArchiveController.scala:119)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$UseParent.apply(FalsePositiveArchiveController.scala:204)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController.net$java$truevfs$kernel$impl$FalsePositiveArchiveController$$apply(FalsePositiveArchiveController.scala:172)
at net.java.truevfs.kernel.impl.FalsePositiveArchiveController$Output$1.stream(FalsePositiveArchiveController.scala:119)
at net.java.truevfs.access.TFileOutputStream.<init>(TFileOutputStream.java:164)
at net.java.truevfs.access.TFileOutputStream.<init>(TFileOutputStream.java:134)
at net.java.truevfs.access.TFileOutputStream.<init>(TFileOutputStream.java:120)
at org.mage.plugins.card.images.ImageCache.makeThumbnail(ImageCache.java:302)
at org.mage.plugins.card.images.ImageCache$1.makeThumbnailByFile(ImageCache.java:152)
at org.mage.plugins.card.images.ImageCache$1.apply(ImageCache.java:127)
... 13 more
Sep 24, 2016 10:27:55 PM java.util.prefs.WindowsPreferences <init>


What the hell is happening ?

Re: Weird graphics bug (or something)

PostPosted: 08 Oct 2016, 14:42
by Karaya
Fun fact, it seems to have stopped now.

Re: Weird graphics bug (or something)

PostPosted: 09 Oct 2016, 06:18
by LevelX
Karaya wrote:Fun fact, it seems to have stopped now.
Since XMage 1.4.16v0 XMage is no longer compiled with Java 7 compatibility.
Maybe that's the difference.

Re: Weird graphics bug (or something)

PostPosted: 10 Oct 2016, 21:18
by Karaya
False alarm, just happened again.

Re: Weird graphics bug (or something)

PostPosted: 05 Dec 2016, 21:52
by Karaya
Still having that. Any news ?

It seems to happen more often or very often whenever something is revealed. Those little popup thingies. Could that be the problem ?

Re: Weird graphics bug (or something)

PostPosted: 01 Jan 2017, 22:33
by Karaya
Soooo....is there gonna be any development at all ? Is there anything i can do to help analize it ?

Re: Weird graphics bug (or something)

PostPosted: 15 Jan 2017, 22:01
by Karaya
Anyone ?

Re: Weird graphics bug (or something)

PostPosted: 15 Jan 2017, 22:43
by LevelX
The problem is within the java/graphic card/graphic card driver combination.

Also other java applications have that problem so it's not a problem we can corretly solve within the xmage code.
As long as the developers don't have a system the problem happens, it's also not easy to find/implement a workaround by not using the causing function(s) (if possible at all).

So you can try to use another graphic card (maybe on borad) or switch off some features of the graphic card to check if that changes the behaviour.