FarPlaneTwo

FarPlaneTwo

18.5k Downloads

Requires OpenGL 4.5 or Above

WulkanAPI opened this issue ยท 31 comments

commented

I run on a pretty low-end system and my graphics card doesn't support anything above OpenGL 4.4.
Under your list of goals you've stated that you're aiming to run the game on your integrated graphics, your CPU has a HD 3000 which only supports OpenGL up to version 3.1 which is under the required 4.5

So I'm hoping that you fix it or implement the feature, no pressure. Take your time.

commented

What about support for Metal?

commented

Considering Metal is experimentally supported in vanilla post 1.17, even when running under Fabulous Graphics (the only part that needs 4.4+ afaik?), it should be doable? but it'll need a OpenGL <-> Metal Translation Layer which aren't always the most complete. Furthermore ARM64 Macs throw a wrench into things possibly

commented

while the mod may work on macs, i have not and do not plan on going out of my way to support them. if apple decides to throw all standards to the wind and force developers to write special rendering code for macs, then that's their choice and i feel in no way obliged to support it. that said, has mojang actually explicitly added support for metal on recent versions? i haven't looked at the code, and hadn't heard anything as to them supporting anything other than opengl.

commented

my intel hd 4000 only supports up to opengl 4.0

commented

FYI, MacOS Minecraft WILL support OpenGL 4.1 on 1.17+ I assume Mojang fixed this in 21w10a (added vanilla waving plants)

commented

Macs by default use 2.1, but if a higher version is requested it will do the minimum required version.

commented
$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 21.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

As you can see my OpenGL core profile version string is 4.5, however f2p still says it requires OpenGL 4.5.
Anything I can do?

commented
$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 21.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

As you can see my OpenGL core profile version string is 4.5, however f2p still says it requires OpenGL 4.5. Anything I can do?

It may work on windows.

Linux i965/i915 drivers for Intel GPUs don't support compatibility profiles at all, so you can't use opengl 2.x or older together with newer opengl features.

There are newer Intel drivers on Linux that do support it but you have a Haswell (4th gen) CPU and the new drivers only support 5th gen and newer.

I have also personally confirmed that on that generation Zink (opengl implementation on top of Vulkan) allows full support for compatibility profile all the way up to opengl 4.6 but you would probably have to compile latest version from git yourself and it may have some graphical issues in main menu.

commented

As you can see my OpenGL core profile version string is 4.5,

Minecraft 1.12.2 uses the compatibility profile, not the core profile. Your OpenGL version in the compatibility profile is 3.0.

commented

However, on 1.17+, it uses core profile. Is there any mod that causes MacOS 1.16 or older to use core profile?

commented

sorry. Minecraft 1.16 or older ON MacOS

commented

Maybe a fork of farplane 2 would be the best way to add compatibility for older openGL versions? Just an idea, but what if the original version had all of the features, and the lite version could have all of the basic features and maximum compatibility

commented

I can't use it because my mac has outdated drivers and can only support up to 4.1

commented

Minecraft will actually run OpenGL 3.2 in 1.18 since that is the MINIMUM required version. If mojang updates to 4.0 or 4.1, many players on MacOS will be in luck since they will be able to run many shaderpacks running OpenGL 4.0/4.1 such as Nostalgia, Kappa and (with low render distance) shaders such as Continuum.

commented

So far, I can run Redhat and Chocapic v6 (requiring 3.2) on a mac.

commented

I can run Sildurs, Chocapic and a few others but I can't run Seus, DrDestens, MakeUp and most other shaders

commented

DrDestens actually works for me but many features like water are broken.

commented

Since I tried it with iris it completely failed to load

commented

Before pushing how about reading what the dev said about it :D

The issue is marked as open and I am showing it's importance to be finished soon in my comment.
But no rush. If it takes forever, then so be it.
Not sure what you are referring me to read on?

commented

Just pushing to get this added.
You really need to add this compatibility.
Add it to the lowest vversion you will support because many people use devices that just can't support 4.5 and above.
And better yet, some devices are forced to use a compatibility profile lower than their OpenGL core version which some operating systems do not let you change. Now if you have a workaround for this, I would for sure love to hear it because this is a great mod!
Way better in the aspect that it supports 1.12.2 unlike a certain other mod, cough cough distant horizons
Any who, that makes this a great mod since modding at it's finest comes in 1.12.2. So please consider this compatibility feature and I hope it gets added soon!

commented

Before pushing how about reading what the dev said about it :D

commented

my i5-2520M can run up to gl 3.3 with Mesa drivers :P

i plan on adding multiple backwards-compatibility modes for older gl versions, which will come at the cost of performance and/or features (note that i haven't actually worked on this yet, so there might be more things i've forgotten about that would also have to change):

  • gl 4.4
    • would permanently disable the reversed-z depth buffer, resulting in visible z-fighting on distant terrain
  • gl 4.3
    • all previously listed drawbacks
    • would disable the (not yet implemented) shader compatibility mode
  • gl 4.2
    • all previously listed drawbacks
    • using multidraw to accelerate rendering would be impossible
    • shader storage buffers aren't available, so i'd need to either use uniform buffers (which are extremely slow with large sizes, and also can't be as big) or texture buffers (harder to use and imprecise)
  • gl 4.1 + 4.0 + 3.3
    • all previously listed drawbacks
    • base instance can't be set for instanced rendering, which means yet another buffer upload or uniform change per tile

i have no plans to support anything older than 3.3.

commented

i plan on supporting everything from the latest version down to 1.7.10 (and, if the stars align right, as far back as 1.4.7)

commented

Considering minecraft itself now requires opengl 4.4+ why bother supporting anything below that? For older versions?

commented

Considering minecraft itself now requires opengl 4.4+ why bother supporting anything below that? For older versions?

Minecraft says it requires OpenGL 4.4+ but I can still play the game just fine with my laptop on 1.17. The processor inside it has integrated graphics that only support up to OpenGL 4.3 (Intel HD 4600) So I believe Minecraft still allows previous OpenGL versions to run.

commented

i plan on supporting everything from the latest version down to 1.7.10 (and, if the stars align right, as far back as 1.4.7)

FarPlaneTwo with this mod would be absolute insanity

commented

i plan on supporting everything from the latest version down to 1.7.10 (and, if the stars align right, as far back as 1.4.7)

Why go that old? Older mc version is already pretty easy to run.

commented

because tekkit classic is on 1.4.7, and even older MC versions won't magically let you use a 1 million block render distance just like that

commented

pleaser add 2.0

commented

I assume that you're running Minecraft on macOS.
I think that going down to 2.0 would be a little too much, the creator also stated that he wouldn't go any further than 3.3.

Sorry bud.

commented

pleaser add 2.0

no. what part of "i have no plans to support anything older than 3.3." was unclear?