PRIME offload returns BadValue for opcode 155 (NV-GLX) / 6

I’m trying to setup offload on an XPS 7590 according to

I’m running on fedora 31 with driver 440.59 with the xorg patches needed for PRIME support backported.

Everything from the early logs seems ok:

  • Both drivers loaded
  • Defaults to intel
  • xrandr lists two providers as expected
  • glamoregl is loaded

Main issue (or the most apparent one) is that glxinfo with offload shows only this:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (NV-GLX)
  Minor opcode of failed request:  6 ()
  Value in failed request:  0x0
  Serial number of failed request:  83
  Current serial number in output stream:  83

Other issues spotted: nvidia-smi works, detects the card, etc, but also shows:

WARNING: infoROM is corrupted at gpu 0000:01:00.0

The only other problem I spotted is that I run into this issue: - but it doesn’t seem to stop the card from working.
nvidia-bug-report.log.gz (1.11 MB)

Bumping to jump over the post destroying the forum layout.

In the first line of your code block, there should be two underscores in the first environment variable:



Yeah, that was it… the classic copy-paste mistake.

I guess this can be a feature request as well - could this situation have a better error report? :)