Ray tracing in WoW?

Hello Garuda users.

Anyone been able to enable ray tracing in the current version of WoW? The game runs fine for me but I'd like to have the ability to enable ray tracing...

I've never played WoW, but I suspect as well as having the latest mesa or amdgpu-pro or nvidia drivers installed, you will need launch options that look something like these depending on your GPU and if WoW is a steam game

AMD:
AMD_VULKAN_ICD=RADV DXVK_ASYNC=1 WINEFSYNC=1 VKD3D_FEATURE_LEVEL=12_2 VKD3D_CONFIG=dxr11 RADV_PERFTEST=sam,rt %command% -dx12

Nvidia:
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 DXVK_ASYNC=1 WINEFSYNC=1 VKD3D_FEATURE_LEVEL=12_1 VKD3D_CONFIG=dxr11 %command% -dx12

In lutris you will have to set these launch options up as Environment Variables in the System options tab.

You may also have to play around with Proton runners. I use Proton-GE installed using protonup-qt when I am playing games with ray tracing. Proton-GE tends to have more features enabled than the official Proton builds in Steam.

All that said, there are games where ray tracing just hasn't worked for me. These games are Forza Horizon 5 and The Witch 3. Only recently did ray tracing in Hitman 3 actually start to work for me. In Forza, I can run benchmarks but the game itself crashes. The Witcher 3 has a similar issue. The intro cut scene runs but the minute it tries to get in game, the system hangs. I suspect this is more an issue with the Witcher 3 being a tech demo for Nvidia and so it is using draw calls or instructions only available in RTX cards on PC because I have seen a benchmark where only Nvidia cards are really able to run the game with ray tracing enabled. I use an AMD GPU.

3 Likes

If you had posted your garuda-inxi as requested in the template, no one who wants to help would need to puzzle around.

1 Like

Sorry. Didn't think it was needed since it was just a general question and not really a support question.

System:
  Kernel: 6.1.5-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=6d7b47ef-2e02-47a0-a9fa-0d531a42ee4c
    rw rootflags=subvol=@ quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: X570 I AORUS PRO WIFI v: -CF serial: <superuser required>
  Mobo: Gigabyte model: X570 I AORUS PRO WIFI serial: <superuser required> UEFI: American
    Megatrends LLC. v: F36 date: 12/26/2022
CPU:
  Info: model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check
    built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 2
    microcode: 0xA20120A
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache: L1: 768 KiB desc: d-12x32
    KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3870 high: 4875 min/max: 2200/4950 boost: enabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 3599 2: 3650 3: 3689 4: 3700 5: 3853 6: 3700
    7: 4875 8: 3700 9: 3858 10: 3700 11: 4583 12: 3868 13: 3700 14: 3592 15: 3598 16: 3700 17: 3700
    18: 3700 19: 4874 20: 3700 21: 3915 22: 3877 23: 3896 24: 3857 bogomips: 177599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU102 [GeForce RTX 2080 Ti] vendor: eVga.com. driver: nvidia v: 525.78.01
    alternate: nouveau,nvidia_drm non-free: 525.xx+ status: current (as of 2022-12) arch: Turing
    code: TUxxx process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0a:00.0 chip-ID: 10de:1e04 class-ID: 0300
  Device-2: Razer USA Gaming Webcam [Kiyo] type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 3-3.2.2:13 chip-ID: 1532:0e03 class-ID: 0102
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6000x1440 s-dpi: 109 s-size: 1398x342mm (55.04x13.46")
    s-diag: 1439mm (56.66")
  Monitor-1: DP-2 pos: primary,left res: 3440x1440 dpi: 109 size: 798x335mm (31.42x13.19")
    diag: 865mm (34.07") modes: N/A
  Monitor-2: DP-4 pos: right res: 2560x1440 dpi: 109 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.78.01 renderer: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
    direct render: Yes
Audio:
  Device-1: NVIDIA TU102 High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel
    bus-ID: 3-3.1.3:10 pcie: chip-ID: 0c76:161e class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:10f7 class-ID: 0403
  Device-2: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
  Device-3: Razer USA Gaming Webcam [Kiyo] type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 3-3.2.2:13 chip-ID: 1532:0e03 class-ID: 0102
  Device-4: Creative Sound Blaster X3 type: USB driver: cdc_acm,hid-generic,snd-usb-audio,usbhid
    bus-ID: 7-1:2 chip-ID: 041e:3264 class-ID: 0102 serial: <filter>
  Sound API: ALSA v: k6.1.5-zen2-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 8086:1539 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 06:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp6s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:4 chip-ID: 8087:0029
    class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 1.87 TiB used: 224.12 GiB (11
.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:5 vendor: Western Digital model: WD BLACK SN850 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 613200WD temp: 44.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 model: PCIe SSD size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: ECFM12.2 temp: 58.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 type: USB model: USB DISK 3.0 size: 28.88 GiB block-size:
    physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 257.33 GiB size: 257.33 GiB (100.00%) used: 224.09 GiB (87.1%) fs: btrfs
    dev: /dev/nvme0n1p4 maj-min: 259:9
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 29.5 MiB (30.8%) fs: vfat
    dev: /dev/nvme1n1p1 maj-min: 259:1
  ID-3: /home raw-size: 257.33 GiB size: 257.33 GiB (100.00%) used: 224.09 GiB (87.1%) fs: btrfs
    dev: /dev/nvme0n1p4 maj-min: 259:9
  ID-4: /var/log raw-size: 257.33 GiB size: 257.33 GiB (100.00%) used: 224.09 GiB (87.1%)
    fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:9
  ID-5: /var/tmp raw-size: 257.33 GiB size: 257.33 GiB (100.00%) used: 224.09 GiB (87.1%)
    fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:9
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.27 GiB used: 2 MiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.0 C mobo: 40.0 C gpu: nvidia temp: 51 C
  Fan Speeds (RPM): fan-1: 1099 gpu: nvidia fan: 0%
Info:
  Processes: 476 Uptime: 2m wakeups: 1 Memory: 31.27 GiB used: 3.75 GiB (12.0%) Init: systemd
  v: 252 default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1872
  libs: 516 tools: octopi,pamac,paru Client: shell wrapper v: 5.1.16-release inxi: 3.3.24
Garuda (2.6.14-1):
  System install date:     2023-01-12
  Last full system update: 2023-01-13
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            
1 Like

I was able to get Ray Tracing working with @thedarthtux 's post above. For anyone that’s interested here’s the step-by-step:

Note that this is with an Nvidia GPU.

  1. In Lutris Preferences go to Runners, find Wine, and click the Manage versions button. Install the latest version of Proton (lutris-GE-Proton7-35 in my case).
  2. Go back to your Game Library, right-click WoW and select Configure.
    1. Go to Runner Options and select the latest Proton under Wine verison. Also make sure DXVK, VKD3D, DXVK-NVAPI, Esync, Fsync are enabled.
    2. Go to System Options and enable Feral GameMode and NVIDIA Prime Render Offload.
      A. Add the variables in the below block to the Environment Variables section:
    3. Run the game and select the desired Ray Traced Shadows quality option under the Graphics options menu.

DXVK_ASYNC 1
DXVK_HUD compiler
DXVK_STATE_CACHE_PATH enter your wow path here
PROTON_ENABLE_NVAPI 1
PROTON_HIDE_NVIDIA_GPU 0
STAGING_SHARED_MEMORY 1
VKD3D_CONFIG 1
VKD3D_FEATURE_LEVEL 12_1
WINEFSYNC 1

These last two may have been automagically set as they’re there but I don’t remember creating them.
__GL_SHADER_DISK_CACHE 1
__GL_SHADER_DISK_CACHE_PATH enter your wow path again

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.