ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 624 forks source link

[HL1] Video becomes corrupted and leaves a trail when I look around #2028

Open ghost opened 11 years ago

ghost commented 11 years ago

Please see the following screenshots: Screenshot Screenshot

The first time it happened, I was at the very start on the train and I had just reconfigured the video from fullscreen to windowed mode. Reloading my save, restarting the game and reloading from my only save did not fix the problem. I had to start a new game.

This happened a second time much later, but I was able to reload just before it happened. I played a lot more today, and it has happened without me knowing about it. Everything was fine, I saved and left the game. Then a few hours later, I start Half-Life, I load my quicksave and the corruption is there. I tried the autosave from a few seconds earlier, same issue. I tried a much earlier save, and it's fine.

What happens with this issue is that when I look around, the image leaves a trail and I am not able to move or notice player movement anymore. I've tried to switch back to fullscreen, changed various video settings, but I could never recover from this bug. The only way out was to reload from a safe savegame.

Processor Information: Vendor: AuthenticAMD Speed: 3310 Mhz 6 logical processors 6 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: Ubuntu 12.04.2 LTS (64 bit) Kernel Name: Linux Kernel Version: 3.2.0-38-generic X Server Vendor: The X.Org Foundation X Server Release: 11103000 X Window Manager: KWin Steam Runtime Version: steam-runtime-release-i386_2013-02-22

Video Card: Driver: NVIDIA Corporation GeForce GTX 460/PCIe/SSE2

Driver Version:  4.3.0 NVIDIA 310.14
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x10de
DeviceID:  0xe22
Number of Monitors:  2
Number of Logical Video Cards:  1
Primary Display Resolution:  1680 x 1050
Desktop Resolution: 2704 x 1050
Primary Display Size: 18.66" x 11.65"  (21.97" diag)
                                        47.4cm x 29.6cm  (55.8cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 767 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Realtek ALC887-VD

Memory: RAM: 15968 Mb

Miscellaneous: UI Language: English LANG: en_CA.utf8 Microphone: Not set Total Hard Disk Space Available: 426176 Mb Largest Free Hard Disk Block: 26651 Mb

sxxx commented 11 years ago

If I'm remember it's right you could get same picture in old versions of CS 1.6 if you move out of scene limits (though wall). So seems like in your save store wrong player position (e.g outside of playable area).

Probably you could use some console command to move yourself inside playable area. I don't know anything about goldsrc console, so can't say how could you done that.

ghost commented 11 years ago

I have tried to noclip, but I did not appear to be moving. I then used the map command in console (map c1a1) and after a loading screen, I could see clearly again.

I have used no clip in games like TF2, and while I'm familiar with how weird the video can look when you are no clipping, the current issue I'm experiencing feels totally different. Just now, I noticed that I'm also unable to fire weapons, switch weapons, or toggle the flashlight as there are absolutely no sound triggered for these events.

ksnd commented 11 years ago

I think the trailing effect should stop if you put gl_clear 1 in the console... it's easier to see what the problem is without that disorienting mess.

ghost commented 11 years ago

New screenshots after gl_clear 1: Screenshot Screenshot

Note that I still can't move or do anything but mouse-look.

ghost commented 11 years ago

I gave the HL beta a try, thinking I might see a difference. I was able to reproduce this issue again quite quickly.

First of, this area is the one past the first sentry with the red laser beam, and the first laser mine on the walls. I loaded my only save game that was a little earlier so I could resume playing. I loaded just in front of the elevator shaft where the scientist falls to his death. I climbed that and got to the area with the fire button to close the fire door. I made a manual save. I then proceeded to get past the first sentry. I stopped before the first laser mine, made a quicksave, and I went through the beam. It explodes, I was damaged. I then reloaded from the quicksave. Same bug! I reloaded from the autosauve, same thing. Previous quicksave? Same thing. Manual save I did a little earlier? Same thing as well.

My save games titles are "We've got hostiles". I've got no clean save to reload from now. I'll wait until I hear more from this before I start a new game as this issue is game breaking for me.

ghost commented 11 years ago

I had to re-install my OS. I'm now on Kubuntu 12.10 instead of 12.04. I'll see if I encounter this problem again. In the mean time, I did some more testing with my corrupted save game and I found a few interesting points that may help in debugging this... I would love to copy and paste the game console but copying won't work for some reason.

I see the following errors while loading my save:

WARNING: failed to locate sequence file c1a3 Loading game from SAVE/c1a3.HL1... ERROR: couldn't open. PlayerCustomization: Couldn't get player!

After that, I typed map c1a3. I loaded just fine but I noticed that I lost my equipement, no weapons, no crowbar, no health bar or HEV suit bar either. I can still die, I'm able to give myself a weapon using cheat commands and use the weapon. So, maybe the "Couldn't get player!" line has something to do with it?

Lord-Avallon commented 11 years ago

This happened with me in some parts of HL1, but I could move normally, only in some places I have experienced this graphic bug, but it didn´t compromise playability for me.

My specs: https://gist.github.com/Lord-Avallon/4521727