bino icon indicating copy to clipboard operation
bino copied to clipboard

OpenGL issue on macOS M1

Open renambot opened this issue 1 year ago • 2 comments

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable

I think this breaks some stereo modes like the interlaced mode (even/odd lines). The right eye gets a messed up texture.

Anyone else getting this error ?

renambot avatar Feb 01 '24 23:02 renambot

I don't have a Mac myself, but you can try the following:

  • Replace GL_LINEAR_MIPMAP_LINEAR with GL_LINEAR everywhere in the source code. If that solves the problem, then your OpenGL version fails to generate mipmaps with glGenerateMipmap().
  • Otherwise, try compiling a Debug build and run Bino with --log-level=debug --log-file=bino.log; maybe this tells us something.

marlam avatar Feb 02 '24 09:02 marlam

Thanks, I'll try and report.

renambot avatar Feb 02 '24 17:02 renambot

Did you get any results?

marlam avatar May 31 '24 18:05 marlam

Yes it worked, thanks ! The warning is still there though.

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
Bino: updating Gui menu state
Bino: OpenGL Variant:      OpenGL core profile
Bino: OpenGL Version:      4.1 Metal - 88.1
Bino: OpenGL GLSL Version: 4.10
Bino: OpenGL Vendor:       Apple
Bino: OpenGL Renderer:     Apple M1 Max
Bino: OpenGL AnisoTexFilt: yes
Bino: Using OpenGL in the Desktop variant
Bino: updating Gui menu state
Bino: rebuilding view program for surround mode off, non linear output false
Bino: rebuilding display program for output mode left
Bino: playlist: switching index from -1 to 0
Bino: updating Gui menu state
Bino: updating Gui menu state
Bino: Playback state changed to playing
Bino: initial input mode for shrek-forever-after-s3d-teaser.mp4: unknown
Bino: updating Gui menu state
Bino: rebuilding color conversion program for plane format 4, value range small, yuv space true
Bino: updating Gui menu state
Bino: rebuilding display program for output mode red-cyan-dubois
Bino: rebuilding display program for output mode even-odd-rows

renambot avatar May 31 '24 19:05 renambot

Issue #28 asks for a homebrew formula to build Bino 2.x; can you help with that?

marlam avatar Jun 08 '24 10:06 marlam