我有一台在 Windows 上运行 Stellaris 的顶级机器,但在 Ubuntu 18.04 上,Stellaris 运行速度非常慢,就像它甚至没有使用显卡一样。我正在使用nvidia卡。
在dmesg中看到了这个,不确定它是否相关。我的猜测是它无关紧要,因为它似乎发生在不到一秒钟的时间内?:
[ 193.532941] powercap intel-rapl:0: package locked by BIOS, monitoring only
[ 194.574036] CPU5: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574037] CPU1: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574039] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574043] CPU4: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574044] CPU6: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574045] CPU7: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574046] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574047] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574048] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.574057] CPU5: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 194.575038] CPU1: Core temperature/speed normal
[ 194.575039] CPU5: Core temperature/speed normal
[ 194.575040] CPU4: Package temperature/speed normal
[ 194.575041] CPU0: Package temperature/speed normal
[ 194.575042] CPU7: Package temperature/speed normal
[ 194.575043] CPU3: Package temperature/speed normal
[ 194.575044] CPU6: Package temperature/speed normal
[ 194.575045] CPU2: Package temperature/speed normal
[ 194.575045] CPU5: Package temperature/speed normal
[ 194.575046] CPU1: Package temperature/speed normal
[ 201.541002] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[ 227.457422] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[ 231.461084] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[ 235.464786] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[ 239.468445] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[ 256.793728] intel_pstate: Turbo disabled by BIOS or unavailable on processor
我刚刚安装了最新的 nVidia 驱动程序(软件和更新 > 附加驱动程序 > nVidia)或
sudo apt install nvidia-current
但是当我重新启动时,一切都变黑了,因为我使用的是 Optimus 卡(用于笔记本电脑节能的混合 nvidia/intel GPU)所以我安装了 prime: 并通过(它在 Intel 上)
sudo apt install nvidia-prime
设置了正确的 GPU并再次重新启动,一切正常nvidia-settings
伟大的!游戏运行很棒!