Bugs in the Linux version of the Bard's Tale IV

If you need assistance with a technical is sue with The Bard's Tale IV, this forum is for you. Spoilers are allowed, but spoiler warning tags are recommended.

Moderator: Bard Hall Bouncers

User avatar
TheQuestionMark
Global Moderator
Posts: 46
Joined: August 26th, 2019, 9:42 am
Contact:

Re: Bugs in the Linux version of the Bard's Tale IV

Post by TheQuestionMark » September 17th, 2019, 7:42 pm

@shmerl thanks for checking in. I''m asking around for further details regarding this issue. Hopefully will have an update soon.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » September 19th, 2019, 2:11 pm

Good to know, thanks!

kilobug
Adventurer
Posts: 979
Joined: September 21st, 2014, 1:07 am
Location: Paris, France

Re: Bugs in the Linux version of the Bard's Tale IV

Post by kilobug » September 21st, 2019, 2:43 am

For information I submitted this morning bug reports for all the bugs (some Linux-specifics) some not I encountered so far - nothing crippling and game-breaking, but still irritating.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » October 8th, 2019, 8:27 am

Any update on the hang on Navi? FYI, the bug was moved here: https://gitlab.freedesktop.org/mesa/mesa/issues/1427

It still hangs with latest Mesa master and kernel 5.4-rc1+.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » October 20th, 2019, 11:50 am

Is there any possibility for developers to release the game with Vulkan renderer? I would probably mitigate this bug.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » October 26th, 2019, 10:01 pm

I don't know what changed exactly, but the game doesn't hang anymore with latest Mesa master / llvm10! Still, it would be nice to have a Vulkan renderer option.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 1st, 2019, 11:32 am

Any update on possibility of the Vulkan renderer?

User avatar
TheQuestionMark
Global Moderator
Posts: 46
Joined: August 26th, 2019, 9:42 am
Contact:

Re: Bugs in the Linux version of the Bard's Tale IV

Post by TheQuestionMark » November 1st, 2019, 12:50 pm

Any new updates, features, patches etc will be posted on our forums and social channels. Nothing new to report as yet.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 4th, 2019, 12:45 pm

TheQuestionMark wrote:
November 1st, 2019, 12:50 pm
Any new updates, features, patches etc will be posted on our forums and social channels. Nothing new to report as yet.
Did you at least relay the proposal of enabling Vulkan renderer to the developers? They might not consider it otherwise. Would be interesting to hear what they think about it.

User avatar
TheQuestionMark
Global Moderator
Posts: 46
Joined: August 26th, 2019, 9:42 am
Contact:

Re: Bugs in the Linux version of the Bard's Tale IV

Post by TheQuestionMark » November 4th, 2019, 1:10 pm

Thanks shmerl, All feedback, suggestions, ideas etc are passed directly on to the developers to discuss.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 5th, 2019, 6:09 pm

By the way, just tried the latest update using Mesa master. While it doesn't hang anymore still, there are more graphical glitches in this release. Like discolored mesh all around, periodically missing textures and so on. I'll make a more detailed bug report to Mesa bug tracker and will post here.

Making a Vulkan release will probably avoid all the issues with the OpenGL renderer like that.

User avatar
TheQuestionMark
Global Moderator
Posts: 46
Joined: August 26th, 2019, 9:42 am
Contact:

Re: Bugs in the Linux version of the Bard's Tale IV

Post by TheQuestionMark » November 6th, 2019, 1:01 pm

Thanks for this extra bit of info shmeri. Letting the team know now. Cheers again.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 7th, 2019, 8:57 pm

Just FYI, I'll re-test it and will open a Mesa bug as soon as I'll be able to build Mesa master with latest llvm10 snapshot. Right now in Debian testing there are some issues with that.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 16th, 2019, 6:40 pm

Hm, with all the recent system and Mesa updates, the game is now crashing when trying to load a save:

From the crash report:

Code: Select all

Generating report for minidump

Application version 4.20.1.0
 ... built from changelist 159128

OS version Linux 5.4.0-rc7+ (network name: shtub-cm)
Running 12 x86_64 processors (24 logical cores)
Exception was "SIGSEGV: invalid attempt to write memory at address 0x0000000000000003"

<SOURCE START>
<SOURCE END>

<CALLSTACK START>
BardsTale4-Linux-Shipping!FGenericPlatformMisc::RaiseException(unsigned int) [E:/BardsTale4/bt/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:391]
BardsTale4-Linux-Shipping!FOutputDevice::LogfImpl(wchar_t const*, ...) [E:/BardsTale4/bt/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp:70]
BardsTale4-Linux-Shipping!FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) [E:/BardsTale4/bt/Engine/Source/Runtime/Core/Public/Misc/OutputDevice.h:216]
BardsTale4-Linux-Shipping!FAsyncLoadingThread::TickAsyncThread(bool, bool, float, bool&, FFlushTree*) [E:/BardsTale4/bt/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:1418]
BardsTale4-Linux-Shipping!FAsyncLoadingThread::Run() [E:/BardsTale4/bt/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:5003]
BardsTale4-Linux-Shipping!FRunnableThreadPThread::Run() [E:/BardsTale4/bt/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
BardsTale4-Linux-Shipping!FRunnableThreadPThread::_ThreadProc(void*) [E:/BardsTale4/bt/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177]
libpthread.so.0!UnknownFunction(0x8fb6)
libc.so.6!clone(+0x3e)

<CALLSTACK END>

0 loaded modules

Report end!
Any idea what can be wrong?

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 16th, 2019, 7:17 pm

Oh, great. I deleted the save, and started the game anew - no more segfault! I suppose update for the game made old save incompatible. Plus no more graphical glitches in the game! Latest Mesa master fixed that.

For some reason though, I can't delete saves when in the game. Only from the main menu.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 16th, 2019, 7:26 pm

Oh, I was wrong, it's still segfaulting on load... Weird. Something is strange.

Hm. Something fishy is going now. Sometimes it's segfaulting, sometimes it's not. Looks like it's non deterministic.
Last edited by shmerl on November 16th, 2019, 7:46 pm, edited 1 time in total.

kilobug
Adventurer
Posts: 979
Joined: September 21st, 2014, 1:07 am
Location: Paris, France

Re: Bugs in the Linux version of the Bard's Tale IV

Post by kilobug » November 17th, 2019, 1:24 am

shmerl wrote:
November 16th, 2019, 7:26 pm
Oh, I was wrong, it's still segfaulting on load... Weird. Something is strange.

Hm. Something fishy is going now. Sometimes it's segfaulting, sometimes it's not. Looks like it's non deterministic.
Sounds like a race condition somewhere... did you try various Mesa options that can affect timing/race-conditions, like MESA_GLSL_CACHE_DISABLE ?

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 17th, 2019, 7:26 pm

Hard to say. I can clean up the cache, but I don't think it's related.

kilobug
Adventurer
Posts: 979
Joined: September 21st, 2014, 1:07 am
Location: Paris, France

Re: Bugs in the Linux version of the Bard's Tale IV

Post by kilobug » November 18th, 2019, 12:21 am

shmerl wrote:
November 17th, 2019, 7:26 pm
Hard to say. I can clean up the cache, but I don't think it's related.
Well, I had the issue with another game (Stellaris IIRC), which sometimes crashed at startup sometimes not, and using export MESA_GLSL_CACHE_DISABLE=1 would make it run everytime, so you might try that - but sure it might be unrelated.

shmerl
Explorer
Posts: 353
Joined: September 28th, 2014, 6:31 pm

Re: Bugs in the Linux version of the Bard's Tale IV

Post by shmerl » November 18th, 2019, 5:07 pm

Still segfaulting with MESA_GLSL_CACHE_DISABLE. However setting mesa_glthread=true prevents the crash! It must be some race condition that's avoided doing the later, since it uses more threads for compiling shaders.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests