secondlife / jira-archive

2 stars 0 forks source link

[BUG-229977] [Mac] SL Viewer (and Firestorm) fail to start when 'Prefer External GPU' is checked #7738

Open sl-service-account opened 3 years ago

sl-service-account commented 3 years ago

What just happened?

If I open 'Get Info' on the SL Viewer or Firestorm and select 'Prefer External GPU' neither viewer will start. The SL viewer just has a black window and Firestorm a white window. I have worked with Apple support and they escalated to the dev team but could not find any issues. I also filed a bug with Firestorm and they said since it occurs in both viewers potentially it is something in shared code. Below is the text of the bug I filed with FS.

Notes on Environment.
I also have two external GPUs. A Raedon RX Vega 56 and a Radeon Pro WX 9100. Both are using Thunderbolt 3 connections to the MacBook Pro.
I also have an LG 5Kx2K display.

I recently upgraded to Big Sur and now when I have 'Prefer External GPU' selected in the 'Get Info' UI Firestorm does not come up at all. All I get is a white window. If I deselect that option FS comes up ok and uses the internal GPU.

Best to do a little table as there are four variables: Prefer External GPU (PEG) checked and not checked, driving the LG with Display Port from the WX 9100 and driving the LG from the MacBook via Thunderbolt 3. (Driving the LG with Thunderbolt is much preferred do to display quality).

LG via Thundebolt 3: PEG checked: White window. PEG not checked: FS ok and uses internal GPU.

LG via Display Port from 9100: PEG checked: White window PEG not checked: FS ok and uses 9100.

Depending on the situation in SL I sometimes get better fps with the internal and sometimes with the 9100 so I would like to be able to use both when I need to. I also sometimes run two instances of FS and would like one to use the 9100 and the other to use the internal GPU.

I have worked with Apple support on this issue for a couple weeks and they escalated to the dev team but could not find any problems.

I do not see odd behavior on other apps now although a couple did have big sur gpu issues, similar but different, but newer versions of those apps fixed the issues. (The apps were Photoshop and Octane Renderer for Maya)

What were you doing when it happened?

Just starting either viewer. No other action other than checking the Prefer External GPU option.

What were you expecting to happen instead?

The viewers to start normally.

Other information

Here is the Firestorm environment. Firestorm 6.4.12 (62831) Dec 3 2020 16:11:36 (64bit / SSE2) (Firestorm-Releasex64) with Havok support Release Notes

You are at 210.1, 27.9, 32.2 in FairChang Calypso NE located at ec2-54-214-146-17.us-west-2.compute.amazonaws.com SLURL: http://maps.secondlife.com/secondlife/FairChang%20Calypso%20NE/210/28/32 (global coordinates 283346.0, 269852.0, 32.2) Second Life Server 2020-12-09.553685 Release Notes

CPU: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (2900 MHz) Memory: 32768 MB OS Version: Mac OS X 10.16.0 Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64 Graphics Card Vendor: ATI Technologies Inc. Graphics Card: AMD Radeon Pro Vega 20 OpenGL Engine Graphics Card Memory: 3926 MB

OpenGL Version: 2.1 ATI-4.2.13 HiDPI display mode: 0

RestrainedLove API: (disabled) libcurl Version: libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.8 nghttp2/1.40.0 J2C Decoder Version: KDU v8.0.6 Audio Driver Version: FMOD Studio 2.01.05 Dullahan: 1.7.0.202008031101 CEF: 81.3.10+gb223419+chromium-81.0.4044.138 Chromium: 81.0.4044.138 LibVLC Version: 2.2.8 Voice Server Version: Vivox 4.10.0000.32327

Settings mode: Firestorm Viewer Skin: Firestorm (Grey) Window size: 2493x1606 px Font Used: Deja Vu (96 dpi) Font Size Adjustment: 0 pt UI Scaling: 1 Draw distance: 128 m Bandwidth: 3000 kbit/s LOD factor: 2 Render quality: Medium-High (4/7) Advanced Lighting Model: No Texture memory: 2048 MB (1) VFS (cache) creation time (UTC): 2020-12-17T22:16:18 Built with Clang version 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12) Packets Lost: 128/348834 (0.0%) January 03 2021 11:22:34 SLT

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-229977 | | Summary | [Mac] SL Viewer (and Firestorm) fail to start when 'Prefer External GPU' is checked | | Type | Bug | | Priority | Unset | | Status | Needs More Info | | Resolution | Unresolved | | Labels | mac_big_sur | | Created at | 2021-01-04T05:37:06Z | | Updated at | 2021-08-05T23:53:27Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2021-01-04T12:17:19.143-0600', "Is there anything you'd like to add?": 'Here is the Firestorm environment. \r\nFirestorm 6.4.12 (62831) Dec 3 2020 16:11:36 (64bit / SSE2) (Firestorm-Releasex64) with Havok support\r\nRelease Notes\r\n\r\nYou are at 210.1, 27.9, 32.2 in FairChang Calypso NE located at ec2-54-214-146-17.us-west-2.compute.amazonaws.com\r\nSLURL: http://maps.secondlife.com/secondlife/FairChang%20Calypso%20NE/210/28/32\r\n(global coordinates 283346.0, 269852.0, 32.2)\r\nSecond Life Server 2020-12-09.553685\r\nRelease Notes\r\n\r\nCPU: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (2900 MHz)\r\nMemory: 32768 MB\r\nOS Version: Mac OS X 10.16.0 Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64\r\nGraphics Card Vendor: ATI Technologies Inc.\r\nGraphics Card: AMD Radeon Pro Vega 20 OpenGL Engine\r\nGraphics Card Memory: 3926 MB\r\n\r\nOpenGL Version: 2.1 ATI-4.2.13\r\nHiDPI display mode: 0\r\n\r\nRestrainedLove API: (disabled)\r\nlibcurl Version: libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.8 nghttp2/1.40.0\r\nJ2C Decoder Version: KDU v8.0.6\r\nAudio Driver Version: FMOD Studio 2.01.05\r\nDullahan: 1.7.0.202008031101\r\n CEF: 81.3.10+gb223419+chromium-81.0.4044.138\r\n Chromium: 81.0.4044.138\r\nLibVLC Version: 2.2.8\r\nVoice Server Version: Vivox 4.10.0000.32327\r\n\r\nSettings mode: Firestorm\r\nViewer Skin: Firestorm (Grey)\r\nWindow size: 2493x1606 px\r\nFont Used: Deja Vu (96 dpi)\r\nFont Size Adjustment: 0 pt\r\nUI Scaling: 1\r\nDraw distance: 128 m\r\nBandwidth: 3000 kbit/s\r\nLOD factor: 2\r\nRender quality: Medium-High (4/7)\r\nAdvanced Lighting Model: No\r\nTexture memory: 2048 MB (1)\r\nVFS (cache) creation time (UTC): 2020-12-17T22:16:18 \r\nBuilt with Clang version 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12)\r\nPackets Lost: 128/348834 (0.0%)\r\nJanuary 03 2021 11:22:34 SLT', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': "If I open 'Get Info' on the SL Viewer or Firestorm and select 'Prefer External GPU' neither viewer will start. The SL viewer just has a black window and Firestorm a white window. I have worked with Apple support and they escalated to the dev team but could not find any issues. I also filed a bug with Firestorm and they said since it occurs in both viewers potentially it is something in shared code. Below is the text of the bug I filed with FS. \r\n\r\n\r\n\r\n Notes on Environment.\r\n I also have two external GPUs. A Raedon RX Vega 56 and a Radeon Pro WX 9100. Both are using Thunderbolt 3 connections to the MacBook Pro.\r\n I also have an LG 5Kx2K display.\r\n\r\nI recently upgraded to Big Sur and now when I have 'Prefer External GPU' selected in the 'Get Info' UI Firestorm does not come up at all. All I get is a white window. If I deselect that option FS comes up ok and uses the internal GPU.\r\n\r\nBest to do a little table as there are four variables: Prefer External GPU (PEG) checked and not checked, driving the LG with Display Port from the WX 9100 and driving the LG from the MacBook via Thunderbolt 3. (Driving the LG with Thunderbolt is much preferred do to display quality).\r\n\r\nLG via Thundebolt 3:\r\nPEG checked:\r\nWhite window.\r\nPEG not checked:\r\nFS ok and uses internal GPU.\r\n\r\nLG via Display Port from 9100:\r\nPEG checked:\r\nWhite window\r\nPEG not checked:\r\nFS ok and uses 9100.\r\n\r\nDepending on the situation in SL I sometimes get better fps with the internal and sometimes with the 9100 so I would like to be able to use both when I need to. I also sometimes run two instances of FS and would like one to use the 9100 and the other to use the internal GPU.\r\n\r\nI have worked with Apple support on this issue for a couple weeks and they escalated to the dev team but could not find any problems.\r\n\r\nI do not see odd behavior on other apps now although a couple did have big sur gpu issues, similar but different, but newer versions of those apps fixed the issues. (The apps were Photoshop and Octane Renderer for Maya)\r\n", 'What were you doing when it happened?': 'Just starting either viewer. No other action other than checking the Prefer External GPU option. ', 'What were you expecting to happen instead?': 'The viewers to start normally. ', } ```
sl-service-account commented 3 years ago

Kyle Linden commented at 2021-01-04T18:17:19Z

Hi GmanB,

I understand that you have already solved this issue. Please share the details so that we may all learn about Big Sur.

Thanks!

sl-service-account commented 3 years ago

gmanb commented at 2021-01-04T21:27:53Z

Kyle,

I guess I wasn't clear. No, the issue is not solved. I worked with other support teams (Apple and Firestorm) but they ultimately directed me here to Linden Lab.

Apple team could not find any issue in their code. The Firestorm team suggested that I test the SL viewer (I typically use only Firestorm) to see if the same issued occurred with the SL viewer, it did. Thus, they suggested I report the bug here because of the shared code between Firestorm and the SL viewer.

I've been in the computer industry for 30+ years and do know my way around code. It certainly seems that something, probably positive, changed in the MacOS Big Sur release around how an app accesses external GPUs. As I noted above initially I had problems with other apps and external GPUs after upgrading to Big Sur. The issues in those other apps when away when I downloaded new versions. To date the issue remains with Firestorm and the SL viewer.

 

Sorry for the confusion.

G

sl-service-account commented 3 years ago

gmanb commented at 2021-01-05T18:35:15Z

Additional Information: When I get the white window, i.e., starting the viewer with PEG checked, the viewer is actually running correctly. If I press enter I do get logged in correctly. And, although the screen stays white (FS) or black (Viewer) I can see the pointer change as I fly-over various objects in the scene.

G

sl-service-account commented 3 years ago

gmanb commented at 2021-06-13T02:40:15Z

Any updates on this issue?

sl-service-account commented 3 years ago

Kyle Linden commented at 2021-08-05T23:53:28Z

Hello GManB,

As this issue is still unresolved we're marking it as 'Needs More Information' because it has proven too difficult to reproduce without more logs or detailed steps to follow to mimic the behavior.

If you should discover a reliable set of steps to reproduce the issue please update this report.

Thanks!