secondlife / secondlife/viewer

Shaders sometimes do not match the shader settings after Display settings are automatically adjusted.

Open
#4,587 4 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #4625 by @akleshchev — merged
bug team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Release 7.2.0.16729091892 (64bit)

Full Environment

Second Life Release 7.2.0.16729091892 (64bit)
Release Notes

You are at 204.9, 78.2, 54.6 in Bug Island 2 located at simhost-0b783bbd88a0f0f28.agni
SLURL: http://maps.secondlife.com/secondlife/Bug%20Island%202/205/78/55
(global coordinates 260,557.0, 249,422.0, 54.6)
Second Life Server 2025-07-25.16512260888
Release Notes

CPU: 12th Gen Intel(R) Core(TM) i7-12700F (2112 MHz)
Memory: 16221 MB
OS Version: Microsoft Windows 11 64-bit (Build 26100.4946)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.7216
OpenGL Version: 4.6.0 NVIDIA 572.16

Window size: 2560x1369
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.5
Render quality: 4
Texture memory: 12282MB
Disk cache: Max size 1638.4 MB (0.1% used)

J2C Decoder Version: KDU v7.10.4
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.14.0.202408091639
CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54
Chromium: 118.0.5993.54
LibVLC Version: 3.0.21
Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 0/3,070 (0.0%)
August 21 2025 06:43:28

Description

Shaders sometimes do not match the shader settings after Display settings are automatically adjusted.

Reproduction steps
  1. On a machine that normally defaults SL Graphics Quality to High:
  2. Log in with a 7.1.10 viewer (https://releasenotes.secondlife.com/viewer/7.1.10.10800445603.html) and set the graphics to Mid+ so that water is opaque. (Preferences > Graphics > Advanced Settings > Transparent Water is Unchecked.)
  3. Start a 7.2.0.16729091892 - 2025.05 viewer (https://releasenotes.secondlife.com/viewer/7.2.0.16729091892.html).
  4. A dialog on the screen says "Display settings have been set to recommended levels because of a change to the rendering subsystem.". Graphics quality has been set to High and Transparent Water is checked.
  5. Log in and look at the system water.

Observed: The system water is opaque.

Image

Expected: The system water should be transparent. The shaders should match the shader settings.

Workaround: Change the Preferences > Graphics > Quality & Speed slider down, then back up, and the shaders will recompile and match the settings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue by switching from viewer 7.1.10 to 7.2.0 with Mid+ graphics and observing opaque water after automatic display adjustment; compare this with recompiling shaders by moving the Quality & Speed slider. Done means shaders reflect the selected settings without requiring the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.