LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can i check if i have installed OpenGL on my Centos server? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-check-if-i-have-installed-opengl-on-my-centos-server-4175583741/)

bmxakias 07-04-2016 10:50 AM

How can i check if i have installed OpenGL on my Centos server?
 
Hi

How can i check if i have installed OpenGL on my Centos server?

Thanks

smallpond 07-04-2016 03:01 PM

RedHat ships the mesa implementation of OpenGL

Code:

rpm -qa |grep mesa
mesa-dri-drivers-10.4.3-1.el6.x86_64
mesa-libGLU-10.4.3-1.el6.x86_64
mesa-libGL-devel-10.4.3-1.el6.x86_64
mesa-libGLw-devel-6.5.1-10.el6.x86_64
mesa-private-llvm-3.4-3.el6.x86_64
mesa-dri-filesystem-10.4.3-1.el6.x86_64
mesa-libGLU-devel-10.4.3-1.el6.x86_64
mesa-libGL-10.4.3-1.el6.x86_64
mesa-dri1-drivers-7.11-8.el6.x86_64
mesa-libGLw-6.5.1-10.el6.x86_64
mesa-libgbm-10.4.3-1.el6.x86_64
mesa-libEGL-10.4.3-1.el6.x86_64


bmxakias 07-04-2016 04:53 PM

How can i install this on my Centos 7?

Sorry but i am new and try to install logstalgia.io and i am not sure that it will work with mesa implementation ......

ardvark71 07-04-2016 05:33 PM

Quote:

Originally Posted by bmxakias (Post 5570445)
i am new and try to install logstalgia.io

Hi...

Although for a slightly older version, do the instructions here help? Some of the packages to be installed are OpenGL components, although you may need to install others. :)

Regards...

bmxakias 07-04-2016 05:57 PM

I try it and i got at the end:

Code:

[root@server logstalgia-1.0.7]# logstalgia /home/nginx/domains/domain.com/log/access.log
terminate called after throwing an instance of 'SDLInitException'
  what():  Unable to memory map the video hardware
Aborted (core dumped)
[root@server logstalgia-1.0.7]#


ardvark71 07-04-2016 06:07 PM

Hi...

First, please read here. The more information you give us, the better we can help you. ;)

Please give us more details as to what's going on. So you already installed logstalgia 1.0.7? Have there been any other error messages? Does your server's graphics chip support OpenGL?

Also, please open a terminal and post the results of this command...

Code:

lspci -nnk
Regards...

bmxakias 07-04-2016 06:33 PM

Thanks for the reply ardvark71 :)

Sorry for the missing details ....

I am on Centos 7 latest and i want to try to install and use the logstalgia latest 1.0.7 version.

I install it using the instructions from the tutorial that you provide and anothere one that i got and all was fine with no errors at all.

but when i run it i got:

Code:

[root@server logstalgia-1.0.7]# logstalgia /home/nginx/domains/domain.com/log/access.log
terminate called after throwing an instance of 'SDLInitException'
  what():  Unable to memory map the video hardware
Aborted (core dumped)


lspci -nnk

Code:

[root@server ~]# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Register                                                          s [8086:1918] (rev 07)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [808                                                          6:1901] (rev 07)
        Kernel driver in use: pcieport
00:02.0 Display controller [0380]: Intel Corporation Device [8086:191d] (rev 06)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Sunrise Point-H In                                                          tegrated Sensor Hub [8086:a135] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Co                                                          ntroller [8086:a12f] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
        Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H T                                                          hermal subsystem [8086:a131] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME                                                            HECI #1 [8086:a13a] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:16.1 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME                                                            HECI #2 [8086:a13b] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a102] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
        Kernel driver in use: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Po                                                          rt #9 [8086:a118] (rev f1)
        Kernel driver in use: pcieport
00:1d.5 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Po                                                          rt #14 [8086:a11d] (rev f1)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [808                                                          6:a149] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a1                                                          21] (rev 31)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 3                                                          1)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
01:00.0 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Conne                                                          ction [8086:1521] (rev 01)
        Subsystem: Super Micro Computer Inc Device [15d9:0652]
        Kernel driver in use: igb
01:00.1 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Conne                                                          ction [8086:1521] (rev 01)
        Subsystem: Super Micro Computer Inc Device [15d9:0652]
        Kernel driver in use: igb
03:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a                                                          03:1150] (rev 03)
04:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphic                                                          s Family [1a03:2000] (rev 30)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
        Kernel driver in use: ast


ardvark71 07-04-2016 09:33 PM

Quote:

Originally Posted by bmxakias (Post 5570485)
Sorry for the missing details ....

No problem :)

Quote:

Originally Posted by bmxakias (Post 5570485)
I am on Centos 7 latest and i want to try to install and use the logstalgia latest 1.0.7 version.

I install it using the instructions from the tutorial that you provide and anothere one that i got and all was fine with no errors at all.

but when i run it i got:

Code:

[root@server logstalgia-1.0.7]# logstalgia /home/nginx/domains/domain.com/log/access.log
terminate called after throwing an instance of 'SDLInitException'
  what():  Unable to memory map the video hardware
Aborted (core dumped)


So you installed both versions of logstalgia? If so, you should uninstall one of them. ;)

Quote:

Originally Posted by bmxakias (Post 5570485)
Code:

04:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphic                                                          s Family [1a03:2000] (rev 30)
        Subsystem: Super Micro Computer Inc Device [15d9:0898]
        Kernel driver in use: ast


Do you know if this particular graphics chip supports OpenGL? If not, then you won't be able to proceed any further, unless you upgrade your server's graphics by installing a video add-in card and you have the required port and wattage from the PSU for that. Please take a look here...

Quote:

Logstalgia requires a video card supporting OpenGL. For this reason you should typically run Logstalgia on your workstation rather than on the web-server itself (unless your workstation is the web-server).
Regards...


All times are GMT -5. The time now is 06:33 AM.