切换到独立显卡,Steam报错,怎么办?

游戏讨论
回复
头像
8E117
帖子: 110
注册时间: 2014-01-30 12:08
系统: xubuntu 14.04

切换到独立显卡,Steam报错,怎么办?

#1

帖子 8E117 » 2014-02-02 0:18

之前玩的游戏,都用集成显卡跑的。

今天下载了一个3D游戏,本来打算过一过瘾,结果发现启动Steam报错:

OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_art ... -EYZB-7457.

之前用集成显卡一直都好好的,这是什么问题?

而且游戏点击完Play也不能启动……

先谢谢大家……
头像
8E117
帖子: 110
注册时间: 2014-01-30 12:08
系统: xubuntu 14.04

Re: 切换到独立显卡,Steam报错,怎么办?

#2

帖子 8E117 » 2014-02-02 0:25

报错,然后我就退出了Steam,具体终端里的提示,如下:

zero@Vostro-1450:~$ steam
Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
unlinked 0 orphaned pipes
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
[0202/002147:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_art ... -EYZB-7457.
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Installing breakpad exception handler for appid(steam)/version(1390852599_client)
Generating new string page texture 5: 128x256, total string texture memory is 442.37 KB
Generating new string page texture 6: 32x256, total string texture memory is 475.14 KB
Generating new string page texture 7: 384x256, total string texture memory is 868.35 KB
Generating new string page texture 8: 64x256, total string texture memory is 933.89 KB
Focused window is now 1, 0
Adding license for package 0
Adding license for package 2487
Adding license for package 4912
Adding license for package 7272
Adding license for package 8228
Adding license for package 8230
Adding license for package 8363
Adding license for package 8364
Adding license for package 8952
Adding license for package 11477
Adding license for package 11793
Adding license for package 13235
Adding license for package 13844
Adding license for package 14226
Adding license for package 14613
Adding license for package 15626
Adding license for package 16610
Adding license for package 18092
Adding license for package 19072
Adding license for package 27214
roaming config store loaded successfully - 819 bytes.
migrating temporary roaming config store
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
ExecCommandLine: "/home/zero/.local/share/Steam/ubuntu12_32/steam"
System startup time: 13.42 seconds
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
OnFocusWindowChanged to window type: k_EWindowTypeSteamDesktop, 0
Generating new string page texture 76: 1024x256, total string texture memory is 1.98 MB
Generating new string page texture 77: 128x256, total string texture memory is 131.07 KB
`menu_proxy_module_load': /home/zero/.local/share/Steam/ubuntu12_32/steam: undefined symbol: menu_proxy_module_load

(steam:4207): Gtk-WARNING **: Failed to load type module: (null)

Generating new string page texture 82: 128x256, total string texture memory is 2.11 MB
Generating new string page texture 84: 256x256, total string texture memory is 2.38 MB
Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME has been set by the user to: /home/zero/.local/share/Steam/ubuntu12_32/steam-runtime
unlinked 2 orphaned pipes
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 10158 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 1 multi object alertable sleeps
[2014-02-02 00:21:46] Startup - updater built Jan 25 2014 13:44:41
[2014-02-02 00:21:47] Verifying installation...
[2014-02-02 00:21:47] Verification complete
Shutting down. . .
[2014-02-02 00:22:02] Shutdown
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 切换到独立显卡,Steam报错,怎么办?

#3

帖子 poloshiao » 2014-02-02 9:07

OpenGL GLX context is not using direct rendering, which may cause performance problems.
libGL error: failed to load driver: i965
Intel 顯卡驅動 對於 3D 處理 (rendering) 能力不夠
對於遊戲 這項支援是必要的
Running Steam on ubuntu 12.04 64-bit
Intel 新驅動對於 Ubuntu 12.04 的支援已終止(猜測是指更新版本)
https://01.org/linuxgraphics/downloads/ ... .0.1-linux
建議
將系統重新安裝或升級到 13.10 然後安裝 Intel 最新驅動 for Ubuntu 13.10 看看 有沒有更好的支援
http://www.webupd8.org/2014/01/intel-li ... r-103.html
Running Steam on ubuntu 12.04 64-bit
1. 如果升級到 13.10 暫時有困難
也可以試試 安裝 xserver-xorg-video-intel-lts-saucy
1-1. 安裝前 先看看 這一篇
https://wiki.ubuntu.com/PrecisePangolin ... ment_Stack
看看你的 Ubuntu 12.04 是否已經啓動 LTSEnablementStack 的支援
1-2. sudo apt-get install xserver-xorg-video-intel-lts-saucy
1-3. 可能還需提高 mesa 等等支援
2. 進一步參閱
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
備註 : xserver-xorg-video-intel-lts-saucy : X.Org X server -- Intel i8xx, i9xx display driver
讓你在 Ubuntu 12.04 獲得與在 Ubuntu 13.10 一樣的驅動支援
头像
8E117
帖子: 110
注册时间: 2014-01-30 12:08
系统: xubuntu 14.04

Re: 切换到独立显卡,Steam报错,怎么办?

#4

帖子 8E117 » 2014-02-02 11:05

我找到了解决办法……但是不知道是什么原理……

写一个shell,然后用shell启动steam,具体shell内容如下:

#!/usr/bin/env bash
export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu/dri:/usr/lib/i386-linux-gnu/fglrx:/usr/lib/i386-linux-gnu:gconv

steam

*需要把它设置成可以运行的文件。

然后用它启动,一切正常。

但是具体是因为什么呢?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 切换到独立显卡,Steam报错,怎么办?

#5

帖子 poloshiao » 2014-02-02 11:31

但是具体是因为什么呢?
把 32 位元的 安裝路徑 加到 LD_LIBRARY_PATH 環境變數中
意思是 這樣在 程式設計碼中 就可以不必指明 32 位元的 安裝路徑 而能夠成功存取 程式文件
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

Re: 切换到独立显卡,Steam报错,怎么办?

#6

帖子 luojie-dune » 2014-02-02 11:41

steam 设计是 32位的,

不明白,还有人用 32位么。
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
8E117
帖子: 110
注册时间: 2014-01-30 12:08
系统: xubuntu 14.04

Re: 切换到独立显卡,Steam报错,怎么办?

#7

帖子 8E117 » 2014-02-02 13:03

我在考虑要不要安装Ubuntu 12.04 的32位版本。

但是有不懂的地方,对于PAE。

首先,是不是Ubuntu 12.04 的32位版本默认就是开启PAE的?

其次,是不是单独一个软件占用的内存是3G多,但是可以多个软件同时运行使用更多的系统内存?

p.s. 相当看好Steam,Linux下不再没有游戏!而且很多大型游戏,比如我很喜欢的Left 4 Dead 2,都支持Linux了。于是一时冲动,在Steam上买了好多正版软件……另外,据说Steam正在开发一款基于Linux的系统,可以让PC变成大游戏机,估计以后可以和Xbox还有PS4抗衡一下……不过,我玩Shank时发现,在Linux下想连接游戏手柄还是有点困难……
使用Ubuntu单系统的菜鸟一枚:

Ubuntu入门中……
SuperCollider入门中……
Java入门中……
各种入门中……


菜鸟上路,请多多关照。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 切换到独立显卡,Steam报错,怎么办?

#8

帖子 poloshiao » 2014-02-02 13:45

steam 设计是 32位的,
不明白,还有人用 32位么。
我在考虑要不要安装Ubuntu 12.04 的32位版本。
1. 在 Ubuntu 12.04, 12.10, 13.04
在 64 bit 只要安裝 ia32-libs 套件 它就會同時安裝 ia32-libs-multiarch:i386
這樣 你就可以安裝大部分的 32 bit 的 程式套件 而且可以運行
2. 在 Ubuntu 13.10 開始 包含 14.04
在 64 bit 不必安裝 ia32-libs 套件
就可以從 套件庫 安裝大部分的 32 bit 的 程式套件 而且可以運行
2-1. 在 13.10 14.04 套件庫 沒有 ia32-libs 及 ia32-libs-multiarch:i386 套件
如果你因爲從 套件庫 以外的來源 下載 32 bit 的 deb 檔案來安裝
或 從 ppa 等其它第三方來源來安裝 32 bit 的 套件
可能出現需要安裝 ia32-libs 的情況
請從 Ubuntu 13.04 套件庫 來下載 ia32-libs 的 64 bit deb 及 ia32-libs-multiarch:i386 32 bit deb 來安裝
http://packages.ubuntu.com/search?suite ... chon=names
3. Ubuntu 政策上 鼓勵大家安裝 64 bit
可能會逐漸減少對於 32 bit 的支援 直到取消 32 bit
是不是Ubuntu 12.04 的32位版本默认就是开启PAE的?
如果你的 CPU 可以安裝 64 bit 就不必煩惱這個問題了
Ubuntu 12.04 以後的版本 32 bit 的 CPU 不支援 PAE 就無法安裝
是不是单独一个软件占用的内存是3G多,但是可以多个软件同时运行使用更多的系统内存?
如果你的 RAM 不夠 開啓一個 耗用記憶體極大的程式 可能會出現錯誤而當機
但是 Ubuntu 可以分割 硬盤分割區 掛載 swap 來增加 RAM 的功能 只要 Swap 夠大 就不會出現 錯誤訊息
但是 硬盤的存取速度比較慢 可能會使得整體速度慢下來
p.s. 相当看好Steam...
1. Steam 已經發行 獨立的 作業系統
無論 你的顯卡是 Intel nVidia AMD 都支援
無論 你的開機韌體是 MBR 或 UEFI 均支援
詳細參考
http://news.softpedia.com/dyn-search.ph ... os&x=0&y=0
2. 你也可以在 Ubuntu OS 中 安裝 Steam Client
詳細參考
http://news.softpedia.com/dyn-search.ph ... nt&x=0&y=0
头像
8E117
帖子: 110
注册时间: 2014-01-30 12:08
系统: xubuntu 14.04

Re: 切换到独立显卡,Steam报错,怎么办?

#9

帖子 8E117 » 2014-02-06 0:44

不止Steam,我经常使用的另外两款软件,也是32bit比64bit支持的好……

所以,现在已经安装回了32bit的Ubuntu 12.04,应该是默认的PAE的内核……

我的电脑让我安装了8G RAM,60G SSD,Ubuntu单系统,没有分配Swap。

top之后,看到8G RAM全部都识别出来,并且被使用了一部分……

不知到和非PAE内核的32bit系统有什么区别……
使用Ubuntu单系统的菜鸟一枚:

Ubuntu入门中……
SuperCollider入门中……
Java入门中……
各种入门中……


菜鸟上路,请多多关照。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 切换到独立显卡,Steam报错,怎么办?

#10

帖子 poloshiao » 2014-02-06 7:11

不知到和非PAE内核的32bit系统有什么区别……
基於研究目的
你可以下載/安裝 Bohdi 2.4.0 32 bit non-pae 版本看看
http://www.bodhilinux.com/downloads_desktop.php
基於 Ubuntu 12.04
我的电脑让我安装了8G RAM,60G SSD,Ubuntu单系统,没有分配Swap。
除非跑耗 RAM 很大的程式 否則 8G 是只用到一部分的
剩餘的 RAM 可以拿來好好利用
把它 啓動成 zswap 是 Linux Kernel (Ubuntu 13.10) 才開始有的功能
有 SWAP 的效果 有 RAM 的存取速度
參閱
1. http://askubuntu.com/questions/361320/h ... able-zswap
2. https://wiki.ubuntu.com/SaucySalamander ... ernel_3.11
3. http://kernelnewbies.org/Linux_3.11#hea ... 7f85faa449
回复