在单独的 x 会话下运行 Skyrim?

在单独的 x 会话下运行 Skyrim?

我正在尝试在单独的 x 下使用 wine 运行 Skyrim。如果我正常启动它,它就可以运行,但是性能很差,所以我想尝试在单独的 x 下运行它以提高性能。

我跑:

export WINEPREFIX="/home/john/.local/share/wineprefixes/steam"
cd "/home/john/.local/share/wineprefixes/steam/drive_c/Program Files/Steam/steamapps/common/skyrim"
xinit /usr/bin/wine TESV.exe -- :1

两个显示器都变黑了几秒钟,然后 KDE 恢复正常,我在 konsole 中看到以下内容:

X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-26-generic x86_64 Ubuntu
Current Operating System: Linux desktop-ubuntu 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=a7ecd6aa-8336-41fa-8c35-44dbe80a5a41 ro quiet splash vt.handoff=7
Build Date: 04 August 2012  01:51:23AM
xorg-server 2:1.11.4-0ubuntu10.7 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.24.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Aug 29 06:01:44 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-PrHsDM/pkcs11: No such file or directory
xinit: connection to X server lost
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 9 requests (7 known processed) with 0 events remaining.

waiting for X server to shut down XIO:  fatal IO error 2 (No such file or directory) on X server ":1"
      after 845 requests (826 known processed) with 0 events remaining.
 ddxSigGiveUp: Closing log
Server terminated successfully (0). Closing log file.

我正在运行 Ubuntu 12.4,并安装了 Redeon HD 6850 和 fglrx-updates。不确定还有什么相关的,但我很乐意提供更多信息。

是什么原因导致了这个问题?我需要采取什么步骤来解决它?

答案1

打开 x 会话后,尝试以下命令从终端运行 Skyrim:

sudo xinit /usr/bin/sudo -u $USER gnome-terminal -- :1

如果您希望在单独的会话中使用音频,请确保还将您的用户添加到 /etc/group 中的音频组。编辑如下:

audio:x:29:pulse

更改为:

audio:x:29:pulse,username

相关内容