Proton icon indicating copy to clipboard operation
Proton copied to clipboard

FINAL FANTASY XVI DEMO (2738000)

Open Hadrianneue opened this issue 2 years ago • 42 comments

Compatibility Report

  • Name of the game with compatibility issues: FINAL FANTASY XVI DEMO
  • Steam AppID of the game: 2738000

System Information

  • GPU: RX 6700 XT
  • Video driver version: 24.2.0-rc4 (git-f9d8468d29)
  • Kernel version: 6.10.5-arch1-1 # 1 SMP PREEMPT_DYNAMIC Thu, 15 Aug 2024 00:25:30 +0000 x86_64 GNU/Linux
  • Proton version: Proton experimental
  • both X11/Wayland were tested.

I confirm:

  • [X] that I haven't found an existing compatibility report for this game.
  • [X] that I have checked whether there are updates for my system available.

steam-2738000.log

Symptoms

FSR3 frame generation doesn't generate frames, messes up with the frame time.

Reproduction

Just install demo and get past the intro (~2 min), skip cutscenes for better testing, toggling FSR3 Frame generation on/off as well as any other setting doesn't make frame generation work properly

Hadrianneue avatar Aug 19 '24 18:08 Hadrianneue

Also got some weird issues when enabling FSR3, not sure if something related to Proton or the game itself. Another thing happening to me is that the game is supposed to have DualSense native support but at least on my case, game wont detect gamepad if I dont enable Steam Input (And then loosing DualSense features)

alosarjos avatar Aug 19 '24 18:08 alosarjos

Also got some weird issues when enabling FSR3, not sure if something related to Proton or the game itself. Another thing happening to me is that the game is supposed to have DualSense native support but at least on my case, game wont detect gamepad if I dont enable Steam Input (And then loosing DualSense features)

you can try using the proton build made by the creator of this issue: https://github.com/ValveSoftware/Proton/issues/5900

at least for me disabling steam input did get me playstation prompts so game recognizes dualsense, at least adaptive triggers should work, rumble is working.

Hadrianneue avatar Aug 19 '24 18:08 Hadrianneue

Also got some weird issues when enabling FSR3, not sure if something related to Proton or the game itself. Another thing happening to me is that the game is supposed to have DualSense native support but at least on my case, game wont detect gamepad if I dont enable Steam Input (And then loosing DualSense features)

you can try using the proton build made by the creator of this issue: #5900

at least for me disabling steam input did get me playstation prompts so game recognizes dualsense, at least adaptive triggers should work, rumble is working.

May give it a try, but nowadays DualSense seems to be working even with Bluetooth (That proton says it needs USB connected), working nicely with all features with Bluetooth on games like Ghost of Tsushima or Ratchet & Clank

EDIT: Looks like using USB connected DualSense works perfectly with regular Proton Experimental, is a game specific thing the capability to work also wirelessly?

alosarjos avatar Aug 19 '24 18:08 alosarjos

Also Im getting this message but pressing OK will launch the game correctly

imagen

alosarjos avatar Aug 19 '24 18:08 alosarjos

I'm seeing graphical glitches in the game, sometimes they're pretty intense and sometimes less so. I tried out all the different graphical presets and they don't seem to have an effect on this issue. This video demonstrates the glitches:

https://github.com/user-attachments/assets/7b8a2b00-dac0-4cb1-a16e-7de79924771e

Proton log

Steam runtime diagnostics

System details
System:
  Kernel: 6.10.5-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.4 Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop Mobo: ASRock model: X570 Taichi serial: <superuser required>
    UEFI: American Megatrends v: P5.60 date: 01/18/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    charge: 100% (should be ignored) status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 512 KiB L2: 4 MiB L3: 96 MiB
  Speed (MHz): avg: 2199 high: 2200 min/max: 2200/4549 boost: enabled cores:
    1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200
    10: 2200 11: 2200 12: 2193 13: 2200 14: 2198 15: 2200 16: 2200
    bogomips: 108793
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
    vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 0f:00.0
  Device-2: Realtek Streamplify CAM driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 5-3:4
  Display: wayland server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: dri: radeonsi gpu: amdgpu resolution:
    1: 2560x1440~240Hz 2: 2560x1440~75Hz
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.1.5 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 7900 XT (radeonsi navi31 LLVM
    18.1.6 DRM 3.57 6.10.5-200.fc40.x86_64)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel
    bus-ID: 0f:00.1
  Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel bus-ID: 11:00.4
  Device-3: HP HyperX Cloud Alpha Wireless
    driver: cdc_acm,hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 1-2.2:5
  Device-4: Focusrite-Novation Scarlett Solo 4th Gen
    driver: snd-usb-audio,usb-storage type: USB bus-ID: 3-5:4
  Device-5: Realtek Streamplify CAM driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 5-3:4
  API: ALSA v: k6.10.5-200.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.7 status: active
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 05:00.0
  IF: wlp5s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    port: f000 bus-ID: 07:00.0
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB bus-ID: 3-2:2
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 3.64 TiB used: 1.98 TiB (54.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 4TB size: 3.64 TiB
    temp: 49.9 C
  ID-2: /dev/sda model: Scarlett Welcome Disk size: 192 KiB type: USB
Partition:
  ID-1: / size: 3.64 TiB used: 1.98 TiB (54.4%) fs: btrfs dev: /dev/dm-0
    mapped: luks-765cb1ef-1195-42ea-a526-06f1e57c6cbc
  ID-2: /boot size: 973.4 MiB used: 409.8 MiB (42.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 3.64 TiB used: 1.98 TiB (54.4%) fs: btrfs dev: /dev/dm-0
    mapped: luks-765cb1ef-1195-42ea-a526-06f1e57c6cbc
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 459.8 MiB (5.6%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 40.5 C mobo: 43.0 C gpu: amdgpu temp: 61.0 C
  Fan Speeds (rpm): fan-1: 603 fan-2: 0 fan-3: 829 fan-4: 553 fan-5: 558
    fan-6: 2601 fan-7: 549 gpu: amdgpu fan: 639
Info:
  Memory: total: 32 GiB available: 31.26 GiB used: 6.9 GiB (22.1%)
  Processes: 483 Uptime: 17h 31m Init: systemd target: graphical (5)
  Packages: 30 Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 inxi: 3.3.34

mattipulkkinen avatar Aug 19 '24 20:08 mattipulkkinen

I'm seeing graphical glitches in the game, sometimes they're pretty intense and sometimes less so. I tried out all the different graphical presets and they don't seem to have an effect on this issue. This video demonstrates the glitches: 2024-08-19_23-32-58.mp4

Proton log

Steam runtime diagnostics System details

Me too, reported those on the mesa Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11738

alosarjos avatar Aug 19 '24 20:08 alosarjos

Graphics Glitches in Final Fantasy XVI Demo

Issue transferred from https://github.com/ValveSoftware/Proton/issues/8003. @Cardiacman13 posted on 2024-08-19T22:43:56:

Compatibility Report

  • Name of the game with compatibility issues: Final Fantasy XVI Demo
  • Steam AppID of the game: 2738000

System Information

  • GPU: 4090 mobile
  • Video driver version: 560.31.02
  • Kernel version: Linux 6.10.5-2
  • both X11/Wayland were tested.
  • Proton version: experimental

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

Symptoms

There are significant graphical glitches that occur when entering the first city area in the Final Fantasy XVI demo. The screen distorts, and the glitches make the game difficult to play.

glitch ffxvi

Reproduction

  1. Launch the Final Fantasy XVI demo.
  2. Progress until the first city area is reached.
  3. Observe the graphical glitches that occur immediately upon entering the city.

steam runtime diagnostic System Information


@Cardiacman13 commented on 2024-08-19T22:50:42:

My bad already open here : https://github.com/ValveSoftware/Proton/issues/8001

kisak-valve avatar Aug 19 '24 22:08 kisak-valve

The graphical flickering is fixed for me by using VKD3D_CONFIG=no_invariant_position. I found that RADV_DEBUG=invariantgeom also worked but significantly impacted performance.

ajoneil avatar Aug 20 '24 04:08 ajoneil

Important info

I have a Radeon 6800 XT and multiple drivers installed (RADV 24.0.9 + AMDVLK + lavapipe 12 + lavapipe 15)

I was getting a: "Graphics card driver is incompatible with Final fantasy XVI"

Then shutdown. After a quick debug I noticed the game was picking the wrong Vulkan device (I think it was picking AMDVLK):

6444.707:0130:0134:err:vkd3d-proton:vkd3d_init_device_caps: Push descriptors are not supported by this implementation. This is required for correct operation.

That was suspicious because RADV definitely supports VK_KHR_push_descriptor but AMDVLK doesn't (at least the old version I left installed).

I was able to force to pick RADV (the right device) by forcing it with environment variables:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json steam steam://rungameid/2738000

Update: This also works (by going in Steam to Game -> Options -> General -> Launch Options):

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command%

darksylinc avatar Aug 20 '24 04:08 darksylinc

The graphical flickering is fixed for me by using VKD3D_CONFIG=no_invariant_position. I found that RADV_DEBUG=invariantgeom also worked but significantly impacted performance.

Hmmm, tried both and still getting some graphical glitches on a 7800XT :S

alosarjos avatar Aug 20 '24 11:08 alosarjos

VKD3D_CONFIG=no_invariant_position works for me

Cardiacman13 avatar Aug 20 '24 12:08 Cardiacman13

i'm using mesa-git and i don't have those graphical glitches on my end, running on rdna2, it may be a rdna3 issue.

Hadrianneue avatar Aug 20 '24 13:08 Hadrianneue

I tend to use mesa frome my distro so currently 24.1.6, and was getting the graphical glitching. Switching to a 3rd party repo to test mesa git (24.3) and the graphical glitches did go away. So it definitely seems like maybe a mesa issue that is fixed on newer version. However that's just two points of data an a 7900XTX

SiraMirai avatar Aug 20 '24 14:08 SiraMirai

Replying to https://github.com/ValveSoftware/Proton/issues/8001#issuecomment-2297201270

game-specific, in this case. (same behavior on Windows OS) It only works on either DualShock 4, DualSense and DualSense Edge on USB only. SteamInput need to be disabled for this one. But you can try out the "DualSense WIP" branch of Proton Experimental if it still doesn't work.

sidenote: FF16 does not do Auto-Glyphs, instead; it'll be entirely based on your first-time bootup sequence. So; there's a chance that switching to SteamInput will still show PlayStation prompts instead of Xbox. You can either press "Restore Default" or change Button Prompt Type manually.

AL2009man avatar Aug 20 '24 14:08 AL2009man

VKD3D_CONFIG=no_invariant_position works for me

Only in the city, but not after :

image

Cardiacman13 avatar Aug 21 '24 06:08 Cardiacman13

For me the demo crashes my PC 100% of the time right after the intro where the guy is sitting near a campfire. This is what my displays look like afterwards IMG_20240819_231854_833 GPU: RX 5700 Kernel: 6.10.6-arch1-1 Mesa: 24.1.6-1

I made a relevant Mesa bug report https://gitlab.freedesktop.org/mesa/mesa/-/issues/11760

Managor avatar Aug 22 '24 06:08 Managor

I recorded some logs dmesg reports this at the time of crash

[  595.179529] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=252009, emitted seq=252011
[  595.180078] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process ffxvi_demo.exe pid 5107 thread vkd3d_queue pid 5194
[  595.180627] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[  595.542574] amdgpu 0000:0c:00.0: amdgpu: BACO reset
[  597.709585] amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
[  597.710304] [drm] PCIE GART of 512M enabled (table at 0x0000008000F00000).
[  597.710378] [drm] VRAM is lost due to GPU reset!
[  597.710380] amdgpu 0000:0c:00.0: amdgpu: PSP is resuming...
[  597.756981] amdgpu 0000:0c:00.0: amdgpu: reserve 0x900000 from 0x81fd000000 for PSP TMR
[  597.799965] amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
[  597.805894] amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
[  597.805898] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[  597.805902] amdgpu 0000:0c:00.0: amdgpu: SMU is resuming...
[  597.805941] amdgpu 0000:0c:00.0: amdgpu: use vbios provided pptable
[  597.805944] amdgpu 0000:0c:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
[  597.808914] amdgpu 0000:0c:00.0: amdgpu: SMU is resumed successfully!
[  598.160452] [drm] kiq ring mec 2 pipe 1 q 0
[  598.161734] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[  598.162064] [drm] JPEG decode initialized successfully.
[  598.162078] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[  598.162081] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[  598.162083] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[  598.162085] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[  598.162087] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[  598.162089] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[  598.162091] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[  598.162093] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[  598.162095] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[  598.162097] amdgpu 0000:0c:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[  598.162099] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[  598.162101] amdgpu 0000:0c:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[  598.162103] amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 8
[  598.162105] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 8
[  598.162107] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 8
[  598.162109] amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[  598.164214] amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow start
[  598.187980] amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow done
[  598.188039] amdgpu 0000:0c:00.0: amdgpu: GPU reset(2) succeeded!
[  598.189074] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[  603.666281] sched: RT throttling activated

And then it just spams

[  703.402431] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402442] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402456] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402468] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402479] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402492] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402505] get_swap_device: Bad swap offset entry 3ffffffffffff
[  703.402518] get_swap_device: Bad swap offset entry 3ffffffffffff

Managor avatar Aug 22 '24 11:08 Managor

Sure fire way to do away with the artifacts for now in my testing:

Hardware Setup

  • 7900XTX
  • Ryzen 7 5800x
  • 64 GB RAM

Software

  • Mesa Git >= 24.3.0_devel.193803.c5156257d93-1
  • Linux 6.10.3
  • Proton Experimental

DistantThunder avatar Aug 22 '24 14:08 DistantThunder

Noticing a strange pattern effect on Joshua's clothes, and FSR 3 frame generation seems completely busted on Proton.

Naitrate avatar Aug 23 '24 20:08 Naitrate

This may help apparently:

https://www.reddit.com/r/FFXVI/comments/1f0vxpa/pc_demo_improving_fps/

The Trick: The game is constantly trying to open 5 .ddl files that don't exist. From what I've researched, they're only used to debug the game during development. So I put 5 empty files in the game folder using the names of these dlls (I created a text file and renamed it to the name of the dlls). Since this version doesn't seem to access the contents of the dlls, it shouldn't crash.

The files are capture-x64.dll d3d12-state-tracker-x64.dll Nvda.Graphics.Interception.dll renderdoc.dll winPixGpuCapturer.dll

Further investigation may be needed by Wine devs.

DistantThunder avatar Aug 26 '24 19:08 DistantThunder