secondlife / secondlife/viewer

Regular GLError 1280 in LLImageGL::readBackRaw()

Open
#4,845 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

SecondLife 7.2.2.18475198968 but also in develop HEAD

Second Life Release 7.2.2.18475198968 (64bit)
Release Notes

CPU: 12th Gen Intel(R) Core(TM) i7-12850HX (2419.2 MHz)
Memory: 32453 MB
OS Version: Microsoft Windows 11 64-bit (Build 26100.6899)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA RTX A2000 8GB Laptop GPU/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.8092
OpenGL Version: 4.6.0 NVIDIA 580.92

Window size: 1507x1046
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.25
Render quality: 2
Texture memory: 8192MB
Disk cache: Max size 2150.4 MB (100.0% used)

J2C Decoder Version: KDU v8.4.1
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.24.0.202510081738
CEF: 139.0.40+g465474a+chromium-139.0.7258.139
Chromium: 139.0.7258.139
LibVLC Version: 3.0.21
Voice Server Version:

October 17 2025 03:39:26

Description

Looking at my SecondLife.log file I see fairly frequent occurrence of following message:

2025-10-17T11:27:42Z WARNING # llrender/llimagegl.cpp(1861) LLImageGL::readBackRaw : GL Error happens before reading back texture. Error code: 1280

My experience with OpenGL is limited and I have not yet tried to look into what causes this.

I'm pretty sure it was also in the previous release 7.2.1 already but can't remember having seen it in earlier releases.

Reproduction steps
  • Run Viewer
  • Log in
  • Observe the log file for occurrences of that error 1280


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4845 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @fmartian (replace 20 with the amount, and @fmartian with the user to tip).

📖 If you want to learn more, check out our documentation.

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

Start with llrender/llimagegl.cpp around line 1861 and the LLImageGL::readBackRaw() entry point. Reproduce the viewer run while monitoring SecondLife.log, then trace the OpenGL error state before the texture readback. Done means identifying and preventing the recurring GL error 1280 without introducing new readback failures.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.