Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] Bumblebee up for grabs
On Fri, Apr 10, 2020 at 01:20:37PM +0300, Andrei Borzenkov wrote:
On Thu, Apr 9, 2020 at 10:03 PM Stefan Dirsch <sndirsch@xxxxxxx> wrote:

On Thu, Apr 09, 2020 at 03:49:40PM +0200, Mathias Homann wrote:
##
__NV_PRIME_RENDER_OFFLOAD=1 \
__GLX_VENDOR_LIBRARY_NAME=nvidia \
glxinfo | grep "OpenGL renderer"


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

Hmm. I currently see the same issue. :-( Is there anybody else, for whom
this still works?


Works for me on TW

linux@192:~> glxinfo | grep 'OpenGL renderer'
No protocol specified
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (BDW GT2)
linux@192:~> __NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep 'OpenGL renderer'
No protocol specified
OpenGL renderer string: GeForce 830M/PCIe/SSE2
linux@192:~> uname -r
5.6.2-1-default
linux@192:~> grep VERSION_ID /etc/os-release
VERSION_ID="20200407"
linux@192:~> rpm -qa nvidia\*
nvidia-gfxG05-kmp-default-440.82_k5.6.0_1-25.1.x86_64
nvidia-glG05-440.82-25.1.x86_64
nvidia-computeG05-440.82-25.1.x86_64
linux@192:~>

This is without prime-select though, just single custom file

linux@192:~> cat /etc/X11/xorg.conf.d/51-nvidia.conf
Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection
linux@192:~> xrandr --listproviders
No protocol specified
Providers: number : 2
Provider 0: id: 0x46; cap: 0xf (Source Output, Sink Output, Source
Offload, Sink Offload); crtcs: 3; outputs: 4; associated providers: 0;
name: modesetting
output eDP-1
output HDMI-1
output DP-1
output HDMI-2
Provider 1: id: 0x242; cap: 0x0 (); crtcs: 0; outputs: 0; associated
providers: 0; name: NVIDIA-G0
linux@192:~>

Thanks a lot. Finally I figured out what was still wrong on my system.

1. Xserver was still on Leap 15.1, but you need Xserver of Leap 15.2 or
newer (like Tumbleweed) for NVIDIA's PRIME render offload support
2. I had G04 driver series installed :-(

Improved documentation in README.md and made a new release.

Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH
Tel: 0911-740 53 0 Maxfeldstraße 5
FAX: 0911-740 53 479 D-90409 Nürnberg
http://www.suse.de Germany
----------------------------------------------------------------
(HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
----------------------------------------------------------------
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups