SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-22-18, 02:13 PM   #1
Blackjack174
Swabbie
 
Join Date: Mar 2010
Posts: 7
Downloads: 13
Uploads: 0
Default

Quote:
Originally Posted by BarracudaUAK View Post
I downgraded to WINE 1.9.12 (currently 3.2) and still got the flickering.
So I'm not exactly sure where the issue is.

Barracuda
try to start (and wait ages ) prepending mesa env. variable for software rendering:

LIBGL_ALWAYS_SOFTWARE=true COMMANDTHATSTARTSH3/4HERE

Software rendering still uses mesa and works (but crappy slow with ~4ghz cpu), as is the intel implementation for mesa, so I am pretty sure mesa stack is the culprit here.

Switching radeon cards will probably still use the same vertex? shader compiler with the same errors and issues, apparently these seem to behave differently than the intel/software implementations, but replaying opengl traces shows a lot of shader compiler errors (that could be a wine problem , have to test with native d3d9 dlls), so if the radeon driver path has some more issues with these this could potentially break differently.

Did it at any point in time work ok with any of your cards under wine ?

EDIT: forgot to mention , I also tried wine staging with gallium nine, this rendered my sub interior ok with no flickering but hung my hole graphic stack when getting to the bridge or anywhere else from the first station after mission loads (menu also did not flicker at all), this however bypasses the opengl stack and sends d3d9 calls to the card, hence not the same errors, but in my case I had to shutdown my system using a remote shell
Blackjack174 is offline   Reply With Quote
Old 02-22-18, 03:54 PM   #2
BarracudaUAK
XO
 
Join Date: Apr 2016
Posts: 421
Downloads: 33
Uploads: 0


Default

Quote:
Originally Posted by Blackjack174 View Post
...
Switching radeon cards will probably still use the same vertex? shader compiler with the same errors and issues, apparently these seem to behave differently than the intel/software implementations, but replaying opengl traces shows a lot of shader compiler errors (that could be a wine problem , have to test with native d3d9 dlls), so if the radeon driver path has some more issues with these this could potentially break differently.

Did it at any point in time work ok with any of your cards under wine ?
...

To answer your last question first: Yes, from 1.7.30(when I installed Fedora 20) up until WINE v2.6.
v2.7 and up have had this issue.

I tried my R7 370X because it uses the Radeon kernel driver, not the AMDGPU kernel driver, although both use the RadeonSI (SI=Sea Islands *I think*) mesa driver. In case the error was with AMDGPU....

As far as you comment about testing with actuall d3d9 dlls.
This gets complicated typing, just to break it down so I don't confuse anyone, or myself:
I have SH4 through steam.
I have Steam installed in a 32bit WINE prefix, ".wine32".
In ".wine32" I have DirectX 9c and DotNet 2.0 installed. (Initially because S3D needed dotnet.)


I also have a "Steam install" in the default 64bit ".wine" prefix.
I also added SH4 here to test the LAA patch and larger mods.
The default prefix uses "stock" WINE dlls.

It flickers in BOTH prefixes.

The only thing I haven't tried is downgrading Xorg to 1.17 (from Fedora 22's release) and installing FGLRX, which would replace a rather large chunk of most of the probable areas.
This is what I used on my last PC with HD6750s, and this current PC up until kernel 4.8.16 with both the R7 370X, and the R9 380.

Also may try XFCE, or LXDE, as I've read of various troubles plaguing one desktop while trying to game, but not another.

I'm just running through all the possibilities.


Barracuda
BarracudaUAK is offline   Reply With Quote
Old 02-22-18, 04:57 PM   #3
BarracudaUAK
XO
 
Join Date: Apr 2016
Posts: 421
Downloads: 33
Uploads: 0


Default

And XFCE and LXDE both encountered the same issue.
(Although they both have a lot of gnome dependencies, was hoping it might just be limited to KDE, since that is the only thing I haven't tried downgrading yet.)


I'll try it with the CL command you mentioned Blackjack174, and see what happens!

EDIT: SH4 crashes when launched. Black screen then I see the crash dialog box pop up in the background.
(I have my windows set to go semi-transparent when they are not the currently selected window.)


Barracuda
BarracudaUAK is offline   Reply With Quote
Old 02-22-18, 07:59 PM   #4
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Looking over the XP options, in addition to adjusting the audio acceleration with DXDIAG I also have the option to adjust video acceleration down one notch by;

1. Right click on desktop
2. Settings, Advanced, Troubleshoot.

Again, dunno anything about WINE, but might be worth looking to see if it has a similar option.
Sniper297 is offline   Reply With Quote
Old 02-23-18, 12:00 AM   #5
BarracudaUAK
XO
 
Join Date: Apr 2016
Posts: 421
Downloads: 33
Uploads: 0


Default

Quote:
Originally Posted by Sniper297 View Post
Looking over the XP options, in addition to adjusting the audio acceleration with DXDIAG I also have the option to adjust video acceleration down one notch by;

1. Right click on desktop
2. Settings, Advanced, Troubleshoot.

Again, dunno anything about WINE, but might be worth looking to see if it has a similar option.

WINE is just a compatibility layer, so no such option.
It integrates your Windows programs/games with Linux/MacOS/Unix (BSD,openBSD,etc) it's not a "virtual" desktop type thing.

Although I do appreciate the reminder of how to do it in WinXP.
It's been 3+ years since I had XP on a PC.
All the other PCs in the house (none of them mine) are all 7 and newer.

At this point seems like the Virtual machine with the GPU pass-through (thereby allowing the "virtual" OS to "see" the physical hardware) running an older version of the OS, is the best option. Pending a bugfix.

Barracuda
BarracudaUAK is offline   Reply With Quote
Old 02-23-18, 10:58 PM   #6
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Surely they didn't do like MS and decide that "you don't need that old stuff anymore", did they?...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-24-18, 12:08 AM   #7
BarracudaUAK
XO
 
Join Date: Apr 2016
Posts: 421
Downloads: 33
Uploads: 0


Default

Quote:
Originally Posted by propbeanie View Post
Surely they didn't do like MS and decide that "you don't need that old stuff anymore", did they?...

I think it's just a bug in the driver.

There have been many improvements to the driver over the last few years.
Also WINE has added several things... I think it's just a case of work on new stuff invariably messes with the old.

Similar to moving in furniture, you can catch a wall or corner, and mess up all that drywall and/or trim work... End result, you have to fix it.


Using the native Linux version Counter Strike Source, running the stress test, I got the following results over the last few years:

Shortly after I built the PC, running 1920x1080, Detail maxed, 8x AA, 16x Anistropic (sp?) Filtering.
Motion Blur, Bloom and High Dynamic Range all turned OFF.
(Mainly because I hate those "visual tweaks".)

XFX R7 370X @ 1050mhz (factory OC)
Gigabyte R9 380 @ 980mhz (factory OC)

Averages:
With FGLRX:
R7: 273fps
R9: 253fps
R9 OC'd to 1050mhz: 263fps
Any higher and the R9 would be unstable.

switch to AMDGPU/Mesa (RadeonSI driver) (~kernel 4.9):
R9: 233fps

Then:
R9: 213fps

Later still:
R9: 230~ish

Kernel 4.13-4.14:
R9: up to 257-260fps
OC'd to ~1050mhz: 263fps

EDIT: May have been Mesa 17.2.4... Last file I can find on my PC.
Current: Kernel 4.15.2/4.15.3/mesa 17.3 (RadeonSI driver),
R9 @ factory 980mhz: 273.94fps avg.

EDIT: w/ mesa 17.3.5:
EDIT: R9: 276fps
EDIT: It's climbing again.

The highest it's been for the for the R9 EVER, and matching the older R7.
In addition to adding the Polaris (RX 4xx/RX 5xx) and the Vega 56/64 too.

So I'm sure in all of this, plus wine, someone probably commented or typo'd something somewhere.

Barracuda

Last edited by BarracudaUAK; 02-24-18 at 02:51 PM.
BarracudaUAK is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.