Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battlefield 4 #37

Open
2 of 6 tasks
libcg opened this issue Dec 10, 2021 · 4 comments
Open
2 of 6 tasks

Battlefield 4 #37

libcg opened this issue Dec 10, 2021 · 4 comments

Comments

@libcg
Copy link
Owner

libcg commented Dec 10, 2021

Meta-issue for Battlefield 4.

@gentoolinux-girl
Copy link

gentoolinux-girl commented Nov 29, 2022

BattleField 4 Hangs at Launch

Launching BF4 through Steam, with GRVK (compiled from 2bb8b8e) using Mantle, causes a freeze after a couple seconds; then the screen goes black indefinitely.

Steps

1. Load BF4, go to settings.
2. Set API to Mantle.
3. Reboot
4. Encounter freeze/hang

🗒️ Logs 🖨️ (Click to expand)

grvk.log

=== GRVK 0.5.0 ===
I/00000964/grInitAndEnumerateGpus: app "Battlefield" (01000000), engine "Frostbite" (00C00000), api 00018000
W/00000964/grInitAndEnumerateGpus: unhandled alloc callbacks
W/00000964/grGetExtensionSupport: unsupported GR_ADVANCED_MSAA extension
W/00000964/grGetExtensionSupport: unsupported GR_TIMER_QUEUE extension
I/00000964/grCreateDevice: 1002:73DF "AMD Radeon RX 6700 XT (RADV NAVI22)" (Vulkan 1.3.230, driver 22.2.99)
I/00000964/grCreateDevice: DMA queue remapped to compute queue 1
W/00000964/grCreateDevice: ignoring device coherent/uncached memory type 5
W/00000964/grCreateDevice: ignoring device coherent/uncached memory type 6
W/00000964/grCreateDevice: ignoring device coherent/uncached memory type 7
W/00000964/grCreateDevice: ignoring device coherent/uncached memory type 8
W/00000964/grWsiWinGetDisplayModeList: semi-stub
W/00000964/grWsiWinSetMaxQueuedFrames: semi-stub
W/00000990/ilcCompileKernel: unhandled hull/domain shader type
W/00000984/ilcCompileKernel: unhandled hull/domain shader type
W/00000990/ilcCompileKernel: unhandled hull/domain shader type
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000988/ilcCompileKernel: unhandled hull/domain shader type
W/00000988/ilcCompileKernel: unhandled hull/domain shader type
W/00000988/ilcCompileKernel: unhandled hull/domain shader type
W/00000988/ilcCompileKernel: unhandled hull/domain shader type
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinTakeFullscreenOwnership: semi-stub
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000908/grWsiWinReleaseFullscreenOwnership: semi-stub
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinCreatePresentableImage: unhandled flags 0x1
W/00000984/grWsiWinTakeFullscreenOwnership: semi-stub
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000984/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000908/grWsiWinReleaseFullscreenOwnership: semi-stub

grvk_axl.log (Empty)

=== GRVK 0.5.0 (AXL) ===

📝 Notes 🗒️

  • BattleField 4 does not always successfully launch.

    • Instead it opens a minimized Origin window, and eventually closes.
    • This also happens using GRVK-0.5.0, which is why I compiled a development build.
  • The game freezes after about 2 seconds before going blank, or right here:

    • example
  • My OS is compiled with -O3 & --march-native, unsure if that is relevant, but I figured certain compiled dependencies might cause problems.

    • Although it seems like the problems are with grGetExtensionSupport.
  • I compiled GRVK on a separate, standard Arch Linux machine; as I struggled to get mingw working on Gentoo.

Game Settings

settings

(I opened with DXVK to get this screenshot.)

Launch Options

PROTON_NO_WRITE_WATCH=1 gamemoderun mangohud %command%

System Information

  • Operating System: Gentoo Linux
  • Kernel: 6.0.8-gentoo-x86_64
  • Drivers: Mesa 22.3-0
  • Render Session: X11
  • Platform: Steam
  • Proton: GE-Proton7-41
  • Motherboard: B450M DS3H V2
  • GPU: Radeon RX 6700XT
  • CPU: Ryzen R7 3800XT (@8, x16)

I hope my comment is formatted right. :>

¡Thanks for any help!

@libcg
Copy link
Owner Author

libcg commented Dec 1, 2022

@gentoolinux-girl thanks for the report, does it work with stable releases? Proton 7.0-4 and latest stable mesa?

@gentoolinux-girl
Copy link

gentoolinux-girl commented Dec 3, 2022

@gentoolinux-girl thanks for the report, does it work with stable releases? Proton 7.0-4 and latest stable mesa?

¡Hello! My apologies for the late reply.

No — I get the same results using:

Where — the 2bb8b8e build will launch but freeze after 2 seconds and GRVK-0.5.0 fails to launch.


I have noticed something new: DXVK logs are still created when the game launches — despite running GRVK.

Note — before, I was using >=media-libs/mesa-9999, (Gentoo's equivalent to mesa-git in Arch Linux), not Mesa 22.3.0.

🗒️ Logs 🖨️

grvk.log

=== GRVK 0.5.0 ===
I/00000928/grInitAndEnumerateGpus: app "Battlefield" (01000000), engine "Frostbite" (00C00000), api 00018000
W/00000928/grInitAndEnumerateGpus: unhandled alloc callbacks
W/00000928/grGetExtensionSupport: unsupported GR_ADVANCED_MSAA extension
W/00000928/grGetExtensionSupport: unsupported GR_TIMER_QUEUE extension
I/00000928/grCreateDevice: 1002:73DF "AMD Radeon RX 6700 XT (RADV NAVI22)" (Vulkan 1.3.224, driver 22.2.3)
I/00000928/grCreateDevice: DMA queue remapped to compute queue 1
W/00000928/grCreateDevice: ignoring device coherent/uncached memory type 5
W/00000928/grCreateDevice: ignoring device coherent/uncached memory type 6
W/00000928/grCreateDevice: ignoring device coherent/uncached memory type 7
W/00000928/grCreateDevice: ignoring device coherent/uncached memory type 8
W/00000928/grWsiWinGetDisplayModeList: semi-stub
W/00000928/grWsiWinSetMaxQueuedFrames: semi-stub
W/00000954/ilcCompileKernel: unhandled hull/domain shader type
W/00000948/ilcCompileKernel: unhandled hull/domain shader type
W/00000954/ilcCompileKernel: unhandled hull/domain shader type
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000954/ilcCompileKernel: unhandled hull/domain shader type
W/0000094C/ilcCompileKernel: unhandled hull/domain shader type
W/0000094C/ilcCompileKernel: unhandled hull/domain shader type
W/00000954/ilcCompileKernel: unhandled hull/domain shader type
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag
W/00000948/grCreateQueueSemaphore: unhandled shareable semaphore flag

grvk_axl.log (Empty)

=== GRVK 0.5.0 (AXL) ===

@Artoria2e5
Copy link

Artoria2e5 commented Dec 28, 2022

Huh, tried 2bb8b8e action-build on Adrenaline 22.11.2 and got this:
grvk.log (bit different!)
grvk_axl.log (empty)
PROFSAVE_profile.txt

Same initial symptom: first launch shows splash screen in a window then goes fullscreen black. After that it shows no splash and just occasionally the bar-on-top-right loading icon before crashing.

Windows 11 (10.0.22621.963), Intel 8086K. Did an inadvisable "system-wide" install by copying straight into Windows/{System32,SysWow64}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants