1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Vulkan API – Feedback, Known Issues, and FAQ

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Car_Killer, Jun 22, 2021.

  1. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,652
    Could you send your specs here? Unfortunately, I cannot tell what is going on if you don't post any information about your setup.

    We are working on it :)
     
  2. Desoroxxx

    Desoroxxx
    Expand Collapse

    Joined:
    Mar 18, 2022
    Messages:
    8
    Sorry since it was no Vulkan specific I didn't elaborate, but I will since it affects Vulkan too.
    So, in the last version 0.29 I had 40 average FPS on normal settings, now I get 8 average FPS on normal, after investigating as you can see in my last post, I found it had something to do with lighting and fair enough, FPS went back to a 60 average on lowest lighting settings.
    After a bit more investigation I realized that polycount was affecting FPS in an anormal way, and since lighting doubles the polycount and shadows double it again it would explain why I found that lighting was the issue.
    (When testing different polycount the amount of draw calls was the same)

    Versions
    • BeamNG: 0.30.0.0.15607
    • AMD Software: Adrenalin Edition: 23.9.2
    • GPU Driver: 23.20.11.01-230911a-395628C-AMD-Software-Adrenalin-Edition
    • AMD Windows Driver: 31.0.22011.1008
    • Vulkan API: 1.3.262
    • Vulkan Driver: 2.0.289
    Specification
    • OS: Windows 11 Home (64 bit) 22H2 (Build 23545.1000)
    • CPU: Ryzen 7 5800X
    • GPU: Radeon RX 6500 XT
    • CPU Speed: 3.80GHz Boost around 4.5Ghz
    • CPU Core: 8
    • CPU Threads: 16
    • RAM Size: 48 GB
    • RAM Speed: 2800 MHz
    • Storage Type: SSD
    • GPU VRAM: 4 GB
    If you need any more info tell me
     
    • Like Like x 2
  3. Alex [ITA]

    Alex [ITA]
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    472
    Alright so, there are some graphical glitches in Johnson Valley sometimes. I've encountered this issue only on Vulkan and at the time 2/3 times that I played on that map.
    Steps to reproduce:
    • Spawn in the map (possibly in the dunekicker camp as both of the times the problem appeared there);
    • There should be some big glitches of low res stretched bushes (?) that just tank the framerate, see images below;
    The stretched "thing" doesn't seem to be always in the same place; the first time it was in the red area (still very visible from the dunekicker camp), the second time in the blue area (the map screenshot is from the internet).
    upload_2023-9-21_14-45-13.png
    Without the glitch:
    upload_2023-9-21_13-49-52.png
    Slightly rotated the camera, glitch in view:
    upload_2023-9-21_13-52-42.png
    Rotated the camera, the glitch is fully in view
    upload_2023-9-21_13-54-11.png
    A video:
    vulkan_bug.mp4
    Log:
    beamnglog.txt


    Now on another note, I've tried for the first time Vulkan after the 0.30 update and I have to say that generally on my system there is a noticeable bump in performance.
    I've tested yesterday in the following conditions:
    • WCUSA, spawn at the service station;
    • Default blue D-series;
    • Drive along this route:
      upload_2023-9-21_14-21-6.png
    • Crashed the car a couple of times :rolleyes: (once with recovery in both, roughly where the bridge across the bay is, roughly of the same 2 seconds length)
    Direct3d: average ~103 fps with dips down to 75 fps in Chinatown.
    Vulkan: average ~126 fps with no real dips in performance.
     

    Attached Files:

    • Like Like x 1
  4. zachariah.74

    zachariah.74
    Expand Collapse

    Joined:
    Apr 10, 2022
    Messages:
    786
    Same here on Ryzen 5 2600X with 16GB of ram and RTX 2060, not the greatest setup but normally capable of around 70-80fps single car on most maps in D3D, yet its 6-15 ish fps in vulkan on (at least tested so far: WCU, Automation Test Track
     
  5. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,652
    Thanks for clarification :)

    The strange glitchy impostors are a known issue mentioned in the first post, thanks for the report..

    I'm glad to hear that you got a performance bump ;)
     
    • Like Like x 2
  6. Alex [ITA]

    Alex [ITA]
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    472
    I imagined it was something linked to that, didn't know what those impostors (sus) were :)
     
  7. SemKill

    SemKill
    Expand Collapse

    Joined:
    Feb 5, 2021
    Messages:
    294
    Well, my bug trying to use the Vulkan Api is that the game doesn't allow me to apply a resolution lower than 1080p (for example 720p) whenever I change it and I click on apply the game flashes and returns to 1080p (in Dx11 Works Fine)
     
  8. Desoroxxx

    Desoroxxx
    Expand Collapse

    Joined:
    Mar 18, 2022
    Messages:
    8
    Issue I found for both DX11 and Vulkan, on the main menu performance is way to low for a menu only and ressource use is way too high.
    Vulkan: 2.1 GB of VRAM usage, 100% GPU usage, average 5 FPS
    DX11: 1.1 GB of VRAM usage, 40% of my GPU, average 60 FPS (most likely locked)
    --- Post updated ---
    Additional Vulkan testing, still main menu, but windowed mode with a non maximized window:
    2.2 GB of VRAM usage, 40% of my GPU, average 60 FPS (most likely locked)
    So I conclude that there is a game wide bug that destroys the performance of Vulkan with a bigger window than the default size, the VRAM usage is still bad though.
     
  9. zachariah.74

    zachariah.74
    Expand Collapse

    Joined:
    Apr 10, 2022
    Messages:
    786
    I hope this is addressed in the next hotfix because I am experiencing this too
     
  10. Desoroxxx

    Desoroxxx
    Expand Collapse

    Joined:
    Mar 18, 2022
    Messages:
    8
    Did some profiling (GPU, Vulkan):
    upload_2023-9-21_16-34-55.png
    upload_2023-9-21_16-36-3.png
    upload_2023-9-21_16-40-53.png
    upload_2023-9-21_16-44-26.png
    upload_2023-9-21_16-44-43.png
    It seems to me like the real current bottleneck is the memory which was known? Anyway here is the profiles and trace if a dev want to take a look for themselves since I did not want to post every little details here as it felt spammy:
    Profile: BeamNG.drive.x64-20230921-163001.rgp
    Trace: BeamNG.drive.x64-20230921-163040.rmv
    --- Post updated ---
    0.30.1 fixes the insane FPS issue with Vulkan when the game is bigger than the default window size, but the FPS ingame is still bad because of VRAM issues.
     
    • Like Like x 1
  11. Bexcon

    Bexcon
    Expand Collapse

    Joined:
    Apr 27, 2017
    Messages:
    123
    what version of vulkan is used in the game? 1.3?
     
  12. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,652
    Yes, BeamNG 0.30 uses Vulkan 1.3.261
     
    • Like Like x 1
  13. Pr9tkin

    Pr9tkin
    Expand Collapse

    Joined:
    Jan 28, 2022
    Messages:
    533
    Since Vulkan will be the main IPA, please get on with HDR support, I can't use my TV, the picture is very dim... so I have to keep using dx11
     
  14. Andreworyan

    Andreworyan
    Expand Collapse

    Joined:
    Jul 24, 2023
    Messages:
    4
    Also same here, 1650 Ti, 16GB RAM. Posted about the same issue beforehand either way.
     
  15. 79luca79

    79luca79
    Expand Collapse

    Joined:
    Jan 21, 2023
    Messages:
    3
    I played with Vulkan on Gridmap Version 3? and it never crashed or made glitches. it worked flawelessly. i tried truck, gambler, bus, pigeon and autobello stambecco.
    thank you, i now have more performance with my old pc! :)

    Windows 10, Athlon x4 860k, Radeon X550, 12 GB RAM
     
    #275 79luca79, Sep 23, 2023
    Last edited: Sep 25, 2023
    • Like Like x 1
  16. Métronome

    Métronome
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    392
    I did some testing with my GTX 1080, and I have the impression that the white and black pixel artifacts come from the light management.
    I changed my light setting Normal to Ultra when the artifacts appears, this diminished the artifacts, before they reappeared.
     
  17. thegamerpt

    thegamerpt
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    118
    So there is still no fix to the major FPS drops? Because when I load into the map I get decent fps but after 3 or 4 minutes it drops to 10 fps and only gets worse, even with the lowest graphical settings. This is the first time ever using Vulkan.
     
  18. yes man

    yes man
    Expand Collapse

    Joined:
    Feb 5, 2023
    Messages:
    4
    i tried it and it gave me a bsod
     
  19. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,652
    In most cases FPS drops appear when GPU is paging to your system RAM, we are working on improving that behavior as it's really visible on cards with less than 8 GB VRAM, and in overall worse than on a DX11 mode.
    What is your graphics card? Please always include GPU model, OS and driver versions, when reporting such issues :(
     
    • Like Like x 1
  20. Kustu

    Kustu
    Expand Collapse

    Joined:
    May 30, 2020
    Messages:
    17
    Yeah I have an RTX 2060 6gb and most maps are basically unplayable with Vulkan, as it maxes out the Vram and starts using the normal ram. On dx11 it runs nicely and uses only about 5gb of vram. It almost seems like there is some kind of memory leak going on with Vulkan.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice