libGL error & glxinfo 奇怪錯誤 - Linux

By Hazel
at 2019-02-27T13:22
at 2019-02-27T13:22
Table of Contents
各位大大好,小弟目前在用 ssh -y 連線實驗室 scientific linux 主機,
雖然可以正常開啟 xclock 以及使用許多圖形化介面,像是 Sentaurus TCAD
的 Sentaurus Workbench、Svisual 功能,但是在開啟 Structure Editor 時,
雖然有畫面出來,但是裡面有些功能、按鈕似乎無法正常運作,並且於終端機
出現了如下訊息:
開啟畫面:https://i.imgur.com/o5IMZh7.png
Machine type information not available.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
HOOPS Error -- There was an unexpected Hoops internal error -
HOOPS Error -- glXMakeCurrent failed for get_physical_info test window.
HOOPS STACK -- Show_Device_Info_By_Key
HOOPS Error -- There was an unexpected Hoops internal error -
HOOPS Error -- Driver specified hardware gouraud/phong lighting, but no lights
!
HOOPS STACK -- Show_Device_Info_By_Key
目前看來有兩個錯誤,分別是 libGL 與 HOOPS,我目前僅針對 libGL error 思考
該怎麼解決,還沒開始著手了解、處理 HOOPS Error。後來我查到這篇文章:
〈[求助] sentaurus2013运行时出错,求指导〉
http://bbs.eetop.cn/thread-634823-1-1.html
其中有網友說是:「看样子,是系统中没有安装声卡或显卡驱动引起的。」
於是我試著確定我的顯示卡及其驅動目前狀況為何:
顯示卡: Intel Corporation Xeon E3-1200 v3/4th Gen Co
顯示卡驅動程式(driver):i915
顯卡驅動程式位址:
/lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/drivers/gpu/drm/i915/i915.ko.xz
顯示卡及其它硬體設備確認結果:
>> lspci
>> lspci -v -s 00:02.0
>> lshw
https://paste.ofcode.org/wHLxL8HXMAkiCqfHP4JUj6
顯示卡驅動程式確認結果:
>> lshw -c video
>> modinfo i915
https://paste.ofcode.org/kV5rkD2DtSZrteXxWBu7s5
目前看來,我應該是有顯示卡及其驅動程式?所以我不知道問題出在哪了..
後來我想說,或許其實我的顯示卡驅動程式安裝得有問題,所以我查到了
這篇文章:〈如何查看ubuntu下显卡驱动是否已经成功安装〉
https://blog.csdn.net/jay463261929/article/details/55098945
裡頭提到應該要先安裝 mesa-utils,接著才能輸入 glxinfo | grep rendering
所以我去搜尋該如何安裝 RHEL7 的 mesa-utils,我查到了這篇:
How to get OpenGL libraries in Red Hat Enterprise Linux 6.
https://access.redhat.com/solutions/56301
yum install mesa-libGL
yum search --showduplicates mesa-libGL
發現應該是有成功安裝,執行結果如下:
yum search --showduplicates mesa-libGL
https://paste.ofcode.org/mi6JZb82gg7Gh3YJ2guVGP
但是當我輸入 glxinfo | grep rendering,卻出現以下訊息:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 25
Current serial number in output stream: 24
現在我有點不知道該怎麼做才好了 QQ 還是不行 ..
還請各位大大幫忙一下 拜託了 QQQ
--
雖然可以正常開啟 xclock 以及使用許多圖形化介面,像是 Sentaurus TCAD
的 Sentaurus Workbench、Svisual 功能,但是在開啟 Structure Editor 時,
雖然有畫面出來,但是裡面有些功能、按鈕似乎無法正常運作,並且於終端機
出現了如下訊息:
開啟畫面:https://i.imgur.com/o5IMZh7.png
Machine type information not available.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
HOOPS Error -- There was an unexpected Hoops internal error -
HOOPS Error -- glXMakeCurrent failed for get_physical_info test window.
HOOPS STACK -- Show_Device_Info_By_Key
HOOPS Error -- There was an unexpected Hoops internal error -
HOOPS Error -- Driver specified hardware gouraud/phong lighting, but no lights
!
HOOPS STACK -- Show_Device_Info_By_Key
目前看來有兩個錯誤,分別是 libGL 與 HOOPS,我目前僅針對 libGL error 思考
該怎麼解決,還沒開始著手了解、處理 HOOPS Error。後來我查到這篇文章:
〈[求助] sentaurus2013运行时出错,求指导〉
http://bbs.eetop.cn/thread-634823-1-1.html
其中有網友說是:「看样子,是系统中没有安装声卡或显卡驱动引起的。」
於是我試著確定我的顯示卡及其驅動目前狀況為何:
顯示卡: Intel Corporation Xeon E3-1200 v3/4th Gen Co
顯示卡驅動程式(driver):i915
顯卡驅動程式位址:
/lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/drivers/gpu/drm/i915/i915.ko.xz
顯示卡及其它硬體設備確認結果:
>> lspci
>> lspci -v -s 00:02.0
>> lshw
https://paste.ofcode.org/wHLxL8HXMAkiCqfHP4JUj6
顯示卡驅動程式確認結果:
>> lshw -c video
>> modinfo i915
https://paste.ofcode.org/kV5rkD2DtSZrteXxWBu7s5
目前看來,我應該是有顯示卡及其驅動程式?所以我不知道問題出在哪了..
後來我想說,或許其實我的顯示卡驅動程式安裝得有問題,所以我查到了
這篇文章:〈如何查看ubuntu下显卡驱动是否已经成功安装〉
https://blog.csdn.net/jay463261929/article/details/55098945
裡頭提到應該要先安裝 mesa-utils,接著才能輸入 glxinfo | grep rendering
所以我去搜尋該如何安裝 RHEL7 的 mesa-utils,我查到了這篇:
How to get OpenGL libraries in Red Hat Enterprise Linux 6.
https://access.redhat.com/solutions/56301
yum install mesa-libGL
yum search --showduplicates mesa-libGL
發現應該是有成功安裝,執行結果如下:
yum search --showduplicates mesa-libGL
https://paste.ofcode.org/mi6JZb82gg7Gh3YJ2guVGP
但是當我輸入 glxinfo | grep rendering,卻出現以下訊息:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 25
Current serial number in output stream: 24
現在我有點不知道該怎麼做才好了 QQ 還是不行 ..
還請各位大大幫忙一下 拜託了 QQQ
--
Tags:
Linux
All Comments

By Aaliyah
at 2019-03-02T21:42
at 2019-03-02T21:42

By Elma
at 2019-03-03T08:13
at 2019-03-03T08:13
Related Posts
沒有輸出(VGA/HDMI)如何操作?

By Mary
at 2019-02-26T14:10
at 2019-02-26T14:10
Mac還是Linux?

By Emma
at 2019-02-26T11:54
at 2019-02-26T11:54
grep 只show檔案名稱的問題

By Todd Johnson
at 2019-02-25T10:40
at 2019-02-25T10:40
Ubuntu開setting跳回登入

By James
at 2019-02-25T00:52
at 2019-02-25T00:52
Mac還是Linux?

By Selena
at 2019-02-23T19:08
at 2019-02-23T19:08