Hello, I use my laptop a lot, it has a dedicated gpu and when i want to game i use that, I have been using it before, although for some reason recently it has stopped working altogheter.
Some programs work with prime-run, some, specifically java related ones (Minecraft), can’t obtain a graphic context.
I tried opening X Server Settings as to no avail, what should I do?
I think I have the same problem. nvidia-smi dmon shows no usage in the dGPU while running games, and the performance level has no effect over this. I have no clue on what to do
Please read this: How to provide good information
and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
P.S. @tomazpcnm If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time.
Minecraft needs openjdk-8 to run and manjaro defaults to 15? I think any way make sure you are using the correct version of jdk for Minecraft and see if that fixes it
Minecraft uses its own jre that’s included in the launcher, this isn’t just a problem with Minecraft or java applications they are just what i tried them on, prime-run work on any other game or program.
And x server settings doesn’t open, which i think means it cant connect with the drivers…
it is not, no program works with prime-run, i just think that the programs i try them on manage to fallback on the integrated graphics card to function.
I’ve tried all my library, custom engine games, unity… unreal;
they all “cannot obtain a graphical context”
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2020.11.30 false PCI
video-modesetting 2020.01.13 true PCI
Warning: No installed USB configs!
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
,
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2020.11.30 false PCI
video-modesetting 2020.01.13 true PCI
Warning: No installed USB configs!
prime-run glxinfo | grep vendor
and
mhwd --listinstalled
respectively
I see in your inxi some weirdness to me but that can be a laptop thing: you have one screen with 3280x1080 resolution, that I guess is made of two monitors side by side one 1920x1080 (laptop screen) and one 1366x768 (external?).
Do you have a secondary monitor plugged in? What happens if you unplug it and if you restart and try to run the prime-run glxinfo | grep vendor command again?