Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[HL2][Linux] Flashlight shadow corruption

Open rfreytag1 opened this issue 13 years ago • 13 comments

-HW- AMD Phenom II X4 955(3.2GHz) 2x 4GB DDR3-1333(7-7-7-20) G.Skill RAM MSI 790FX-GD70 ASUS EAH5870(AMD HD5870, 1GB VRAM) ASUS Xonar DX

-SW- Arch linux(3.8.10-1) Xfce DE Catalyst 13.4 Xorg 1.13(thanks AMD!) xrandr 1.4

shadows of the flashlight are corrupted, more often when some kind of fence or alpha mapped material is visible.

01 02 03 04

rfreytag1 avatar May 12 '13 15:05 rfreytag1

I've been getting this too, in both Half-Life 2 and Episode One so far. They clearly happen at specific but seemingly-random spots, and are dependent on what angle I am pointing; I haven't noticed any correlation with the presence of $alphatest materials. The first time I noticed it was in the tunnel at the very beginning of Sand Traps:

2013-05-11_00001 2013-05-11_00002

Here are some others from Half-Life 2, all from Anticitizen One, I believe:

2013-05-11_00012 2013-05-11_00013 2013-05-11_00018 2013-05-11_00017 2013-05-11_00019

And a couple from Episode One:

2013-05-11_00001 2013-05-11_00002

ATI Radeon HD 4850 Catalyst 13.1 legacy driver Kubuntu 12.04 x64 X Server 11103000

I was holding out on mentioning this one because I wanted to double-check that (A) they appear in the same spots after starting a new game from a specific chapter and (B) they aren't present in the Windows version.

stevethepocket avatar May 13 '13 01:05 stevethepocket

Same here. Specs:

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

Network Information:
Network Speed:  

Operating System Version:
"Arch Linux" (64 bit)
Kernel Name:  Linux
Kernel Version:  3.8.11-1-ARCH
X Server Vendor:  The X.Org Foundation
X Server Release:  11304000
X Window Manager:  awesome
Steam Runtime Version:  steam-runtime-release-i386_2013-05-08

Video Card:
Driver:  ATI Technologies Inc. AMD Radeon HD 7800 Series 

Driver Version:  4.2.12217 Compatibility Profile Context 9.00.11
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x1002
DeviceID:  0x6819
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1280 x 1024
Desktop Resolution: 1280 x 1024
Primary Display Size: 13.31" x 10.63"  (17.01" diag)
                                        33.8cm x 27.0cm  (43.2cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: Realtek ALC887-VD

Memory:
RAM:  5936 Mb

Miscellaneous:
UI Language:  English
LANG:  en_US.UTF-8
Microphone:  Not set
Total Hard Disk Space Available:  147519 Mb
Largest Free Hard Disk Block:  51084 Mb

Installed software:

Recent Failure Reports:

sayoder avatar May 13 '13 19:05 sayoder

OK, two things I discovered today: One, the bug isn't present in the current Windows version (haven't tried the beta, but I have no reason to believe it would be any different); and two, it's present in Episode Two as well, just like I suspected:

2013-05-13_00001 2013-05-13_00002 2013-05-13_00003 2013-05-13_00005

stevethepocket avatar May 14 '13 06:05 stevethepocket

guys, open console type status and give the output, map name + aproximative origin x y z, i'm sure it's more easy like this for devs.

Freeman-51 avatar May 15 '13 08:05 Freeman-51

as this happens almost always regardless of the map and position of the player I think it's not helpful at all.

rfreytag1 avatar May 15 '13 10:05 rfreytag1

guys, I think the reason this bug - AMD video drivers. More specifically, poor quality of them.

ugeen75 avatar May 16 '13 04:05 ugeen75

Maybe so, but the flashlight in Left 4 Dead 2 is just fine. I've played five campaigns so far, and haven't seen this issue come up once. And it uses the same env_projectedtexture entity as the Orange Box flashlight.

stevethepocket avatar May 16 '13 06:05 stevethepocket

I noticed same problem in HL2 EP1 . I took screenshot with cl_showpos 1. http://steamcommunity.com/sharedfiles/filedetails/?id=147665879

I'm with ATI HD5670 and Catalyst 13.4. I noticed that the bug is visible only when video option "Shadow Detail" is set to "High".

iiv3 avatar May 25 '13 22:05 iiv3

yeah, it's only visible on high shadow detail, because only then the flashligh shadows are enabled <_<

rfreytag1 avatar May 25 '13 23:05 rfreytag1

I have this problem too. HL2 all episodes.

http://steamcommunity.com/sharedfiles/filedetails/?id=154904321

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

Network Information: Network Speed:

Operating System Version: "openSUSE 12.3 (x86_64)" (64 bit) Kernel Name: Linux Kernel Version: 3.7.10-1.16-desktop X Server Vendor: The X.Org Foundation X Server Release: 11302000 X Window Manager: KWin Steam Runtime Version: steam-runtime-release-i386_2013-06-28

Video Card: Driver: ATI Technologies Inc. ATI Radeon HD 5700 Series

Driver Version:  4.2.12217 Compatibility Profile Context 12.104
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x1002
DeviceID:  0x68be
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1680 x 1050
Desktop Resolution: 1680 x 1050
Primary Display Size: 17,05" x 10,67"  (20,08" diag)
                                        43,3cm x 27,1cm  (51,0cm diag)
Primary VRAM Not Detected

Sound card: Audio device: Realtek ALC892

Memory: RAM: 3958 Mb

Miscellaneous: UI Language: English LANG: nl_NL.UTF-8 Microphone: Not set Total Hard Disk Space Available: 302381 Mb Largest Free Hard Disk Block: 216701 Mb

Installed software:

Recent Failure Reports:

Gps2010 avatar Jul 09 '13 13:07 Gps2010

This no longer happens with the 13.15 beta driver (aka OpenGL 4.3 beta), or at least I couldn't reproduce it anymore.

dscharrer avatar Jul 25 '13 19:07 dscharrer

Great!

Plagman avatar Jul 29 '13 22:07 Plagman

I don't think this was ever a driver issue. Left 4 Dead 2 has no trouble rendering env_projectedtexture flashlights in Linux under the same conditions. Bear in mind that only cards considerably newer than the Orange Box itself are supported by this driver. Is there at least a push from Valve to get AMD to eventually port the updates to their "legacy drivers"?

stevethepocket avatar Jul 30 '13 04:07 stevethepocket