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

Effect Compilation Fails via Wine on Arch Linux #7953

Open
kimimaru4000 opened this issue Nov 6, 2022 · 2 comments
Open

Effect Compilation Fails via Wine on Arch Linux #7953

kimimaru4000 opened this issue Nov 6, 2022 · 2 comments
Labels
Linux MacOS Setup Related to setuping a MonoGame project for the first time

Comments

@kimimaru4000
Copy link
Contributor

This is a follow-up to #7360. I'm still experiencing the same issue on Arch Linux.

I need to update an existing game to work on newer operating systems, including Arch Linux for the Steam Deck. I followed all the steps and thought I did everything correctly, but the output is still the same as it was for me two years ago:

Build started (redacted)

(redacted)/Desktop/Test/Test/Content/File.fx
(redacted)/Desktop/Test/Test/Content/File.fx: 

Build 0 succeeded, 1 failed.

Time elapsed 00:00:03.82.

I have wine-staging 7.20-1 installed, which includes 32-bit and 64-bit versions of Wine.

I'm honestly not sure how others have managed to get this to work since it never worked for me across 2 different machines and 2 different operating systems.

Are the instructions updated on the documentation, or am I missing something? I would really appreciate help getting this resolved since it's been a frustrating pain point whenever I want to build my game. Since I updated MonoGame, I can no longer use the pre-compiled shaders I have since it refuses to load as they've been built with an older version of MonoGame.

Thanks in advance!

What version of MonoGame does the bug occur on:

  • MonoGame 3.8.1

What operating system are you using:

  • Arch Linux

What MonoGame platform are you using:

  • DesktopGL
@kimimaru4000 kimimaru4000 changed the title Effect Compilation Fails via Wine on Arch LInux Effect Compilation Fails via Wine on Arch Linux Nov 6, 2022
@jboadas
Copy link

jboadas commented Nov 7, 2022

I have this working in Debian 11, wine-7.0 using the script from develop branch here:
https://github.com/MonoGame/MonoGame/blob/develop/Tools/MonoGame.Effect.Compiler/mgfxc_wine_setup.sh
I had a lot of problems with wine staging and changed to stable, maybe giving a try changing the wine version could help.

@mrhelmut
Copy link
Contributor

Please refer to #8124 while this issue is being worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux MacOS Setup Related to setuping a MonoGame project for the first time
Projects
None yet
Development

No branches or pull requests

3 participants