You are not logged in.
Hi everyone. I've recently bought a laptop that has a Ryzen 4800h and an Nvidia 2060. After reading the wiki and searching around I think I finally made it work using nvidia-prime as offloading. I am currently using AMDGPU driver with the Nvidia driver.
Now, I've run into a weird issue that I can't seem to find any info to solve. On some steam games, when I try to run them with the "prime-run %command%" the available resolutions on the game settings are limited to 1080p. I have a dual monitor setup with my second monitor being 4k. I thought that this could be a weird issue with the available resolutions, but my xorg.log seems to correctly detect my edid and lists the correct modes for my monitor.
On the other hand, nvidia-settings does not show any x displays in its configuration, so I've done most of the monitor setup with xrandr without major issues. I'm at a loss on where I should check for this.
One final question: I'm also trying to setup the Runtime D3 power mangement Is this only available for intel graphics or is there some configuration to make it possible with amd gpus? Perhaps I should use the modesetting driver?
In any case, thanks in advance.
Last edited by shadowspiral (2020-11-30 15:07:21)
Offline
Does it happen with all of the games?
Out of curiosity, what hapoens if you start one of those in a window bigger than 1080p?
edit:
oh i read that it happens only on some games, maybe the problem is game specific then.
Last edited by kokoko3k (2020-11-30 06:55:36)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
[ 5.537] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
[ 5.539] (--) PCI:*(1@0:0:0) 10de:1f15:1043:1e21 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[ 5.539] (--) PCI: (5@0:0:0) 1002:1636:1043:1e21 rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc500000/524288, I/O @ 0x0000c000/256The nvidia card is set as your primary card, but the rest of your log indicates the monitor is connected to the amd card.
as for prime-run :
#!/bin/bash
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"It's intended to be used when nvidia is NOT the primary card.
Your configuration is wrong.
Check https://wiki.archlinux.org/index.php/NV … le_methods for your options using both cards .
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
Well, apparently I had concurring configurations that were interfering with each other. I had an extra rule in xorg.conf.d with nvidia "UsePrimaryGPU" "yes", but it wasn't working properly before that either; in the end, probably a misconfiguration on my part.
Changed that and apparently it is solved.
Thanks on noticing that!
Offline