moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.84k stars 569 forks source link

broken on Mac OS sequoia dev beta 3 #1355

Open frootloop88 opened 1 month ago

frootloop88 commented 1 month ago

I know its a beta but a little heads doesn't hurt.

Got Mac OS sequoia beta 3 installed and I get SecPKCS12Import failed: - 23000 (error99) when trying to pair. Beta 2 had no problems

HunterAhlquist commented 1 month ago

I'm getting this just trying to connect.

HunterAhlquist commented 1 month ago

I'm able to fix it by building the program from source.

frootloop88 commented 1 month ago

I'm able to fix it by building the program from source.

How can I do this?

SwaMusic commented 1 month ago

Can confirm. SecPKCS12Import failed: -25300 (Error 99) here as well!

andygrundman commented 1 month ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

frootloop88 commented 1 month ago

Maybe the dev can fix it and update it?

clastrum commented 1 month ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

As mentioned before from other guys, i encounter same issue after updating sequoia dev beta3.

and I try these codes, and It works!!

Thank you for your kind solution.

brainvine commented 1 month ago

Thanks for the fix. Can confirm: same issue here.

brainvine commented 1 month ago

HDR doesn't work though. Will hang on mstc.exe. Noticed HDR will also give problems in GeforeNOW since MacOS15, so I guess it's a bug within MacOS regarding HDR.

shinoki77 commented 1 month ago

thanks for the fix! I had to change qt install to brew install qt --debug

andygrundman commented 1 month ago

HDR doesn't work though. Will hang on mstc.exe. Noticed HDR will also give problems in GeforeNOW since MacOS15, so I guess it's a bug within MacOS regarding HDR.

HDR is working for me on Sequoia (M1 MBP) to Win11 with latest Sunshine. The only issue I had with beta 3 was this SecPKCS12Import issue.

gkl1368 commented 1 month ago

Who can upload the new app?

frootloop88 commented 1 month ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

Xcode beta doesn't even launch. Get some plugin error if I try to build only it says zsh: command not found: qmake6 make: *** No rule to make target `release'. Stop. at the end

brainvine commented 1 month ago

HDR doesn't work though. Will hang on mstc.exe. Noticed HDR will also give problems in GeforeNOW since MacOS15, so I guess it's a bug within MacOS regarding HDR.

HDR is working for me on Sequoia (M1 MBP) to Win11 with latest Sunshine. The only issue I had with beta 3 was this SecPKCS12Import issue.

Seems switching to SunShine fixed this. I guess the originl GameStream HDR-stuff is broken in MacOS15, which might explain the GeforceNOW issues as well.

frootloop88 commented 1 month ago

brew command not found

Gigasnow commented 1 month ago

The trick work! Many thanks! And for those who failed to launch Xcode 16 beta 3, check this discussion: https://forums.developer.apple.com/forums/thread/759396?answerId=795039022#795039022

rogerogden commented 1 month ago

I'm following the steps @andygrundman posted, but I'm getting an error during make:

/opt/homebrew/lib/QtCore.framework/Headers/qglobal.h:13:12: fatal error: 'type_traits' file not found

Checking gcc -v yields:

Apple clang version 16.0.0 (clang-1600.0.22.7)
Target: arm64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Any ideas what might be going wrong here?

gkl1368 commented 1 month ago

Who can upload self-build application, because I have no more space to build by myself.

oggysecond commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder.

I rebulid one on M2 Pro (ARM64)

BionicRust commented 1 month ago

Who can upload self-build application, because I have no more space to build by myself.

not worth it building from source is stupid it will lead to performace and other issues. I would wait for dev to fix it.

Dataminz commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder.

I rebulid one on M2 Pro (ARM64)

Thank you so much. I have compiled an error for missing SDL2 sometime now. If others want to use this, you have executed this line xattr -rc *PATH TO NEW MOONLIGHT*

bAN0NYM0US commented 1 month ago

brew command not found

You need to install Brew first from https://brew.sh or just copy and paste the line below.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

fuzedxb1 commented 1 month ago

I was having this issue and once I updated to Dev Beta 3 revision that was released today it's working. But I have to start the session 3+ times because it crashes in when entering fullscreen

VisoTC commented 1 month ago

I was having this issue and once I updated to Dev Beta 3 revision that was released today it's working. But I have to start the session 3+ times because it crashes in when entering fullscreen

I have updated to the latest beta3, but it still fails

bAN0NYM0US commented 1 month ago

I have updated to the latest beta3, but it still fails

You need to build it as instructed by andygrundman above.

install Brew from my post above, and then follow the steps from andygrundman to build the app yourself and it should work perfectly.

I built it on the first macOS 15b3 release and after updating to the re-release of the beta, it’s still working fine. No crashing, full screen works, it appears to be completely stable and I haven’t been able to create any issues.

Quessso commented 1 month ago

It's Working now Share Mine... Rebuliding in : M1Pro Macbook Pro MacOS Version : beta 1 - 5

This is file : Moonlight_Remake.zip

brandondies commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder.

I rebulid one on M2 Pro (ARM64)

"“Moonlight” is damaged and can’t be opened. You should move it to the Trash."

valdan87 commented 1 month ago

Having issues building on b4. I've followed all the instructions and it errors out after some compiling with the following:

/usr/local/lib/QtCore.framework/Headers/qglobal.h:13:12: fatal error: 'type_traits' file not found
   13 | #  include <type_traits>
oggysecond commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder. I rebulid one on M2 Pro (ARM64)

"“Moonlight” is damaged and can’t be opened. You should move it to the Trash."

You need to remove the attribute by using the below command if you need to use my package. xattr -rc *MOONLIGHT's App PATH*

brandondies commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder. I rebulid one on M2 Pro (ARM64)

"“Moonlight” is damaged and can’t be opened. You should move it to the Trash."

You need to remove the attribute by using the below command if you need to use my package. xattr -rc *MOONLIGHT's App PATH*

Crashes immediately after using command.

alextoddslick commented 1 month ago

If someone needs Moonlight Fixed.zip Replace the original one in "Applications" Folder. I rebulid one on M2 Pro (ARM64)

"“Moonlight” is damaged and can’t be opened. You should move it to the Trash."

You need to remove the attribute by using the below command if you need to use my package. xattr -rc *MOONLIGHT's App PATH*

I am pretty sure you need to build for "Non Development"... Me personally have not been able to have a successful build for that yet though...

Juhao73692 commented 4 weeks ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

works for me. here's the executable file, tested on MacBook Pro with M1 Max Moonlight.zip

Noire86 commented 4 weeks ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

works for me. here's the executable file, tested on MacBook Pro with M1 Max Moonlight.zip

Sadly enough, your build is crashing on Sequoia 15.1 dev beta

Juhao73692 commented 4 weeks ago

Rebuilding also worked for me. Here are the rough steps I used to build it, hope it's helpful for someone.

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release

If all went well, the newly built app will be at app/Moonlight.app and you can just copy this over the broken one in the Applications folder.

works for me. here's the executable file, tested on MacBook Pro with M1 Max Moonlight.zip

Sadly enough, your build is crashing on Sequoia 15.1 dev beta

that's weird. I'm also running macOS sequoia 15.1. I've also tried builds from others, all said to be working on their machines, but none of them works on mine. I believe maybe we shall all make our own build?

Noire86 commented 4 weeks ago

we shall all make our own build?

Absolutely correct. Did a clean build on my own, and it works great.

In summary:

EXECUTE THE LINES BELOW ONE BY ONE! If you copypaste all of them as a single cmd run, it will fail.

git clone https://github.com/moonlight-stream/moonlight-qt.git cd moonlight-qt git submodule update --init --recursive qmake6 moonlight-qt.pro make release

Hope it helps.

Virgile-fr commented 3 weeks ago

For those encountering the following error:

/usr/local/lib/QtCore.framework/Headers/qglobal.h:13:12: fatal error: 'type_traits' file not found
   13 | #  include <type_traits>

just uninstall and reinstall Xcode command-line tools.

To do this: sudo rm -rf /Library/Developer/CommandLineTools then xcode-select --install

after that, redo the entire process:

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release
brianbaldock commented 2 weeks ago

we shall all make our own build?

Absolutely correct. Did a clean build on my own, and it works great.

In summary:

EXECUTE THE LINES BELOW ONE BY ONE! If you copypaste all of them as a single cmd run, it will fail.

git clone https://github.com/moonlight-stream/moonlight-qt.git cd moonlight-qt git submodule update --init --recursive qmake6 moonlight-qt.pro make release

Hope it helps.

This worked

Auvenell commented 1 week ago

thanks for the fix! I had to change qt install to brew install qt --debug

this worked for me on MacOS Version 15.1 Beta (24B5024e)

Murmur2k commented 1 week ago

Has anybody been able to get AV1 working on M3 hardware together with the beta?

cyberkaida commented 4 days ago

I am running 24A5327a and I did not need to install the beta Xcode (I already have an older Xcode), I just needed to rebuild from the master branch. If you are building a release build the debug QT is not required.

brew install qt
git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release
open ./app

You can copy the Moonlight.app to /Applications and it should work.

gkl1368 commented 4 days ago

I am running 24A5327a and I did not need to install the beta Xcode (I already have an older Xcode), I just needed to rebuild from the master branch. If you are building a release build the debug QT is not required.

brew install qt
git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive
qmake6 moonlight-qt.pro
make release
open ./app

You can copy the Moonlight.app to /Applications and it should work.

Can you update new update app?

jazzguy1984 commented 3 days ago

Following the guide above, I got the below error:

streaming/video/ffmpeg-renderers/vt_base.mm:61:42: error: use of undeclared identifier 'kCMVideoCodecType_AV1' if (!VTIsHardwareDecodeSupported(kCMVideoCodecType_AV1)) { ^ 1 error generated. make[2]: [release/vt_base.o] Error 1 make[1]: [release] Error 2 make: *** [sub-app-release] Error 2

It could not therefore build the app. Would you mind advising please?

Abibabodudu commented 3 days ago

Who can upload the new app?

大佬姐,你构建出来这个新app了嘛

Murmur2k commented 3 days ago

It sounds like it has to be unique to the user not a general build - not sure why On Aug 24, 2024 at 11:08 AM +0100, Abibabodudu @.***>, wrote:

Who can upload the new app? 大佬姐,你构建出来这个新app了嘛 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Quessso commented 3 days ago

Who can upload the new app?

大佬姐,你构建出来这个新app了嘛

试试我的

Abibabodudu commented 3 days ago

Who can upload the new app?

大佬姐,你构建出来这个新app了嘛

试试我的

🥹🥹🥹爱了老哥,哪里有!!!!超级无敌大感谢!!!

Quessso commented 3 days ago

Following the guide above, I got the below error:

streaming/video/ffmpeg-renderers/vt_base.mm:61:42: error: use of undeclared identifier 'kCMVideoCodecType_AV1' if (!VTIsHardwareDecodeSupported(kCMVideoCodecType_AV1)) { ^ 1 error generated. make[2]: [release/vt_base.o] Error 1 make[1]: [release] Error 2 make: *** [sub-app-release] Error 2

It could not therefore build the app. Would you mind advising please?

try my building , uploaded

Quessso commented 3 days ago

Who can upload the new app?

大佬姐,你构建出来这个新app了嘛

试试我的

🥹🥹🥹爱了老哥,哪里有!!!!超级无敌大感谢!!!

你找找前边,我上传了

Abibabodudu commented 3 days ago

Who can upload the new app?

大佬姐,你构建出来这个新app了嘛

试试我的

🥹🥹🥹爱了老哥,哪里有!!!!超级无敌大感谢!!!

你找找前边,我上传了

老哥貌似出现了文件已经损坏的情况

image

如果强行使用:xattr -cr +APP就会闪退

image
Quessso commented 3 days ago

谁可以上传新应用程序?

大佬姐,你构建出来这个新app了嘛

试试我的

🥹🥹🥹爱了老哥,哪里有!!!!超级无敌

你找找前边,我上传了

老哥貌似出现了文件已损坏的情况 图像如果强行使用:xattr -cr +APP会闪退 图像 再尝试下,多重套娃了 Moonlight.app.dmg.zip