J2Kbr / GtunerIV

Gtuner IV - Titan Two's software bug report.
http://www.consoletuner.com
25 stars 4 forks source link

MacOS Monterey | GtunerIV is once again not requesting camera permissions #431

Open misterpyrrhuloxia opened 2 years ago

misterpyrrhuloxia commented 2 years ago

@J2Kbr, I essentially need to reopen #399, which I originally submitted in January 2021. I've put the contents of those original post at the bottom.

My new setup:
Gtuner IV:  1.11.3.1
Titan Two:  1.11.3.0
MacBook Pro (16-inch, 2019)
MacOS 12.3 Monterey

In March 2022, I got a new Macbook Pro (16-inch, 2019) that came with MacOS Monterey. While running GtunerIV 1.11.3.1 on my new Macbook, Gtuner is once again failing to properly request camera permissions and is therefore getting terminated by MacOS whenever I try to Detect Devices in Gtuner's Video Input Configuration. I commented on my original forum post ( here ) in both March and June 2022, stating that the issue exists again but have not received any responses.

Please update GtunerIV to fix this issue.


I've put my original issue in a quote block below. Following that is more detail on the Gtuner bug that led to my problem as well as my workaround for the meantime.

Forum post: https://www.consoletuner.com/forum/viewtopic.php?f=25&t=17393&p=108777#p108777

My setup:

Gtuner IV: 1.10.3.1 Titan Two: 1.10.3.1 MacBook Pro (Retina, 15-inch, Mid 2015) MacOS 11.1 Big Sur 2.8 GHz Quad-Core Intel Core i7 16 GB ram

T2 > OUT > PC T2 > PROG > Macbook Pro PC GPU > HDMI 2.0 cable > AverMedia Live Gamer Ultra capture card > USB 3.1 C to A cable > MacBook Pro PC GPU > DisplayPort cable > gaming monitor

I am trying to set up my MacBook Pro to do Gtuner CV capture. In Windows, the capture card is recognized as a second display. I can duplicate my display and I can extend it. While it's set to extended, I even set the capture card to output in 1920x1080@60Hz. Regardless of whether Windows is set to duplicate display or extend it, and regardless of what resolution I set Windows to output the capture card to while it's in extended mode, Gtuner completely crashes the moment I click on 'Detect Devices' in the Gtuner CV video input config options. It should be noted that no matter which configuration I set Windows to, OBS on my Macbook can detect and use the capture card perfectly.


@J2Kbr found in a Gtuner crashlog file that I sent him that Gtuner doesn't properly request camera permissions from the OS, which leads to MacOS terminating Gtuner when you try to hit Detect Devices in CV. In the meantime, I'm using a hackjob workaround to at least get Gtuner temporary camera permissions. I do this by launching Gtuner from the terminal with this command:

/Applications/GtunerIV.app/Contents/MacOS/Gtuner

Then when I hit Detect Devices, Gtuner properly requested camera permissions- except it was the terminal requesting the permissions from the OS, not Gtuner. But after granting the permissions, my capture card is detected. The annoying thing is that I have to run Gtuner from the terminal every single time. In addition to that, I have to hit Detect Devices again each time I run Gtuner.

Please update Gtuner to properly request camera permissions from MacOS.