View previous topic :: View next topic |
Author |
Message |
ngahy n00b
Joined: 12 Aug 2021 Posts: 31
|
Posted: Wed Aug 25, 2021 7:54 am Post subject: [SOLVED] Nvidia RTX A2000 settings issue |
|
|
Hello everyone.
I tried to install set up Optimus with the following guide: https://wiki.gentoo.org/wiki/NVIDIA/Optimus
I was following this link also: http://us.download.nvidia.com/XFree86/Linux-x86_64/460.91.03/README/randr14.html
When I did xrandr --setprovideroutputsource modesetting NVIDIA-0, I got the following error:
Code: | Could not find provider with name modesetting |
With tabs, bash suggested the following command xrandr --setprovideroutputsource Intel NVIDIA-G0 but now, I have the following error:
Code: | X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 35 (RRSetProviderOutputSource)
Value in failed request: 0x248
Serial number of failed request: 16
Current serial number in output stream: 17 |
Information:
* xrandr --listproviders
Code: | Providers: number : 2
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 5 outputs: 4 associated providers: 0 name:Intel
Provider 1: id: 0x248 cap: 0x2, Sink Output crtcs: 4 outputs: 7 associated providers: 0 name:NVIDIA-G0 |
* lspci | grep VGA
Code: | 00:02.0 VGA compatible controller: Intel Corporation Device 9a60 (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 25b8 (rev a1) |
* cat /etc/X11/xorg.conf
Code: | Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
|
* /etc/portage/make.conf
Code: | VIDEO_CARDS="intel i965 iris nvidia fbdev vesa" |
* lsmod | grep nvidia
Code: | nvidia_drm 61440 2
nvidia_modeset 1155072 3 nvidia_drm
nvidia 34750464 89 nvidia_modeset
|
* lsmod | grep i9 does not show anything
* cat /etc/modprobe.d/nvidia.conf
Code: |
# NVIDIA drivers options
# See /usr/share/doc/nvidia-drivers-*/README.txt* for more information.
# nvidia-drivers and nouveau cannot be used at same time.
# Comment out the following line if you wish to allow nouveau.
blacklist nouveau
# Kernel Mode Setting (needed EGLStream/Wayland)
# Enabling may possibly cause issues with SLI and Reverse PRIME.
#options nvidia-drm modeset=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend).
options nvidia \
NVreg_PreserveVideoMemoryAllocations=0 \
NVreg_TemporaryFilePath=/var/tmp
# !!! Security Warning !!!
# Do not change the DeviceFile options unless you know what you are doing.
# Only add trusted users to the 'video' group, these users may be able to
# crash, compromise, or irreparably damage the machine.
options nvidia \
NVreg_DeviceFileGID=27 \
NVreg_DeviceFileMode=432 \
NVreg_DeviceFileUID=0 \
NVreg_ModifyDeviceFiles=1
# Should be no need to touch anything below.
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia |
* The intel driver is already enabled in the kernel
Code: | <*> Intel 8xx/9xx/G3x/G4x/HD Graphics |
* modprobe i915 shows nothing
* Kernel configuration : https://pastebin.com/6pNtdvBR
* It seems also that sometimes even if my monitors, plugged-in my dock station, are recognized via xrandr, I cannot display anything on them: black screen, idle.
To get my graphical interface back, I have to remove /etc/X11/xorg.conf.
Could someone help me fix this issue?
Thank you
Last edited by ngahy on Tue Sep 07, 2021 8:05 pm; edited 1 time in total |
|
Back to top |
|
|
ngahy n00b
Joined: 12 Aug 2021 Posts: 31
|
Posted: Tue Sep 07, 2021 8:05 pm Post subject: |
|
|
Due to an issue with my wifi+bleutooth card, I moved temporarily to sys-kernel/gentoo-kernel-bin:5.10.12.
While solving the issue with this card, I looked carefully at BIOS menus and I found that I could disable
Hybrid Graphic Cards and work entirely with the "Discrete GPU". I did disable the option and everything
seems to work fine for now after the installation of nvidia drivers. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|