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

No support for 4K screens #1702

Open
DieterVC opened this Issue Apr 25, 2017 · 11 comments

Comments

Projects
None yet
5 participants
@DieterVC

DieterVC commented Apr 25, 2017

Expected Behavior

Support for 4K screens

Current Behavior

No support for 4K screens: buttons too small to use.

Context

I cannot use Gephi on my new Dell XPS15 laptop with 4K touchscreen

Your Environment

  • Version used: Gephi 0.9.1
  • Operating System: Windows 10
@eduramiba

This comment has been minimized.

Show comment
Hide comment
@eduramiba

eduramiba Apr 27, 2017

Member

Unfortunately this is a Java issue only fixed in OSX. It seems it's fixed in Java 9 but I have not tested it.

http://openjdk.java.net/jeps/263
https://www.reddit.com/r/java/comments/49ip70/java_swing_is_tiny_on_hidpi_displays_what_can_be/

Member

eduramiba commented Apr 27, 2017

Unfortunately this is a Java issue only fixed in OSX. It seems it's fixed in Java 9 but I have not tested it.

http://openjdk.java.net/jeps/263
https://www.reddit.com/r/java/comments/49ip70/java_swing_is_tiny_on_hidpi_displays_what_can_be/

@gbolcer

This comment has been minimized.

Show comment
Hide comment
@gbolcer

gbolcer Jul 1, 2017

Same issue in Java8, Windows 10, x64. Can you force Gephi to use Java9?

gbolcer commented Jul 1, 2017

Same issue in Java8, Windows 10, x64. Can you force Gephi to use Java9?

@eduramiba

This comment has been minimized.

Show comment
Hide comment
@eduramiba

eduramiba Jul 1, 2017

Member

Try to edit gephi.conf and point jdkhome to your java9 installation.

Member

eduramiba commented Jul 1, 2017

Try to edit gephi.conf and point jdkhome to your java9 installation.

@gbolcer

This comment has been minimized.

Show comment
Hide comment
@gbolcer

gbolcer Jul 1, 2017

Thanks for that, BTW! I Set jdkhome in gephi.conf. Relauched program. I then noticed that gephi64 is available. That seems to have fixed the fontsize. The one side effect is that the anti-aliasing seems a little off when not zoomed in.

gbolcer commented Jul 1, 2017

Thanks for that, BTW! I Set jdkhome in gephi.conf. Relauched program. I then noticed that gephi64 is available. That seems to have fixed the fontsize. The one side effect is that the anti-aliasing seems a little off when not zoomed in.

@archenroot

This comment has been minimized.

Show comment
Hide comment
@archenroot

archenroot Feb 11, 2018

I will test on Gentoo amd64 system. JDK 8 is unusable as stated previously on 4K system.

archenroot commented Feb 11, 2018

I will test on Gentoo amd64 system. JDK 8 is unusable as stated previously on 4K system.

@archenroot

This comment has been minimized.

Show comment
Hide comment
@archenroot

archenroot Feb 11, 2018

Still same result, I completely recompile and run under JDK 9.0.4 64 on Gentoo system and after fresh start it looks like this:
image

Do I need to additionally change some settings? I expected auto adjustment...

archenroot commented Feb 11, 2018

Still same result, I completely recompile and run under JDK 9.0.4 64 on Gentoo system and after fresh start it looks like this:
image

Do I need to additionally change some settings? I expected auto adjustment...

@eduramiba

This comment has been minimized.

Show comment
Hide comment
@eduramiba

eduramiba Feb 12, 2018

Member

Related issue in Netbeans Platform https://netbeans.org/bugzilla/show_bug.cgi?id=252452

You can try to change the dpiaware setting and report results.

Member

eduramiba commented Feb 12, 2018

Related issue in Netbeans Platform https://netbeans.org/bugzilla/show_bug.cgi?id=252452

You can try to change the dpiaware setting and report results.

@archenroot

This comment has been minimized.

Show comment
Hide comment
@archenroot

archenroot Feb 12, 2018

ok, let me check.

archenroot commented Feb 12, 2018

ok, let me check.

@archenroot

This comment has been minimized.

Show comment
Hide comment
@archenroot

archenroot Feb 12, 2018

Ok, this is with dpiaware enabled:
image

Here without this option in the file:
image

And here explicitelly disabled (parameter false):
image

Seems like not having any kind of effect...

Here are parameters from last instance (set dpiaware=false):

VM arguments:                                               
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                 
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                 
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  
-Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY 
-DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  
-DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                  
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof | VM arguments: | 
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                  
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                  
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  
-Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY -DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                  
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof
-- | -- | --
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                  
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                  
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  -Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY -DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                 
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof

thinks are better now, as soon as I am on 43" monitor today in office, yesterday I was reporting this issue from Dell XPS with 13" screen, where have to look from 10cm the screen to read gephi.

archenroot commented Feb 12, 2018

Ok, this is with dpiaware enabled:
image

Here without this option in the file:
image

And here explicitelly disabled (parameter false):
image

Seems like not having any kind of effect...

Here are parameters from last instance (set dpiaware=false):

VM arguments:                                               
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                 
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                 
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  
-Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY 
-DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  
-DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                  
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof | VM arguments: | 
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                  
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                  
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  
-Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY -DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                  
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof
-- | -- | --
-Djdk.home=/opt/oracle-jdk-bin-9.0.4                  
-Dnetbeans.running.environment=kde                  
-Dnetbeans.dirs=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/bin:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/gephi:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform:/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/etc:                  
-Dnetbeans.home=/home/zangetsu/devel/proj/graphics/gephi/modules/application/target/gephi/platform                  -Xms64m -Dsun.java2d.dpiaware=false -Xmx512m -Xverify:none                  
-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true                  -Dnetbeans.indexing.noFileRefresh=true                  
-Dplugin.manager.check.interval=EVERY_DAY -DaddExports:java.desktop/sun.awt=ALL-UNNAMED                  -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED                 
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED                  
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED                  
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED                  
-DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError                  
-XX:HeapDumpPath=/home/zangetsu/.gephi/0.9.3-SNAPSHOT/dev/var/log/heapdump.hprof

thinks are better now, as soon as I am on 43" monitor today in office, yesterday I was reporting this issue from Dell XPS with 13" screen, where have to look from 10cm the screen to read gephi.

@archenroot

This comment has been minimized.

Show comment
Hide comment
@archenroot

archenroot Feb 14, 2018

Anyone could report his/here observations about this 4k scaling?

archenroot commented Feb 14, 2018

Anyone could report his/here observations about this 4k scaling?

@nlappas

This comment has been minimized.

Show comment
Hide comment
@nlappas

nlappas Mar 3, 2018

I tried in my surface pro 2017, which has a resolution of 2,736x1,824 (200% scaling), with Java 9 installed, and gephi is unusably blurry.

nlappas commented Mar 3, 2018

I tried in my surface pro 2017, which has a resolution of 2,736x1,824 (200% scaling), with Java 9 installed, and gephi is unusably blurry.

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