View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004962 | The Dark Mod | Graphics | public | 17.01.2019 00:20 | 06.05.2019 02:52 |
Reporter | Nightcrawler | Assigned To | duzenko | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux x64 | OS | Ubuntu | OS Version | 18.10 |
Product Version | TDM 2.07 | ||||
Target Version | TDM 2.07 | Fixed in Version | TDM 2.07 | ||
Summary | 0004962: Lightning stops working in TDM v2.07 | ||||
Description | Light sources do not produce any visible light in TDM v2.07beta. | ||||
Additional Information | I attached some screenshots of the same scenes in tdm v2.07 and tdm v2.06 to illustrate this issue. | ||||
Tags | No tags attached. | ||||
light_bug_screenshots.zip (4,232,387 bytes) |
|
Any relation to this? http://forums.thedarkmod.com/topic/19807-lights-not-working-fixed/ | |
Does this happen if you set r_useGLSL 0 ? Please post a condump and your Darkmod.cfg |
|
Also: DRM 3.26.0, 4.18.0-13-generic Does lighting work if you use AMD's non-free drivers? |
|
Darkmod.cfg (12,894 bytes) |
|
Yes, this http://forums.thedarkmod.com/topic/19807-lights-not-working-fixed/ seems to be the same. Setting r_useGLSL 0 fixed it for me. I uploaded my darkmod.cfg if that's still useful |
|
How about the shader compile log? I believe you're on nVidia 7600? Or Intel? |
|
No, I'm on AMD Radeon R5. Not sure where/how to get the shader compile log |
|
The backtrace from 4961 has GL logging but we normally would want the results from: 1) Open Console 2) reloadGLSLprograms 3) Condump mygraphicissue.txt thanks |
|
graphicsIssue.dump (29,994 bytes) |
|
Ok, there you go | |
Per stgatilov: Too late in the development cycle to risk global changes to GL version support. Updated shaders may be supplied at Moddb when a consensus has been reached about the best approach. |
|
I have the same problem in VMWare Linux VM. It has: OpenGL vendor: VMware, Inc. OpenGL renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; OpenGL version: 3.0 Mesa 12.0.6 v - using GL version 2.0 (core) I cannot see any sort of lights in any mode. In fact, we now have stupid problem: 1) If we leave GL_EXT_gpu_shader4 extension in shader, then old GL2 cards and some new Linux drivers cannot get interaction lights working in any mode. Even with hard stencil shadows, which don't actually need this extension. 2) If we remove GL_EXT_gpu_shader4 extension in shader, then most of the cards can stop working with Stencil shadows because of syntax error (using type undefined in GLSL 1.20). What this story teaches us? 1) Always enable new features by conditional compilation, don't use only uniforms for that. Just like you do #ifdef in C++. 2) GL3 core profile is really important if we want to get TDM friendly to wide range of drivers. |
|
Switch to shadow maps if GL_EXT_gpu_shader4 not supported and gl version >= 4? | |
Geometry shaders extension is not supported (and core geometry shaders too since it is GL 3.0) =) We have two workarounds for people with this problem. Applying either of them is enough: 1) Set "r_useGLSL 0" and restart to revert to old shaders. 2) Download file "interaction_oldgl.fs" from here, and rename it into file "glprogs/interaction.fs" (this path is relative to TDM installation root dir). I hope the whole mess with extensions will go away by TDM 2.08. |
|
interaction_oldgl.fs (10,748 bytes) |
|
I mean the particular problem reported by actual users, not your experience with VMWare | |
@Nightcrawler Can you try the current MESA driver version? |
|
At revision: 7948 Revision: 15621 |
|
Please could anyone test and report this | |
Just tested the latest 2.07-hotfix and that bug is gone :) No need to install the newest MESA driver (atm I use OpenGL version: 4.4 Mesa 18.2.8). Sorry for the waiting... |
|
Ready to close? | |
Fixed in 2.07-hotfix (just released). | |
Date Modified | Username | Field | Change |
---|---|---|---|
17.01.2019 00:20 | Nightcrawler | New Issue | |
17.01.2019 00:20 | Nightcrawler | File Added: light_bug_screenshots.zip | |
17.01.2019 02:09 | Springheel | Note Added: 0011368 | |
17.01.2019 02:23 | nbohr1more | Note Added: 0011370 | |
17.01.2019 02:26 | nbohr1more | Note Added: 0011371 | |
17.01.2019 11:11 | STiFU | Status | new => acknowledged |
17.01.2019 11:11 | STiFU | Product Version | => TDM 2.07 |
17.01.2019 11:11 | STiFU | Target Version | => TDM 2.07 |
17.01.2019 19:05 | Nightcrawler | File Added: Darkmod.cfg | |
17.01.2019 19:08 | Nightcrawler | Note Added: 0011400 | |
18.01.2019 12:40 | duzenko | Note Added: 0011403 | |
18.01.2019 12:58 | Nightcrawler | Note Added: 0011406 | |
18.01.2019 15:27 | nbohr1more | Relationship added | related to 0004961 |
18.01.2019 15:28 | nbohr1more | Note Added: 0011411 | |
20.01.2019 16:13 | Nightcrawler | File Added: graphicsIssue.dump | |
20.01.2019 16:15 | Nightcrawler | Note Added: 0011447 | |
22.01.2019 15:37 | nbohr1more | Note Added: 0011473 | |
22.01.2019 15:37 | nbohr1more | Target Version | TDM 2.07 => TDM 2.08 |
22.01.2019 15:39 | nbohr1more | Note Edited: 0011473 | View Revisions |
27.01.2019 13:36 | stgatilov | Note Added: 0011517 | |
27.01.2019 13:37 | stgatilov | Note Edited: 0011517 | View Revisions |
27.01.2019 14:40 | duzenko | Note Added: 0011518 | |
28.01.2019 12:53 | stgatilov | Note Added: 0011520 | |
28.01.2019 12:54 | stgatilov | Note Edited: 0011520 | View Revisions |
28.01.2019 12:54 | stgatilov | File Added: interaction_oldgl.fs | |
28.01.2019 13:28 | duzenko | Note Added: 0011521 | |
03.02.2019 15:06 | duzenko | Note Added: 0011537 | |
09.02.2019 09:33 | duzenko | Assigned To | => duzenko |
09.02.2019 09:33 | duzenko | Status | acknowledged => assigned |
09.02.2019 09:35 | duzenko | Note Added: 0011553 | |
09.02.2019 09:35 | duzenko | Status | assigned => resolved |
09.02.2019 09:35 | duzenko | Fixed in Version | => SVN |
09.02.2019 09:35 | duzenko | Resolution | open => fixed |
19.02.2019 18:27 | duzenko | Note Added: 0011625 | |
19.02.2019 18:28 | duzenko | Status | resolved => feedback |
19.02.2019 18:28 | duzenko | Resolution | fixed => reopened |
29.03.2019 23:55 | Nightcrawler | Note Added: 0011699 | |
29.03.2019 23:55 | Nightcrawler | Status | feedback => assigned |
05.05.2019 17:41 | duzenko | Note Added: 0011784 | |
06.05.2019 02:52 | stgatilov | Target Version | TDM 2.08 => TDM 2.07 |
06.05.2019 02:52 | stgatilov | Note Added: 0011786 | |
06.05.2019 02:52 | stgatilov | Status | assigned => resolved |
06.05.2019 02:52 | stgatilov | Fixed in Version | SVN => TDM 2.07 |
06.05.2019 02:52 | stgatilov | Resolution | reopened => fixed |