grumpycoders / grumpycoders/pcsx-redux

Memory corruption in MediEvil

Open
#2,012 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
994
Forks
151
Avg merge
1d 15h
Merged PRs (30d)
18

Description

### Describe the bug

In MediEvil, severe GPU/VRAM corruption occurs in PCSX-Redux on Linux.

- Intro graveyard scene: spider model is torn/broken (vertices and polygons are corrupted) -- even with textures completely disabled
- Level select map: completely purple screen + visible grid in VRAM Viewer
- After visiting the level select map, corruption spreads -- previously working levels (e.g. “Dan’s Crypt”) also become solid purple (sound and controls still work)
- Options from the "Options" section don't change the behavior

Image

Image

### Expected behavior

All scenes (intro spider, level select map, and all levels) should render correctly without VRAM corruption or broken geometry.

### Steps to reproduce the bug

1. Launch MediEvil
2. Wait until the title scene
3. Pass the "Dan's Crypt" level
4. Go to the map

### Operating System

Nobara Linux

### PCSX-Redux version

4cb8be2b
build 249
changeset 4cb8be2b9eecb195163e23bb7e44d38c97964385

### CPU model

32 × Intel® Core™ i9-14900HX

### GPU model & Drivers

Mesa Intel(R) Graphics (RPL-S) 4.6 (Core Profile) Mesa 26.0.4, NVIDIA GeForce RTX4090 Laptop GPU/PCIe/SSE2 3.2.0 NVIDIA 595.58.03

### BIOS version

OpenBIOS

### Options

- [ ] Dynarec CPU
- [ ] 8MB
- [ ] OpenGL GPU
- [ ] Fastboot
- [x] Debugger

### Iso checks

_No response_

### Logs

[logs.txt](https://github.com/user-attachments/files/26839268/logs.txt)

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.