[AMD/Linux] Self-shadowing / shadow-map blotches and coplanar rock shading artifacts maybe? #1891

Open
opened 2026-11-20 18:40:13 +00:00 by ChuchoTheCatLord · 3 comments

Longshot version

longshot v3.0.0 (source bd6a0cdd)

Channel

Release

What kind of problem

Graphics (missing, black or wrong-coloured things, lighting, flicker)

What happened

Seems to me like these textures / shadows shouldn't look like this, title is my guess as to what may be wrong but I'm no exert I used ai to analyze what could be wrong but I'm almost certain it is 100% wrong lol, I'm just trying to help hehe.

  • OS: Nobara 44 Official (KDE Plasma 6.7.5) kernel - 7.3.4-201.nobara.fc44.x86_64
  • GPU: AMD Radeon RX 6950 XT (RADV NAVI21) - radv - Mesa 26.2.6 (LLVM 22.1.8)
  • Quality Preset: Custom
  • Aspect Ratio: 16:9 (monitor's)
  • Output resolution: 2560x1440p(native)
  • Custom output size: none
  • Profile: Docked
  • Upscaler: FSR4 @ Native (FSR4, 2560x1440)
  • Sharpness: 20%
  • Frame generation: 2x
  • Frame Generation by: FSR 3.1 FG
  • Game frame rate cap: 60 (the console's)
  • Fullscreen: ON
  • Fullscreen Monitor: Main, but there is a 2nd portrait oriented 1440p monitor (not running the game)
  • Vsync: OFF
  • Window scaling filter: Not needed (window = output)
  • CRT filter: OFF
  • Ultrawide menus: Centered, blurred sides (but not on ultrawide)
  • HUD Layout: Screen's edges
  • HDR: OFF
  • Anisotropic filter: Game's (otherwise I get wierd black lines in hair / clothes / textures)
  • Shadow Resolution: Highest
  • Frame Pacing: OFF
  • Threaded Rendering: ON
  • Descriptor reuse: ON
  • Sampler Cache: ON
  • Robust buffers: OFF
  • Present queue: ON
  • ASTC as RGBA8: OFF

Where in the game

Gerudo Valley entrance (below the bridge area near the magic bean plant)

How often

Every time

Graphics card and driver version

AMD Radeon RX 6950 XT (RADV NAVI21) - radv - Mesa 26.2.6 (LLVM 22.1.8)

CPU, RAM and operating system

AMD Ryzen 7 7800x3D

Changes from the defaults

no change to defaults, no post tool or additional stuff, just custom launcher through steam and steam overlay:

Launcher settings (click to expand)

launch_longshot.sh

#!/usr/bin/env bash
cd <Longshot stable path> || exit 1
export XDG_DATA_DIRS="<.local/share path>:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
export SDL_VIDEODRIVER=x11
export SDL_VIDEO_FULLSCREEN_DISPLAY=0

./longshot "$@" </dev/null >/dev/null 2>&1 &
LAUNCHER_PID=$!

# Wait until either the game spawns OR the launcher exits without launching it
GAME_PID=""
while kill -0 "$LAUNCHER_PID" 2>/dev/null || [ -z "$GAME_PID" ]; do
    GAME_PID=$(pgrep -f "bin/longshot" | head -n 1)
    if [ -n "$GAME_PID" ]; then
        break
    fi
    # If launcher closed and game didn't spawn within 2 seconds, stop waiting
    if ! kill -0 "$LAUNCHER_PID" 2>/dev/null; then
        sleep 2
        GAME_PID=$(pgrep -f "bin/longshot" | head -n 1)
        break
    fi
    sleep 0.5
done

if [ -n "$GAME_PID" ]; then
    START=$SECONDS
    while kill -0 "$GAME_PID" 2>/dev/null; do
        sleep 1
    done
    ELAPSED=$((SECONDS - START))
    notify-send --app-name="Ocarina of Time" --hint=string:desktop-entry:oot-longshot --hint=boolean:transient:false "Ocarina of Time" "Session time: $((ELAPSED/3600))h $(((ELAPSED%3600)/60))m $((ELAPSED%60))s"
    if kill -0 "$LAUNCHER_PID" 2>/dev/null; then
        kill "$LAUNCHER_PID" 2>/dev/null
    fi
fi

longshot_log.txt

attached both because this was a couple of days ago and I'm not really sure if the earlier was relevant also (probably not give it's size) sorry for the delay

Screenshots or video

Pic was generated by bug report but Video i took just after taking that picture it also showcases issue I listed on #1867

Before you send it

  • The problem is still there on the newest release or nightly.
  • I searched the open issues for it.
  • I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
### Longshot version longshot v3.0.0 (source bd6a0cdd) ### Channel Release ### What kind of problem Graphics (missing, black or wrong-coloured things, lighting, flicker) ### What happened Seems to me like these textures / shadows shouldn't look like this, title is my guess as to what may be wrong but I'm no exert I used ai to analyze what could be wrong but I'm almost certain it is 100% wrong lol, I'm just trying to help hehe. - OS: Nobara 44 Official (KDE Plasma 6.7.5) kernel - 7.3.4-201.nobara.fc44.x86_64 - GPU: AMD Radeon RX 6950 XT (RADV NAVI21) - radv - Mesa 26.2.6 (LLVM 22.1.8) - Quality Preset: Custom - Aspect Ratio: 16:9 (monitor's) - Output resolution: 2560x1440p(native) - Custom output size: none - Profile: Docked - Upscaler: FSR4 @ Native (FSR4, 2560x1440) - Sharpness: 20% - Frame generation: 2x - Frame Generation by: FSR 3.1 FG - Game frame rate cap: 60 (the console's) - Fullscreen: ON - Fullscreen Monitor: Main, but there is a 2nd portrait oriented 1440p monitor (not running the game) - Vsync: OFF - Window scaling filter: Not needed (window = output) - CRT filter: OFF - Ultrawide menus: Centered, blurred sides (but not on ultrawide) - HUD Layout: Screen's edges - HDR: OFF - Anisotropic filter: Game's (otherwise I get wierd black lines in hair / clothes / textures) - Shadow Resolution: Highest - Frame Pacing: OFF - Threaded Rendering: ON - Descriptor reuse: ON - Sampler Cache: ON - Robust buffers: OFF - Present queue: ON - ASTC as RGBA8: OFF ### Where in the game Gerudo Valley entrance (below the bridge area near the magic bean plant) ### How often Every time ### Graphics card and driver version AMD Radeon RX 6950 XT (RADV NAVI21) - radv - Mesa 26.2.6 (LLVM 22.1.8) ### CPU, RAM and operating system AMD Ryzen 7 7800x3D ### Changes from the defaults no change to defaults, no post tool or additional stuff, just custom launcher through steam and steam overlay: <details> <summary>Launcher settings (click to expand)</summary> **launch_longshot.sh** ```bash #!/usr/bin/env bash cd <Longshot stable path> || exit 1 export XDG_DATA_DIRS="<.local/share path>:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" export SDL_VIDEODRIVER=x11 export SDL_VIDEO_FULLSCREEN_DISPLAY=0 ./longshot "$@" </dev/null >/dev/null 2>&1 & LAUNCHER_PID=$! # Wait until either the game spawns OR the launcher exits without launching it GAME_PID="" while kill -0 "$LAUNCHER_PID" 2>/dev/null || [ -z "$GAME_PID" ]; do GAME_PID=$(pgrep -f "bin/longshot" | head -n 1) if [ -n "$GAME_PID" ]; then break fi # If launcher closed and game didn't spawn within 2 seconds, stop waiting if ! kill -0 "$LAUNCHER_PID" 2>/dev/null; then sleep 2 GAME_PID=$(pgrep -f "bin/longshot" | head -n 1) break fi sleep 0.5 done if [ -n "$GAME_PID" ]; then START=$SECONDS while kill -0 "$GAME_PID" 2>/dev/null; do sleep 1 done ELAPSED=$((SECONDS - START)) notify-send --app-name="Ocarina of Time" --hint=string:desktop-entry:oot-longshot --hint=boolean:transient:false "Ocarina of Time" "Session time: $((ELAPSED/3600))h $(((ELAPSED%3600)/60))m $((ELAPSED%60))s" if kill -0 "$LAUNCHER_PID" 2>/dev/null; then kill "$LAUNCHER_PID" 2>/dev/null fi fi ``` </details> ### longshot_log.txt attached both because this was a couple of days ago and I'm not really sure if the earlier was relevant also (probably not give it's size) sorry for the delay ### Screenshots or video Pic was generated by bug report but Video i took just after taking that picture it also showcases issue I listed on #1867 ### Before you send it - [x] The problem is still there on the newest release or nightly. - [x] I searched the open issues for it. - [x] I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
Member

Possibly related, for context:

  • issue #603 [AMD/Linux] Blocky shadow/light artifacts around Link when entering Zora River water — Same AMD/Linux hardware and shadow artifacts, but water-specific issue was confirmed fixed before v3.0.0
  • issue #601 Sun shadows on Link flicker/break dependant on camera view — Separate reported defect involving sun shadow-map appearance and camera angle
  • PR #773 feat(options): a Shadow resolution setting keeps thin shadows near Link smooth — Merged higher shadow-resolution option addresses shadow-map edge quality, not these blotches
Possibly related, for context: - issue #603 [AMD/Linux] Blocky shadow/light artifacts around Link when entering Zora River water — Same AMD/Linux hardware and shadow artifacts, but water-specific issue was confirmed fixed before v3.0.0 - issue #601 Sun shadows on Link flicker/break dependant on camera view — Separate reported defect involving sun shadow-map appearance and camera angle - PR #773 feat(options): a Shadow resolution setting keeps thin shadows near Link smooth — Merged higher shadow-resolution option addresses shadow-map edge quality, not these blotches
Author

just confirming that longshot v3.2.0 (source 1f0bf123) is still showing the issue for me. I am aware this issue does not seem game breaking, priority or important at all but noticed it and decided to report it

just confirming that longshot v3.2.0 (source 1f0bf123) is still showing the issue for me. I am aware this issue does not seem game breaking, priority or important at all but noticed it and decided to report it
Author

this is merely an example of what I think shadows / textures should look (other side of same cliff)

this is merely an example of what I think shadows / textures should look (other side of same cliff)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#1891
No description provided.