Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia GeForce GTX 1660 console resolution [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1160
Location: Online

PostPosted: Thu Feb 02, 2023 7:47 am    Post subject: Nvidia GeForce GTX 1660 console resolution [SOLVED] Reply with quote

I have had this same issue (among others) in the past with other nvidia cards such as:

GeForce 8600 GT] (rev a1)
https://forums.gentoo.org/viewtopic-p-8300318-highlight-.html#8300318

[GeForce GTX 750 Ti] (rev a2)
https://forums.gentoo.org/viewtopic-t-1048070-start-0-postdays-0-postorder-asc-highlight-.html

In both topics console resolution was also a problem at some point and although it is said that nvidia-drivers lacks the support needed to do what we want, somehow, i got it all to work

But right now, the old kernel config is not working and last time i played with the drivers, at some point the screen locked and went black and funny.

Pehaps someone has been able to get the following card with these drivers to work.
I am also aware of the issues with nvidia-drivers and framebuffer support.

Now the problem is with this card:

lspci | grep VGA
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1)


All 3 monitors work but the console resolution is default and not smaller as intended.


Kernel config:
https://pastebin.com/raw/XRePZ9DJ

Code:
x11-drivers/nvidia-drivers-525.85.05:0/525::gentoo  USE="X -dist-kernel driver -kernel-open -persistenced static-libs tools -wayland"



Grub:

Code:
linux   /boot/vmlinuz-5.15.88-gentoo root=/dev/md0 ro domdadm rootfstype=ext4 net.ifnames=0 nvidia_drm.modeset=1 pcie_aspm=default root_trim=yes consoleblank=300 splash}

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244


Last edited by HeXiLeD on Sat Apr 19, 2025 1:48 pm; edited 3 times in total
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Thu Feb 02, 2023 8:04 am    Post subject: Reply with quote

nvidia opensource kernel driver (USE flag kernel-open) has native console framebuffer, it require GTX 1650+.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1160
Location: Online

PostPosted: Thu Feb 02, 2023 5:39 pm    Post subject: Reply with quote

s4e8 wrote:
nvidia opensource kernel driver (USE flag kernel-open) has native console framebuffer, it require GTX 1650+.


I tried a few things:

First, adding CONFIG_DRM_SIMPLEDRM to the kernel 5.15.88-gentoo which I got info from here:
https://wiki.archlinux.org/title/NVIDIA

Code:
* Detected potential configuration issues with used kernel:
 *   CONFIG_DRM_SIMPLEDRM: is builtin (=y), and may conflict with NVIDIA
 *     (i.e. blanks when X/wayland starts, and tty loses display).
 *     For prebuilt kernels, unfortunately no known good workarounds.


I can report that I had no issues as described but, also no improved console resolution as wanted.

Then recompiled the x11-drivers/nvidia-drivers 525.85.05
Code:
X driver kernel-open static-libs tools -dist-kernel -persistenced -wayland


and tried it with 6.1.9-gentoo kernel without CONFIG_DRM_SIMPLEDRM

Nothing changed.

The graphics card is listed here:
https://github.com/NVIDIA/open-gpu-kernel-modules

lsmod | grep nvidia
Code:
nvidia_uvm           1212416  0
nvidia_drm             61440  8
nvidia_modeset       1306624  10 nvidia_drm
nvidia               5492736  734 nvidia_uvm,nvidia_modeset



Quote:
To enable use of the open kernel modules on GeForce and Workstation GPUs, set the "NVreg_OpenRmEnableUnsupportedGpus" nvidia.ko kernel module parameter to 1. For more details, see the NVIDIA GPU driver end user README here:

https://us.download.nvidia.com/XFree86/Linux-x86_64/525.85.12/README/kernel_open.html


However the README/kernel_open.html link is broken

Going here for Kernel module parameters
https://wiki.gentoo.oKernel module parametersrg/wiki/NVIDIA/nvidia-drivers#Documentation

cat /etc/modprobe.d/nvidia.conf | grep NVreg_OpenRmEnableUnsupportedGpus
Code:
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1



# 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

# Enable using kernel-open with workstation GPUs (experimental)
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1

# Kernel Mode Setting (notably needed for 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),
# but even then may lead to issues on some setups (keep 0 if in doubt).
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



Unless I forgot something, looks like NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1) is still not fully supported by x11-drivers/nvidia-drivers 525.85.05
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2947

PostPosted: Thu Feb 02, 2023 7:48 pm    Post subject: Reply with quote

Try to disable all simple stuff, including CONFIG_SYSFB_SIMPLEFB which resides under Device Drivers -> Firmware Drivers and enable only efifb and vesa.

Simplefb is broken since 5.18.something which is long gone from the tree. Simpledrm is problematic. It's best not to use them.

Best Regards,
Georgi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5634
Location: Bavaria

PostPosted: Thu Feb 02, 2023 8:06 pm    Post subject: Reply with quote

Is this useful for your problem ?
https://bugzilla.kernel.org/show_bug.cgi?id=216303
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2919

PostPosted: Thu Feb 02, 2023 8:49 pm    Post subject: Reply with quote

s4e8 wrote:
nvidia opensource kernel driver (USE flag kernel-open) has native console framebuffer, it require GTX 1650+.
kernel-open makes no difference for this as far as I know, what makes you think it does?

There's PR/patches that are trying to improve the situation with SIMPLEDRM / SYSFB though, e.g. https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341#issuecomment-1400957606 (not applied) but things like that would land in the main drivers too, kernel-open doesn't really get exclusive fixes (Edit: well, at best it /could/ when it solves licensing issues when interfacing with some kernel functions).

Currently framebuffer is always managed using something else than nvidia-drivers, usually FB_EFI or FB_VESA (SIMPLEDRM would be a candidate but currently conflicts), or perhaps something else when talking optimus setups. nvidia does try to restore the former mode when switching from Xorg to console back & forth though, but that's about it.

Edit: that aside, post #8773656 is right -- the nvidia ebuild warns about these when using a recent enough kernel too -- bland FB_EFI without SYSFB being set tend to be the simplest way to still have a working console at the moment if nvidia-only (unfortunately gives you very little control, should consider it only a subpar fallback for if X is broken).
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1160
Location: Online

PostPosted: Fri Feb 03, 2023 1:41 am    Post subject: Reply with quote

At the moment I still have nvidia-drivers with kernel-open compiled in.
I tested this with 6.1.9-gentoo, which failled and with 5.15.88-gentoo which made no difference.

I tried with CONFIG_DRM_SIMPLEDRM built in first and no positive result. Nothing changed.
And then without CONFIG_DRM_SIMPLEDRM and still no change but also no new problems.

Peharps I am eithing missing something, something I have compiled is preventing a fragile solution to work at all or, it is still early to resolve this matter.
It is not a pressing issue at the moment and maybe there will be some update somewhere that will magically get it all to work when least expected.

I will say that in all my attempts to solve this, the console has a moment that flicks, goes black and then gets back on again but not with higher resolution.
In the past, after that same type of flick, the higher resolution would start.
So it looks like that tries to load something that does not load or work.

@logrusx

cat /usr/src/linux/.config | grep CONFIG_SYSFB_SIMPLEFB
Code:
# CONFIG_SYSFB_SIMPLEFB is not set


@pietinger

The system in question is BIOS

Nothing in the kernel for CONFIG_DRM_I915=

In regards to https://bugzilla.kernel.org/show_bug.cgi?id=216303, I was missing CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION=y
Overall, no solution.


cat /usr/src/linux/.config | grep CONFIG_FB_*

Code:

CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_UVESA=y
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
CONFIG_FB_UDL=y
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SM712 is not set
# CONFIG_FB_SM750 is not set


cat /usr/src/linux/.config | grep CONFIG_FB_*
Code:

CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_UVESA=y
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
CONFIG_FB_UDL=y
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SM712 is not set
# CONFIG_FB_SM750 is not set


cat /usr/src/linux/.config | grep CONFIG_HDMI=*
Code:
CONFIG_HDMI=y


cat /usr/src/linux/.config | grep CONFIG_VGA_CONSOLE=*
Code:

CONFIG_VGA_CONSOLE=y


cat /usr/src/linux/.config | grep CONFIG_DUMMY_CONSOLE=*
Code:

CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=150
CONFIG_DUMMY_CONSOLE_ROWS=50


cat /usr/src/linux/.config | grep CONFIG_FRAMEBUFFER_CONSOLE=*
Code:

CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set



Javier Martinez Canillas 2022-08-01 00:49:16 UTC wrote:

There isn't much we can do here really, the NVIDIA proprietary driver is an out-of-tree module and you should report to them if there are any issues.

For this particular problem, they were relying on registered framebuffer devices to bind to the fbcon to have VT support.

But that solution is fragile. Instead, is the DRM driver responsibility to register an emulated framebuffer device if fbcon and VT has to be supported.

Commit ee7a69aa38d8 ("fbdev: Disable sysfb device registration when removing conflicting FBs") fixed a race since, since otherwise it would allow to register
platform devices for firmware provided framebuffers even after a native video driver was registered.


_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Fri Feb 03, 2023 2:00 am    Post subject: Reply with quote

I use driver 525.60.13, and it work. it need fbcon & simplefb module. you can add following file to autoload simplefb.
/etc/modprobe.d/nvidia-kms.conf:
softdep nvidia pre: fbcon simplefb post: nvidia_drm nvidia_uvm
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1160
Location: Online

PostPosted: Fri Feb 03, 2023 3:54 am    Post subject: Reply with quote

s4e8 wrote:
I use driver 525.60.13, and it work. it need fbcon & simplefb module. you can add following file to autoload simplefb.
/etc/modprobe.d/nvidia-kms.conf:
softdep nvidia pre: fbcon simplefb post: nvidia_drm nvidia_uvm



Just to confirm that when you say simplefb it means FRAMEBUFFER_CONSOLE and not FBSIMPLE which is another thing. Correct?

525.60.13 is no longer in portage.
I am with 525.85.05 compiled with:

Code:
X driver kernel-open static-libs tools -dist-kernel -persistenced -wayland ABI_X86="64 -32"


# lsmod | grep nvidia
Code:
nvidia_drm             61440  6
nvidia_modeset       1306624  8 nvidia_drm
nvidia               5496832  546 nvidia_modeset



As per your example, created:
# cat /etc/modprobe.d/nvidia-kms.conf
Code:
nvidia-uvm nvidia-drm


Had this previously:
# cat /etc/modprobe.d/nvidia.conf

Code:
remove nvidia modprobe -r --ignore-remove nvidia-modeset nvidia nvidia-uvm nvidia-drm



Now it is:

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

# Enable using kernel-open with workstation GPUs (experimental)
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1

# Kernel Mode Setting (notably needed for 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),
# but even then may lead to issues on some setups (keep 0 if in doubt).
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-modeset nvidia

# https://forums.gentoo.org/viewtopic-p-8773766.html#8773766
# nvidia-uvm nvidia-drm


# cat /usr/src/linux/.config | grep CONFIG_SYSFB_SIMPLEFB=y
Code:
CONFIG_SYSFB_SIMPLEFB=y


# cat /usr/src/linux/.config | grep CONFIG_FRAMEBUFFER_CONSOLE=*

Code:
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set



No changes in the outcome. Still no higher resolution.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1160
Location: Online

PostPosted: Sat Apr 19, 2025 1:49 pm    Post subject: Reply with quote

Took more than 2 years but got SOLVED

This seems to be the solution along with the drivers version:
cat /usr/src/linux/.config | grep CONFIG_DRM_FBDEV_EMULATION
Code:
CONFIG_DRM_FBDEV_EMULATION=y


Context:

lspci | grep VGA
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1)


uname -a
Code:
Linux X 6.6.62-gentoo #2 SMP PREEMPT_DYNAMIC Fri Apr 18 21:49:33 EDT 2025 x86_64 Intel(R) Core(TM)2 Extreme CPU X9770 @ 3.20GHz GenuineIntel GNU/Linux


emerge -pv nvidia-drivers
Code:
[ebuild   R    ] x11-drivers/nvidia-drivers-570.133.07:0/570::gentoo  USE="X -dist-kernel -kernel-open modules -modules-compress -modules-sign -persistenced -powerd static-libs strip tools -wayland" 0 KiB                                               


lsmod | grep nvidia
Code:
nvidia_uvm           1564672  0
nvidia_drm            102400  12
nvidia_modeset       1482752  12 nvidia_drm
nvidia              89280512  189 nvidia_uvm,nvidia_modeset


cat /usr/src/linux/.config | grep CONFIG_SYSFB_SIMPLEFB
Code:
# CONFIG_SYSFB_SIMPLEFB is not set


cat /usr/src/linux/.config | grep CONFIG_FB_*
Code:
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
CONFIG_FB_UDL=y
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DEVICE=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_SM750 is not set


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 (notably needed for fbdev and wayland).
# Enabling may possibly cause issues with SLI and Reverse PRIME.
options nvidia-drm modeset=1


# Enable experimental framebuffer console support (^ requires modeset=1).
# Replaces efifb or similar once loaded. Note that unloading nvidia modules
# to, e.g. load a new version, would result in losing console display
# (emphasis on being experimental, mode switch could cause issues with X).
#options nvidia-drm fbdev=1

# Enable experimental framebuffer console support (requires modeset=1 above).
# Replaces efifb, simpledrm, or similar once loaded (emphasis on being
# experimental, "may" cause issues X mode switching, sleep, or more).
#options nvidia-drm fbdev=1

# Suspend options. Note that Allocations=1 requires suspend hooks currently
# only used when either systemd or elogind is used to suspend. If using
# neither or have issues, try Allocations=0 (revert if it does not help
# as =0 is not recommended).
options nvidia \
        NVreg_PreserveVideoMemoryAllocations=1 \
        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


Lets see how long it lasts until someone undoes it again.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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