AlchemyViewer / Alchemy

Alchemy is a Second Life compatible viewer striving to be at the forefront of stability, performance, and technological advancement in the open-source metaverse viewer field.
https://www.alchemyviewer.org
GNU Lesser General Public License v2.1
15 stars 10 forks source link

[New Feature]: On Linux, ignore kernel or driver updates when doing graphics resets #60

Open steelsnake opened 4 days ago

steelsnake commented 4 days ago

Environment

Alchemy Beta 7.1.9.2492 (64bit) Release Notes

CPU: AMD Ryzen 7 2700X Eight-Core Processor (2067.47 MHz) Memory: 32035 MB Concurrency: 16 OS Version: Linux 6.8.0-36-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 10 10:49:14 UTC 2024 x86_64 Graphics Card Vendor: AMD Graphics Card: AMD Radeon RX 6650 XT (radeonsi, navi23, LLVM 17.0.6, DRM 3.57, 6.8.0-36-generic)

OpenGL Version: 4.6 (Core Profile) Mesa 24.2.0-devel

Window size: 2052x1049 Font Size Adjustment: 96pt UI Font: Default Monospace Font: Default Chat Font: SansSerif Script Font: UbuntuMono UI Scaling: 1 Draw distance: 128m Bandwidth: 3000kbit/s LOD factor: 1.75 Render quality: 5 Texture memory: 8192MB Texture cache: 524MB / 655MB (80.0% used) Disk cache: 1023MB / 1024MB (99.9% used)

RestrainedLove API: (disabled) libcurl Version: libcurl/7.54.1 OpenSSL/1.1.1w zlib/1.3.0.zlib-ng nghttp2/1.59.0 J2C Decoder Version: OpenJPEG Runtime: 2.4.0 Audio Driver Version: FMOD Studio 2.02.22 Dullahan: 1.14.0 CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54 Chromium: 118.0.5993.54 LibVLC Version: 3.0.16 Voice Server Version: Not Connected Compiler Version: GCC 110400 July 02 2024 05:00:07

Description

On Linux, Alchemy will reset graphics to recommended defaults when there's a kernel or graphics driver update. I think that's unneccessary. My suggestion would be to ignore the text in brackets for any graphics reset.

i.e. currently: Old: AMD Radeon RX 6650 XT (radeonsi, navi23, LLVM 17.0.6, DRM 3.57, 6.8.0-35-generic) New: AMD Radeon RX 6650 XT (radeonsi, navi23, LLVM 17.0.6, DRM 3.57, 6.8.0-36-generic) ...this forces a graphics reset due to the kernel version change from 35 to 36.

My suggestion would be to only use the GPU string for this, e.g. AMD Radeon RX 6650 XT

After all, if in doubt people can always reset graphics manually as well.

image

steelsnake commented 3 days ago

Additional info: Using the nVidia proprietary driver on another system, this info does NOT include the stuff in brackets. So this seems Mesa specific.

On nVidia this is simply NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2