You are not logged in.

#1 2020-03-20 11:39:33

thechubbypanda
Member
Registered: 2020-03-20
Posts: 4

Nvidia reverse prime issues

I'm having some pains with my laptop (Gigabyte Aero 15) that has an intel integrated gpu and an nvidia gtx 1060 discrete gpu.
I need to plug a screen into my hdmi port (assumed to be connected to the dgpu) but it won't show up in xrandr. nvidia-settings shows that the dgpu recognizes the screen connected since it's listed there.
I can run programs on the dgpu

xrandr -q (prime-run xrandr -q returns the same thing)

glxinfo | grep "OpenGL renderer"

OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)

prime-run glxinfo | grep "OpenGL renderer"

OpenGL renderer string: GeForce GTX 1060/PCIe/SSE2

I've tried reverse prime as listed here but the following anarchy ensues:

xrandr --setprovideroutputsource NVIDIA-G0 modesetting

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  35 (RRSetProviderOutputSource)
  Value in failed request:  0x23f
  Serial number of failed request:  16
  Current serial number in output stream:  17

Help appreciated greatly

Offline

#2 2020-03-20 14:17:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,431

Re: Nvidia reverse prime issues

Please post the output of

$ xrandr --listproviders

, also  xorg log .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2020-03-20 14:39:36

thechubbypanda
Member
Registered: 2020-03-20
Posts: 4

Re: Nvidia reverse prime issues

Outputs requested:

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x23f cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0

Xorg.0.log right after reboot

Offline

#4 2020-03-20 16:49:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,391

Re: Nvidia reverse prime issues

You can't use prime-run with external screens, you'll need to set up one of the more traditional approaches.

https://wiki.archlinux.org/index.php/NVIDIA_Optimus (all of the nvidia using options should work, to verify basic functionality, follow the "Nvidia Graphics Only" section (and remove nvidia-prime the configs directly conflict)

Offline

Board footer

Powered by FluxBB