Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: OpenGL version outdated

  1. #11
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,836
    Blog Entries
    2

    Default Re: OpenGL version outdated

    Quote Originally Posted by matchpointok View Post
    I am running Leap 15.1 as the Host.
    I see, my mistake.

    Then, I recommend...
    There should be some info somewhere on how to read your glxinfo output accurately.
    I'm guessing when I <think> it says that your 3D support is 4.5 which should be more than sufficient.

    The next best thing but is much more unreliable is to run the official benchmark recommended by OpenGL, and then search the Internet for anyone else who might have posted results running on a machine as identical as possible to your own. As I described earlier, if you can minimize the differences between your system and another system you're comparing to, you should see a substantial difference in marks.

    I probably won't be able to do this very soon, but I could probably run the benchmark test on my own machine and see if the produced marks are what I'd expect... Because I know my own machine fairly well, I'd be able to verify whether certain tests are likely valid or not.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  2. #12
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,145

    Default AW: OpenGL version outdated

    Quote Originally Posted by matchpointok View Post
    I am running Leap 15.1 with KDE and a AMD Radeon R7 240 video card. The Radeon driver is installed as is Mesa.

    glxinfo | grep 'version' shows:

    server glx version string: 1.4
    client glx version string: 1.4
    GLX version: 1.4
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.2
    OpenGL core profile shading language version string: 4.50
    OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.2
    OpenGL shading language version string: 4.50
    OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.2
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

    When I go to Display and Monitor and look at Compositor options the highest OpenGL version showing is 3.1. If I understand the glxinfo I should see something higher than that. What am I missing?
    Your opengl-Version is 4.5

  3. #13
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,808
    Blog Entries
    15

    Default Re: OpenGL version outdated

    Hi
    The joys of third party stuff....

    The requirement is 3.3 core ONLY.....

    The VMware guest operating system OpenGL driver for Windows and Linux supports the OpenGL 3.3 core profile only.
    https://docs.vmware.com/en/VMware-Wo...1F04C5788.html

    This might be a work around?
    https://kb.vmware.com/s/article/2139606

    @OP, What player version are you running?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #14
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,145

    Default AW: OpenGL version outdated

    And this is what Plasma is used:
    Code:
    stephan@linux64:~> qdbus org.kde.KWin /KWin supportInformation | grep OpenGL
    welcher OpenGL-Treiber verwendet wird und welche Effekte laufen.
    Compositing Type: OpenGL
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
    OpenGL version string: 3.1.0 NVIDIA 440.44
    OpenGL platform interface: GLX
    OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
    OpenGL version: 3.1
    OpenGL 2 Shaders are used
    stephan@linux64:~>
    This might help, its 4 Years old but....
    https://blog.martin-graesslin.com/bl...ulkan-in-kwin/

  5. #15

    Default Re: OpenGL version outdated

    I am running VMWare Player 15.5.1.

    This question arises because I had an old version of Windows 7 running on the computer. Microsoft is discontinuing support and an upgrade to Windows 10 sounded simple enough. Everything went OK except 3D support for the new Windows version.


    Quote Originally Posted by malcolmlewis View Post
    Hi
    The joys of third party stuff....

    The requirement is 3.3 core ONLY.....



    https://docs.vmware.com/en/VMware-Wo...1F04C5788.html

    This might be a work around?
    https://kb.vmware.com/s/article/2139606

    @OP, What player version are you running?

  6. #16

    Default Re: AW: OpenGL version outdated

    qdbus org.kde.KWin /KWin supportInformation | grep OpenGL shows:

    what OpenGL driver and which effects are running.
    Compositing Type: OpenGL
    OpenGL vendor string: X.Org
    OpenGL renderer string: AMD OLAND (DRM 2.50.0, 4.12.14-lp151.28.36-default, LLVM 7.0.1)
    OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.2
    OpenGL platform interface: GLX
    OpenGL shading language version string: 4.50
    OpenGL version: 4.5
    OpenGL 2 Shaders are used


    I tried installing the X11-tools so I could run 3ddiag in the hope the tool might tell me something useful. X11-tools installed and YaST says 3ddiag should be part of the package but I get no response to 3ddiag at the command line. Anyone know hows this runs?


    Quote Originally Posted by Sauerland View Post
    And this is what Plasma is used:
    Code:
    stephan@linux64:~> qdbus org.kde.KWin /KWin supportInformation | grep OpenGL
    welcher OpenGL-Treiber verwendet wird und welche Effekte laufen.
    Compositing Type: OpenGL
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
    OpenGL version string: 3.1.0 NVIDIA 440.44
    OpenGL platform interface: GLX
    OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
    OpenGL version: 3.1
    OpenGL 2 Shaders are used
    stephan@linux64:~>
    This might help, its 4 Years old but....
    https://blog.martin-graesslin.com/bl...ulkan-in-kwin/

  7. #17
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,836
    Blog Entries
    2

    Default Re: OpenGL version outdated

    Took some time looking at this...

    First, Malcolm is correct.
    VMware Linux Guests only support openGL 3D core profile 3.3 and nothing else before or since.
    That's really specific.
    And that is supported by numerous postings by many exclaiming about their discovery that their VMware Linux guests weren't performing well.
    Maybe when I did my 3D benchmark that one time, it could have been during this "sweet spot" when the right 3D core version was default.
    Also, although Malcolm's reference is very old relative to "current" VMware kb articles, nothing has really changed except to expand on the topic.

    Since you're working with disposable Guests anyway...
    The following is where you can try using old packages instead of building something new.
    I figure you can tinker with installing a Mesa package created long ago that was built with OpenGL 3D core profile 3.3.
    According to some research, that would have been part of Mesa builds 10.0 through 10.6.
    And, that's in at least the last release of the old openSUSE 13.2 update repo. Unfortunately the LEAP 42.1 ISO jumps to Mesa 11.02.
    https://ftp5.gwdg.de/pub/opensuse/di...e/13.2/x86_64/

    Otherwise...
    To build your own custom Mesa you'd have to download the source from Gitlab
    https://gitlab.freedesktop.org/mesa/mesa/tree/10.6
    The install instructions included in the above source are pretty hard to read because they're in HTML (unless you deploy in a webserver) but looks like it's identical to what is posted on the mesa website... Note the extra features you can turn on if you're running Workstation 15
    https://www.mesa3d.org/vmware-guest.html
    I won't post all the VMware articles I dug up they hardly mention Linux at all but can be summarized...
    1. Install latest/most capable video driver in your HostOS
    2. Enable hardware acceleration in the HostOS
    3. Configure your VMware Guest properties to enable hardware acceleration (or, actually not if you can't support in Guest, thereby forcing to an earlier 3D core profile which can provide at least some performance)
    4. In the Guest, OpenGL 3D core profile 3.3 must be installed, compatibility profiles not supported.
    5. Latest VMware Tools should be installed in Guest (should be automatically installed if openSUSE)
    Note that even if successful, OpenGL 3D will run in "software emulation mode" (whatever that means, perhaps suggesting won't be as good as DirectX)

    And,
    One more option comes to mind,
    If you have multiple graphics cards installed in your system, consider doing a GPU pass-through.
    If hardware acceleration and OpenGL 3D is enabled and working on the HostOS, then hardware pass-through would bypass any virtualized device issues.
    Hardware pass-through should be very easy in VMware, when you launch a VM you should see a long row of icons across the bottom right of the graphics console... click on the one for graphics and see if the pass-through option is offered.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #18
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,836
    Blog Entries
    2

    Default Re: OpenGL version outdated

    Quote Originally Posted by matchpointok View Post
    I am running VMWare Player 15.5.1.

    This question arises because I had an old version of Windows 7 running on the computer. Microsoft is discontinuing support and an upgrade to Windows 10 sounded simple enough. Everything went OK except 3D support for the new Windows version.
    You're running a Win10 in the Guest?
    Either I'm not reading these posts properly (possible) or all the necessary info wasn't posted properly from the beginning...

    OK,
    Here are the relevant VMware documents but not that VMware does not expressly detail what one can expect running on a Linux HostOS...

    Host Machine
    https://docs.vmware.com/en/VMware-Wo...1F04C5788.html
    Guest (Virtual Machine, describing only MSWindows Guests)
    https://docs.vmware.com/en/VMware-Wo...7773A1404.html

    Bottom line and summarizing...
    1. Install the most advanced (likely proprietary) driver for your GPU card.
    Turn up the hardware acceleration all the way to max.
    2. Configure the VM's Guest Properties' Display for hardware acceleration
    3. Install the most recently available DirectX in your MSWindows Guest.

    Note that the VMware docs only describe a MSWindows Guest running on a MSWindows HostOS, so it's anyone's guess what your results will be.
    Since not documented, your scenario might need to be posted to the VMware forums.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #19

    Default Re: OpenGL version outdated

    Despite the potential of Opengl 4.5 returned by glxinfo my system is not showing Compositor choices higher than 3.1. I should be able to go to Display and Monitor and select Opengl 3.3 as Compositor and at least attempt to get 3D acceleration in VMWare working. Why won't Leap 15.1 give me Opengl choices beyond the rather dated Opengl 3.1?


    Quote Originally Posted by tsu2 View Post
    Took some time looking at this...

    First, Malcolm is correct.
    VMware Linux Guests only support openGL 3D core profile 3.3 and nothing else before or since.
    That's really specific.
    And that is supported by numerous postings by many exclaiming about their discovery that their VMware Linux guests weren't performing well.
    Maybe when I did my 3D benchmark that one time, it could have been during this "sweet spot" when the right 3D core version was default.
    Also, although Malcolm's reference is very old relative to "current" VMware kb articles, nothing has really changed except to expand on the topic.

    Since you're working with disposable Guests anyway...
    The following is where you can try using old packages instead of building something new.
    I figure you can tinker with installing a Mesa package created long ago that was built with OpenGL 3D core profile 3.3.
    According to some research, that would have been part of Mesa builds 10.0 through 10.6.
    And, that's in at least the last release of the old openSUSE 13.2 update repo. Unfortunately the LEAP 42.1 ISO jumps to Mesa 11.02.
    https://ftp5.gwdg.de/pub/opensuse/di...e/13.2/x86_64/

    Otherwise...
    To build your own custom Mesa you'd have to download the source from Gitlab
    https://gitlab.freedesktop.org/mesa/mesa/tree/10.6
    The install instructions included in the above source are pretty hard to read because they're in HTML (unless you deploy in a webserver) but looks like it's identical to what is posted on the mesa website... Note the extra features you can turn on if you're running Workstation 15
    https://www.mesa3d.org/vmware-guest.html
    I won't post all the VMware articles I dug up they hardly mention Linux at all but can be summarized...
    1. Install latest/most capable video driver in your HostOS
    2. Enable hardware acceleration in the HostOS
    3. Configure your VMware Guest properties to enable hardware acceleration (or, actually not if you can't support in Guest, thereby forcing to an earlier 3D core profile which can provide at least some performance)
    4. In the Guest, OpenGL 3D core profile 3.3 must be installed, compatibility profiles not supported.
    5. Latest VMware Tools should be installed in Guest (should be automatically installed if openSUSE)
    Note that even if successful, OpenGL 3D will run in "software emulation mode" (whatever that means, perhaps suggesting won't be as good as DirectX)

    And,
    One more option comes to mind,
    If you have multiple graphics cards installed in your system, consider doing a GPU pass-through.
    If hardware acceleration and OpenGL 3D is enabled and working on the HostOS, then hardware pass-through would bypass any virtualized device issues.
    Hardware pass-through should be very easy in VMware, when you launch a VM you should see a long row of icons across the bottom right of the graphics console... click on the one for graphics and see if the pass-through option is offered.

    TSU

  10. #20
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,808
    Blog Entries
    15

    Default Re: OpenGL version outdated

    Hi
    Consider switching to the amdgpu driver as opposed to radeon.

    Can you show the output from;

    Code:
    /sbin/lspci -nnk | egrep -A3 "VGA|3D|Display"
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •