Hello. Today I installed OpenBSD on a computer with a KAVERI APU (A10-7800) with an integrated R7 graphics core supporting Vulkan. I had to take a bite out of Gentoo and install OpenBSD in the free space. Unfortunately, only the Radeon driver worked for me on this APU. It works well, with all the accelerations, but without Vulkan support, unlike Gentoo, where the AMDGPU driver with Vulkan support works. Therefore, I can’t check the functionality of the game on Vulkan. I think one available "serioussam" port on OpenBSD is enough.
Happy Christmas and New Year everyone! Best Regards. Alexander. пт, 15 дек. 2023 г. в 09:49, Alexander Pavlov <t.x00100...@gmail.com>: > Hello. > I closed the pull request. When I have the opportunity, I'll test it on > real hardware. > > Best Regards. > Alexander. > > чт, 14 дек. 2023 г. в 10:07, Alexander Pavlov <t.x00100...@gmail.com>: > >> Yes, I noticed this now. My mistake. The sam_iGfxAPI variable is >> responsible for this. By default it is equal to one and the vulkan starts. >> If the vulkan is not detected when the game starts, then it switches to >> OpenGL. This variable can be set to zero in the configuration files, then >> the OpenGL render will be the default. This variable can be set to zero in >> the configuration file >> (~/.local/share/Serious-Engine/serioussam/Scripts/PersistentSymbols.ini) >> then the OpenGL render will be the default. This file is generated on first >> launch. You need to change the sam_iGfxAPI value to zero or write the line: >> persistent extern INDEX sam_iGfxAPI=(INDEX)0; >> >> чт, 14 дек. 2023 г. в 02:56, Thomas Frohwein <tfrohw...@fastmail.com>: >> >>> On Wed, Dec 13, 2023 at 10:34:01AM +0300, Alexander Pavlov wrote: >>> > Hello >>> > You can attach the game log. >>> > ~.local/share/Serious-Engine/serioussam/SeriousSam.log >>> > >>> > It looks like I was in a hurry to add this port to OpenBSD without >>> testing >>> > it on real hardware with Vulkan support. Or Serious Sam has no luck >>> with >>> > integrated Intel graphics. This is already the second case. The first >>> one >>> > had graphic artifacts on the OpenGL renderer. >>> >>> How do you run with opengl? I can't find anything about this in the man >>> page or the README. >>> >>> > I have a video card with Vulkan support on one computer. When I have >>> the >>> > opportunity, I’ll try to test it on it, but for now it’s probably >>> better >>> > for me to close the pull request, because without testing on real >>> hardware >>> > it’s difficult to understand the problem. >>> > >>> > ср, 13 дек. 2023 г. в 00:35, Kirill Bychkov <ki...@linklevel.net>: >>> > >>> > > On Tue, December 12, 2023 22:36, Thomas Frohwein wrote: >>> > > > On Mon, Dec 11, 2023 at 10:52:58PM +0300, Alexander Pavlov wrote: >>> > > >> Hello! >>> > > >> Thanks @Kirill for approved the pull request. >>> > > >> >>> > > >> This is my other ever port for OpenBSD. It's the open source >>> Serious Sam >>> > > >> Classic engine with vulkan support. The port has two renders >>> OpenGL and >>> > > >> Vulkan. Render switches to the game menu. >>> > > >> >>> > > >> Tested using the OpenGL renderer, since I do not have the >>> opportunity to >>> > > >> test the Vulkan renderer on OpenBSD. On the computer where >>> OpenBSD is >>> > > >> installed, the Radeon HD3000 does not support Vulkan. >>> > > >> >>> > > >> I wish to get this added to the official ports tree, so please >>> leave >>> > > >> any feedback or suggestions on what can be improved. Thank you! >>> > > >> >>> > > >> Source on Github: >>> > > >> https://github.com/tx00100xt/SeriousSamClassic-VK >>> > > > >>> > > > Thanks for submitting this: >>> > > > >>> > > >> @conflict serioussam-* >>> > > > >>> > > > Is this needed? We don't have any other serioussam ports as far as >>> I >>> > > > know. >>> > > >>> > > Yep, if we import both ports - serioussam and serioussam-vk >>> > > >>> > > > >>> > > > DESCR should be formatted, typically with fmt -w 80... >>> > > > README also should be formatted similarly. This means that the line >>> > > > with "directories:" should be pulled up, even if you're going with >>> > > > fmt -w 72 only. >>> > > > >>> > > > Looks like SamTFE/Sources/CMakeLists.txt and >>> > > > SamTSE/Sources/CMakeLists.txt add their own -O2 and -pipe which is >>> > > > better left to our ports build system. >>> > > > >>> > > > I'm getting a segfault in vulkan when trying to launch: >>> > > > >>> > > > $ serioussam >>> > > > STUBBED: load window icon in >>> > > > >>> > > >>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp, >>> > > > line 176. >>> > > > STUBBED: Need SDL invisible window or something in >>> > > > >>> > > >>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp, >>> > > > line 357. >>> > > > STUBBED: !!! FIXME: get the code back in from Ryan's original >>> port. in >>> > > > >>> > > >>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Base/Stream.cpp, >>> > > > line 995. >>> > > > STUBBED: Report actual SDL device name? in >>> > > > >>> > > >>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Sound/SoundLibrary.cpp, >>> > > > line 270. >>> > > > Segmentation fault (core dumped) >>> > > > >>> > > > With this here as part of the backtrace: >>> > > > >>> > > > #0 0x000004de18ccda2f in ?? () from >>> /usr/X11R6/lib/libvulkan_intel.so >>> > > > No symbol table info available. >>> > > > #1 0x000004de18e3dc49 in ?? () from >>> /usr/X11R6/lib/libvulkan_intel.so >>> > > > No symbol table info available. >>> > > > #2 0x000004de3b846d14 in SvkMain::InitTexture32Bit(unsigned int&, >>> > > VkFormat, >>> > > > void*, VkExtent2D*, unsigned int, bool) () from >>> > > > /usr/local/lib/libEngine.so.0.0 >>> > > > >>> > > > That's on an Intel Tigerlake integrated GPU. >>> > > > >>> > > > >>> > > >>> > > >>> > > >>> >>