I need help setting up Substance Painter 3D 2022 steam to use the GPU properly

Hi everybody, forgive me but I am still fairly green when it comes to Linux. I love manjaro and I am trying to become more familiar with Linux in general so please if you do have suggestions for me just keep that in mind but I greatly appreciate any help with this matter.

So I have been learning 3D modeling in blender and I recently purchased Substance 3D Painter 2022 from steam because it has a perpetual license instead of paying adobe in blood every year. I have read that there used to be an AUR package for a legacy version of substance painter but unfortunately that was created before Adobe came in so there isn’t a key you could use to make it work.

I am on linux 518 running on my laptop with an i5-10500H cpu 23.3 GB ram with a 3060 integrated with the cpu and using the video-hybrid-intel-nvidia-prime driver. On steam I used the proton experimental compatibility tool to be able to run SP2022(substance painter 2022) and when it launched it would run it using my CPU so i entered this into the steam launch options “__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%” and got it to launch with my GPU instead. I was very happy when I got it to run on my GPU but it still comes with problems that I have no idea how to solve. I also should mention that SP2022 says it will work for linux in requirements but it says Mesa drivers on Linux are not supported and in my About this system it shows my graphics processor as Mesa Intel UHD graphics(which is what it used to launch it with before I changed it to use my GPU)

Firstly, when it launches now I get this TDR(timeout detection recovery) is too low message. They have a link on how to change the value for windows but idk how to get to it in linux.

So when I click continue anyway I get this popup with several more issues, I will list them below.

[Main] The current paging file maximum size is too low: 77 MB(minimum:16384 MB).
Substance 3D painter can exceed virtual memory limits when doing a high resolution computation.

[Engine configuration] Export resolution clamped to 4k. More than 2GB of VRAM are required to allow 8k export(0MB detected).

[Resources list model] Icons memory budget set to 100mb.

[GPUIssuesCheck] (this is the same as the first issue I listed above I believe)Your operating system may automatically shut down SP2022 during long computations because your GPU doesnt support preemption. To avoid crashes you can try increasing the TDR(timeout detection and recovery) delay.

I thought maybe changing drivers would help but I have spent a long time trying to figure out how to remove the video-hybrid-intel-nvidia-prime driver and instead use the video-nvidia but I cant remove it because of cuda dependancies and I was worried i’d break it trying random stuff I found online.

So those are my issues, I know theres probably more information needed to help with this so please let me know what is needed and if you have any suggestions for these issues or have been able to fix them yourself at some point. I’d be extremely grateful for any assistance with this because I am trying to avoid windows at all costs but it might be my only option for texturing my models. I also tried using a windows 10 VM but I dont know how to passthrough the GPU(i figured it would automatically passthrough since the CPU and GPU are one basically) I tried googling this issue all day yesterday and this morning and couldn’t find anything that could help with this for linux devices so hopefully we can figure something out so someone in the future with this problem can also find a solution.

Thank you for reading my essay and again, i’d appreciate any suggestions that I could try to resolve this.

can you provide

inxi -Fza
sudo mhwd-kernel -li
sudo mhwd -li

with steam are you using Proton ?
if yes , which version ?

Sure thing, I have listed them below. Also, yes I use the proton experimental version.

Kernel: 5.18.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64
    root=UUID=74e1c4a0-3575-4ca0-97a9-2e8764435330 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: GF65 Thin 10UE v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-16W2 v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends v: E16W2IMS.105 date: 05/14/2021
Battery:
  ID-1: BAT1 charge: 46.0 Wh (90.6%) condition: 50.8/51.3 Wh (99.0%)
    volts: 12.6 min: 11.4 model: MSI BIF0_9 type: Li-ion serial: N/A
    status: N/A
CPU:
  Info: model: Intel Core i5-10500H bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 built: 2020 process: Intel 14nm family: 6 model-id: 0xA5 (165)
    stepping: 2 microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 60014
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q]
    vendor: Micro-Star MSI driver: nvidia v: 515.48.07
    alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
    s-diag: 1052mm (41.43")
  Monitor-1: HDMI-1-0 pos: right res: 1920x1080 hz: 60 dpi: 102
    size: 476x268mm (18.74x10.55") diag: 546mm (21.51") modes: N/A
  Monitor-2: eDP-1 pos: primary,left res: 1920x1080 hz: 144 dpi: 142
    size: 344x193mm (13.54x7.6") diag: 394mm (15.53") modes: N/A
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.1.1
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Sound Server-1: ALSA v: k5.18.5-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.0 running: yes
  Sound Server-4: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:3 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 1.38 TiB used: 366.81 GiB (26.0%)
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 56.0 C pch: 58.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 350 Uptime: 12h 43m wakeups: 1 Memory: 23.3 GiB
  used: 9.95 GiB (42.7%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 alt: 11 clang: 13.0.1 Packages:
  pacman: 1373 lib: 374 flatpak: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: yakuake inxi: 3.3.19

5.18.5-1-MANJARO (linux518)
The following kernels are installed in your system:
   * linux510
   * linux515
   * linux518
   * linux515-rt
   * linux518-rt

Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
     video-modesetting            2020.01.13                true            PCI

can you try with version proton 7.0x ? ( not experimental )

Sure, so I launched it using proton 7.0-3 just now and it showed the same error messages as when launching with experimental.

Why are you using the Windows version with Proton? It supports GNU/Linux natively.

You need to enable swap.

1 Like

When I try launching it without proton, it doesn’t launch at all unfortunately.

See my edits above.

Also try running steam-runtime from the terminal and run the native version to see why it’s not launching.

1 Like

Thanks, I will do the swap setup now. Meanwhile, I tried running the steam-runtime and at first I tried it with that launch option command that I used to make it run with my GPU __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
and got this result

GameAction [AppID 1775390, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 1775390, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1775390, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1775390, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1775390, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'\0
Game process added : AppID 1775390 "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'", ProcID 3656, IP 0.0.0.0:0
chdir /home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022
GameAction [AppID 1775390, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Game process removed: AppID 1775390 "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'", ProcID 3656 
Uploaded AppInterfaceStats to Steam
GameAction [AppID 1775390, ActionID 3] : LaunchApp changed task to Completed with ""

and then I thought maybe if i removed that option command it might run but then i got this message when it ran without it

GameAction [AppID 1775390, ActionID 4] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 1775390, ActionID 4] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1775390, ActionID 4] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1775390, ActionID 4] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1775390, ActionID 4] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'\0
Game process added : AppID 1775390 "/home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'", ProcID 3826, IP 0.0.0.0:0
chdir /home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022
/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
GameAction [AppID 1775390, ActionID 4] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 1775390, ActionID 4] : LaunchApp changed task to Completed with ""
Game process removed: AppID 1775390 "/home/naptologist/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1775390 -- '/home/naptologist/.local/share/Steam/steamapps/common/Substance 3D Painter 2022/Adobe Substance 3D Painter'", ProcID 3826 
Uploaded AppInterfaceStats to Steam

It appears that I dont have shared libraries named libcrypt.so.1 ? I am not too sure what that is should I just create a directory named libcrypt.so.1? Any recommendations?

Good news! So i looked up the libcrypt and found out that you can download libxcrypt-compat from the add/remove software program and I installed that and substance painter launched without needing to use proton compatibility! Most of those error issues went away! Man im so happy. It even enabled raytracing!

I also enabled swap but I might have done that wrong because the issue its showing now is
[Main] The current paging file maximum size is too low: RAM swap disabled (minimum: 16384 MB).
I must have did the swap incorrectly. Going to try to redo it.

Thank you all so much for your help and recommendations! Especially you Yochanan, your suggestions lead me to solving this problem and I couldn’t be more thankful to you.

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