UE4打包发行版 linux

1、问题:

UE4打包发行版(shipping)时,在ubuntu20.04存在显卡驱动冲突,运行时报错信息如下:

sche@sche$ ./Judgement.sh

4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
Unable to read VR Path Registry from /home/sche/.config/openvr/openvrpaths.vrpath
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Serial number of failed request:  289
  Current serial number in output stream:  299
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
Signal 6 caught.
Segmentation fault (core dumped)

2、解决办法

运行时添加后缀 -prefernvidia,指定显卡,运行时如下:

sche@sche$ ./Judgement.sh -prefernvidia

即可运行成功。

你可能感兴趣的:(linux,ue4)