Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] Bumblebee up for grabs
Am Donnerstag, 9. April 2020, 14:51:21 CEST schrieb Stefan Dirsch:
On Thu, Apr 09, 2020 at 01:14:15PM +0300, Andrei Borzenkov wrote:
mathias@kirika:~> __NV_PRIME_RENDER_OFFLOAD_PROVIDER=1 glxspheres

Do not you also need __GLX_VENDOR_LIBRARY_NAME=nvidia ? According to
nVidia documentation at least ...

Yes, that would be needed for OpenGL programs.

##
__NV_PRIME_RENDER_OFFLOAD=1 \
__GLX_VENDOR_LIBRARY_NAME=nvidia \
glxinfo | grep "OpenGL renderer"


mathias@kirika:~> __NV_PRIME_RENDER_OFFLOAD=1 \
__GLX_VENDOR_LIBRARY_NAME=nvidia \
glxinfo | grep "OpenGL renderer"
OpenGL renderer string: GeForce 840M/PCIe/SSE2
mathias@kirika:~> sudo /usr/sbin/prime-select get-current
Driver configured: nvidia
mathias@kirika:~>

und mit intel:
mathias@kirika:~> __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
glxinfo | grep "OpenGL renderer"
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 156 (NV-GLX)
Minor opcode of failed request: 6 ()
Value in failed request: 0x0
Serial number of failed request: 78
Current serial number in output stream: 78
mathias@kirika:~> sudo /usr/sbin/prime-select get-current
Driver configured: intel
mathias@kirika:~>


Mir fällt da noch auf, dass vulkaninfo sich über fehlende libs beschwert:
ERROR: [loader] Code 0 : libVkICD_mock_icd.so: cannot open shared object file:
No such file or directory
ERROR: [loader] Code 0 : /usr/lib64/nvidia/libGL.so.1: cannot open shared
object file: No such file or directory
ERROR: [loader] Code 0 : /usr/lib/nvidia/libGL.so.1: cannot open shared object
file: No such file or directory

was fehlt mir da noch? mit pin oder zypper find ich nix..


Cheers
Mathias

--
Mathias Homann
Mathias.Homann@xxxxxxxxxxxx
OBS: lemmy04
Jabber (XMPP): lemmy@xxxxxxxxxxxxxx
IRC: [Lemmy] on freenode and ircnet (bouncer active)
telegram: https://telegram.me/lemmy98
keybase: https://keybase.io/lemmy
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
< Previous Next >
Follow Ups