Skip to content
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

[obs] shader doesn't compile on Apple M1 Max #31

Open
MrLixm opened this issue Mar 24, 2024 · 0 comments
Open

[obs] shader doesn't compile on Apple M1 Max #31

MrLixm opened this issue Mar 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MrLixm
Copy link
Owner

MrLixm commented Mar 24, 2024

Issue reported by jackson hayes on Twitter.

initial error

1:06:34.668: Error compiling shader:
11:06:34.668: ERROR: 0:312: 'output' : Reserved word. 
11:06:34.668: ERROR: 0:312: 'output' : syntax error: syntax error
11:06:34.668: 
11:06:34.668: 
11:06:34.668: device_pixelshader_create (GL) failed
11:06:34.668: Pass (0) <> missing pixel shader!
11:06:34.668: [source_info.create] Loaded effect /Users/user/Documents/OBS/AgXc-main/obs/obs-script/AgX.hlsl
11:06:34.668: Effect compilation failed for /Users/user/Documents/OBS/AgXc-main/obs/obs-script/AgX.hlsl
11:06:34.668: 
11:06:34.668: Failed to create source 'AgX'!

a first fix has been issued in 245ed20

second error

After the above fix, a second new error can be observed

OBS 30.1.0 log file uploaded at 2024-03-24, 13:02:34
13:02:09.299: [AgXc][source_info.create] Loading effect /Users/user/Downloads/AgXc-main/obs/obs-script/AgX.hlsl
13:02:09.306: Error compiling shader:
13:02:09.306: ERROR: 0:709: '{' : syntax error: syntax error
13:02:09.306: 
13:02:09.306: 
13:02:09.306: device_pixelshader_create (GL) failed
13:02:09.306: Pass (0) <> missing pixel shader!
13:02:09.306: [AgXc][source_info.create] Effect compilation failed for /Users/user/Downloads/AgXc-main/obs/obs-script/AgX.hlsl

which is very vague and impossible to find what could be causing it if I can't reproduce on my side.

context

For the last error.

commit 3fac5fb

13:02:08.598: CPU Name: Apple M1 Max
13:02:08.598: Physical Cores: 10, Logical Cores: 10
13:02:08.598: Physical Memory: 65536MB Total
13:02:08.598: Model Identifier: MacBookPro18,2
13:02:08.598: OS Name: macOS
13:02:08.598: OS Version: Version 14.4 (Build 23E214)
13:02:08.598: Rosetta translation used: false
13:02:08.598: Kernel Version: 23.4.0
13:02:08.599: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
13:02:08.599: Current Date/Time: 2024-03-24, 13:02:08
13:02:08.599: Browser Hardware Acceleration: true
13:02:08.599: Qt Version: 6.6.2 (runtime), 6.6.2 (compiled)
13:02:08.599: Portable mode: false
13:02:08.693: OBS 30.1.0 (mac)
@MrLixm MrLixm added the bug Something isn't working label Mar 24, 2024
@MrLixm MrLixm self-assigned this Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant