View Issue Details

IDProjectCategoryView StatusLast Update
0005143The Dark ModGraphicspublic23.09.2021 07:56
Reporterstgatilov Assigned Toduzenko  
PrioritynormalSeveritymajorReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.07 
Target VersionTDM 2.08Fixed in VersionTDM 2.08 
Summary0005143: Allow to run TDM on GL3 core profile
DescriptionAs a major step to clean GL3 renderer, we need to make it work with Core profile, when all deprecated functionality is missing.
TagsNo tags attached.

Relationships

related to 0005144 resolvedstgatilov Fix render tools on GL Core profile 

Activities

stgatilov

stgatilov

06.02.2020 15:39

administrator   ~0012177

It was done by Duzenko somewhere in September.

Now TDM looks at r_glCoreProfile cvar at initialization.
By default it is 0, meaning that compatibility profile is used.
Set this to 2 to enable "forward-compatible" GL 3.1 context.
(I guess when we move to GL 3.3, there would be only two options and no weird terms)

Well, I found some discussions about it in this thread:
  https://forums.thedarkmod.com/index.php?/topic/19801-arb-to-glsl-migration/&do=findComment&comment=439328
Don't remember any other places.
duzenko

duzenko

06.02.2020 15:45

developer   ~0012178

What's missing on core profiles?
stgatilov

stgatilov

07.02.2020 01:32

administrator   ~0012181

Render tools at least: 0005144
Don't know of anything else yet
stgatilov

stgatilov

11.02.2020 09:43

administrator   ~0012188

Set "r_glCoreProfile 2" as default value in svn rev 8578,
stgatilov

stgatilov

23.09.2021 07:56

administrator   ~0014364

One more problem fixed in svn rev 9595.

It turns out that GUI graphics, decals, and deforms (particle / turbulent) were rendered from CPU-side index buffer.
This is not allows in Core profile, and while most drivers were OK with that, some AMD drivers simply displayed black screen instead of the main menu.

There is a lengthy thread about this problem of TDM 2.09, but the most interesting part starts here:
  https://forums.thedarkmod.com/index.php?/topic/20790-tdm-209-black-menu-with-music-playing/&do=findComment&comment=465413

Issue History

Date Modified Username Field Change
06.02.2020 15:36 stgatilov New Issue
06.02.2020 15:36 stgatilov Status new => assigned
06.02.2020 15:36 stgatilov Assigned To => duzenko
06.02.2020 15:39 stgatilov Note Added: 0012177
06.02.2020 15:41 stgatilov Relationship added related to 0005144
06.02.2020 15:45 duzenko Note Added: 0012178
07.02.2020 01:32 stgatilov Note Added: 0012181
11.02.2020 09:43 stgatilov Note Added: 0012188
11.02.2020 09:43 stgatilov Status assigned => resolved
11.02.2020 09:43 stgatilov Resolution open => fixed
11.02.2020 09:43 stgatilov Fixed in Version => TDM 2.08
23.09.2021 07:56 stgatilov Note Added: 0014364