Open douira opened 1 year ago
You might be running out of VRAM to render that large of a texture. JavaFX is limited to 512MM by default. You can try giving it more using the prism.maxvram
flag. For example, -Dprism.maxvram=2G
to give it two gigs.
Thanks, that fixed my issue with the freezing!
On 27. Jan 2023, at 02:18, Pierce Thompson @.***> wrote:
You might be running out of VRAM to render that large of a texture. JavaFX is limited to 512MM by default. You can try giving it more using the prism.maxvram flag. For example, -Dprism.maxvram=2G to give it two gigs.
— Reply to this email directly, view it on GitHub https://github.com/Querz/mcaselector/issues/400#issuecomment-1405891873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECTWFSI35ZVC3VHCSGVAB3WUMO6PANCNFSM6AAAAAATUETGHM. You are receiving this because you authored the thread.
Describe the bug When I resize the main window to be very big, to full screen on macOS with fractional scaling. Logical resolution is 3360x1890 while the actual resolution it's rendering at is 6720x3780. The problem doesn't happen until it's almost fullscreen. The size at which it happens is around 95% full size when I resize it slowly.
To Reproduce Steps to reproduce the behavior:
java -jar -Xmx20G ...
Expected behavior It shouldn't freeze and error.
Screenshots and other files Screenshots while errored (varies randomly):
The debug log is rather short: mcaselector-20230107-212047-1.log
But there are also errors in the console:
and
These exceptions are printed many times and the two types are mixed.
Settings:
Environment:
OS: macOS 12.6.1
Java version:
Version of MCA Selector: 2.1
Additional context Happens even if no world is loaded, so that isn't relevant here.