Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimizing, fixing nvidia errors, modset & drm [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Jul 11, 2016 11:21 pm    Post subject: Optimizing, fixing nvidia errors, modset & drm [SOLVED] Reply with quote

Problems:
Nvidia_drm: Unknown symbol errors, Failed to load module "glcore", Falling back to old probe method for modesetting. Unable to modset properly. Unable to use nviia drm

# emerge --info
Code:
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.2
KiB Mem:     8178680 total,    230088 free
KiB Swap:    2048280 total,   2040084 free
Timestamp of repository gentoo: Sun, 10 Jul 2016 07:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage/ebuilds
    sync-type: rsync
    sync-uri: rsync://REPO/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -mtune=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/ /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/sound/events /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--alphabetical --buildpkg=y --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.mcs.anl.gov/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/usr/portage/tmp/"
USE="3dnow X a52 aac acl acpi alsa amd64 apcupsd apic audiofile bluetooth branding bts bzip2 cairo cdr cid clflush cli cmov consolekit constant_tsc cracklib crypt cryptzlib cuda cups cx16 cx8 cxx dbus de dri ds_cpl dtes66 dts dvd dvdr egl emboss encode est exif fam ffmpeg firefox flac fortran fpu ftp fxsr gcrypt gdbm geo geoip gif glamor glx gnutls gpg gphoto2 gpm gstreamer gtk gtk3 ht iconv ipod jpeg jpeg2k lcms libnotify lm mad mca mce mime mmx mmxext mng modules monitor mozilla mp3 mp4 mpeg msr mtrr ncurses nptl nx ogg openal opencl opengl openmp openssl openvg pae pango pat pbe pcre pdf pebs pge png pni policykit ppds pse pse36 quicktime readline scanner sdl seccomp sep session sftp smp spell ss sse sse2 ssh ssl startup-notification syscall syslog tcpd tiff tm truetype tsc udev unicode upower usb v4l vaapi vdpau vme vorbis win32codecs wxwidgets x264 xattr xcb xml xtpr xv xvid xvmc youtube zlib" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel snd-hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard evdev virtualbox" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="canon qcam test" USERLAND="GNU" VIDEO_CARDS="nvidia virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Xorg.0.log
Code:
[    57.855]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[    57.856] X Protocol Version 11, Revision 0
[    57.856] Build Operating System: Linux 3.15.6-aufs-r1 x86_64 Gentoo
[    57.856] Current Operating System: Linux gentrix 4.4.6-gentoo #30 SMP Sun Jul 10 15:16:21 EDT 2016 x86_64
[    57.856] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo-a-dri root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off nvidia.modset=1
[    57.857] Build Date: 14 February 2016  11:30:54AM
[    57.857] 
[    57.858] Current version of pixman: 0.32.8
[    57.858]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    57.858] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    57.860] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 10 17:23:56 2016
[    57.927] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    57.927] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    57.977] (==) ServerLayout "Layout0"
[    57.977] (**) |-->Screen "Screen0" (0)
[    57.977] (**) |   |-->Monitor "Monitor0"
[    57.977] (**) |   |-->Device "Device0"
[    57.977] (**) Option "DontZap" "False"
[    57.977] (**) Option "BlankTime" "10"
[    57.977] (**) Option "StandbyTime" "20"
[    57.977] (**) Option "OffTime" "25"
[    57.978] (**) Option "Xinerama" "0"
[    57.978] (==) Automatically adding devices
[    57.978] (==) Automatically enabling devices
[    57.978] (==) Automatically adding GPU devices
[    58.001] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    58.001]    Entry deleted from font path.
[    58.001] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    58.001]    Entry deleted from font path.
[    58.001] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    58.001]    Entry deleted from font path.
[    58.001]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    58.001] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    58.001]    Entry deleted from font path.
[    58.001]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    58.001] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/
[    58.001] (**) ModulePath set to "/usr/lib32/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[    58.001] (**) Extension "Composite" is enabled
[    58.001] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    58.001] (II) Loader magic: 0x80cc80
[    58.001] (II) Module ABI versions:
[    58.001]    X.Org ANSI C Emulation: 0.4
[    58.001]    X.Org Video Driver: 19.0
[    58.001]    X.Org XInput driver : 21.0
[    58.001]    X.Org Server Extension : 9.0
[    58.004] (--) PCI:*(0:1:0:0) 10de:1380:3842:3753 rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00009c00/128, BIOS @ 0x????????/524288
[    58.004] (WW) "noveau" will not be loaded unless you've specified it to be loaded elsewhere.
[    58.004] (WW) "xinerama" will not be loaded unless you've specified it to be loaded elsewhere.
[    58.004] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    58.004] (II) LoadModule: "glx"
[    58.071] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[    58.732] (II) Module glx: vendor="NVIDIA Corporation"
[    58.732]    compiled for 4.0.2, module version = 1.0.0
[    58.732]    Module class: X.Org Server Extension
[    58.741] (II) NVIDIA GLX Module  367.27  Thu Jun  9 18:19:55 PDT 2016
[    58.752] (II) LoadModule: "extmod"
[    58.752] (II) Module "extmod" already built-in
[    58.752] (II) LoadModule: "record"
[    58.752] (II) Module "record" already built-in
[    58.752] (II) LoadModule: "dbe"
[    58.752] (II) Module "dbe" already built-in
[    58.752] (II) LoadModule: "dri"
[    58.752] (II) Module "dri" already built-in
[    58.752] (II) LoadModule: "dri2"
[    58.752] (II) Module "dri2" already built-in
[    58.752] (II) LoadModule: "glcore"
[    58.789] (WW) Warning, couldn't open module glcore
[    58.789] (II) UnloadModule: "glcore"
[    58.789] (II) Unloading glcore
[    58.789] (EE) Failed to load module "glcore" (module does not exist, 0)
[    58.789] (II) LoadModule: "modesetting"
[    58.789] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    58.805] (II) Module modesetting: vendor="X.Org Foundation"
[    58.805]    compiled for 1.17.4, module version = 1.17.4
[    58.805]    Module class: X.Org Video Driver
[    58.805]    ABI class: X.Org Video Driver, version 19.0
[    58.805] (II) LoadModule: "nvidia"
[    58.806] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    58.957] (II) Module nvidia: vendor="NVIDIA Corporation"
[    58.957]    compiled for 4.0.2, module version = 1.0.0
[    58.957]    Module class: X.Org Video Driver
[    58.964] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    58.964] (II) NVIDIA dlloader X Driver  367.27  Thu Jun  9 17:57:30 PDT 2016
[    58.964] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    58.965] (--) using VT number 11

[    58.972] (WW) Falling back to old probe method for modesetting
[    58.983] (II) Loading sub module "fb"
[    58.983] (II) LoadModule: "fb"
[    58.983] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    58.996] (II) Module fb: vendor="X.Org Foundation"
[    58.996]    compiled for 1.17.4, module version = 1.0.0
[    58.996]    ABI class: X.Org ANSI C Emulation, version 0.4
[    58.996] (II) Loading sub module "wfb"
[    58.996] (II) LoadModule: "wfb"
[    58.997] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    59.037] (II) Module wfb: vendor="X.Org Foundation"
[    59.037]    compiled for 1.17.4, module version = 1.0.0
[    59.037]    ABI class: X.Org ANSI C Emulation, version 0.4
[    59.037] (II) Loading sub module "ramdac"
[    59.037] (II) LoadModule: "ramdac"
[    59.037] (II) Module "ramdac" already built-in
[    59.111] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    59.111] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    59.112] (==) NVIDIA(0): RGB weight 888
[    59.112] (==) NVIDIA(0): Default visual is TrueColor
[    59.112] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    59.113] (**) NVIDIA(0): Option "NoLogo" "true"
[    59.113] (**) NVIDIA(0): Option "Stereo" "0"
[    59.113] (**) NVIDIA(0): Option "SWcursor" "false"
[    59.113] (**) NVIDIA(0): Option "HWcursor" "true"
[    59.113] (**) NVIDIA(0): Option "RenderAccel" "true"
[    59.113] (**) NVIDIA(0): Option "UseEdidDpi" "true"
[    59.113] (**) NVIDIA(0): Option "SLI" "Off"
[    59.113] (**) NVIDIA(0): Option "MultiGPU" "Single"
[    59.113] (**) NVIDIA(0): Option "ProbeAllGpus" "true"
[    59.113] (**) NVIDIA(0): Option "ConnectToAcpid" "true"
[    59.113] (**) NVIDIA(0): Option "AllowUnofficialGLXProtocol" "false"
[    59.113] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "false"
[    59.113] (**) NVIDIA(0): Option "BaseMosaic" "Off"
[    59.113] (**) NVIDIA(0): Stereo disabled by request
[    59.114] (**) NVIDIA(0): Enabling RENDER acceleration
[    59.114] (**) NVIDIA(0): NVIDIA SLI disabled.
[    59.114] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    59.114] (**) NVIDIA(0): Option "UseEDID" "true"
[    59.114] (**) NVIDIA(0): Option "Coolbits" "1"
[    59.114] (**) NVIDIA(0): Option "MetaModes" "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1: 1920x1080_60 +0+0"
[    59.114] (**) NVIDIA(0): Enabling 2D acceleration
[    59.243] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    59.243] (--) NVIDIA(0):     CRT-0
[    59.243] (--) NVIDIA(0):     DFP-0 (boot)
[    59.243] (--) NVIDIA(0):     DFP-1
[    59.243] (--) NVIDIA(0):     DFP-2
[    59.243] (--) NVIDIA(0):     DFP-3
[    59.249] (--) NVIDIA(0): CRT-0: disconnected
[    59.249] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[    59.249] (--) NVIDIA(0):
[    59.262] (--) NVIDIA(0): AOC 2236 (DFP-0): connected
[    59.262] (--) NVIDIA(0): AOC 2236 (DFP-0): Internal TMDS
[    59.262] (--) NVIDIA(0): AOC 2236 (DFP-0): 330.0 MHz maximum pixel clock
[    59.262] (--) NVIDIA(0):
[    59.263] (--) NVIDIA(0): DFP-1: disconnected
[    59.263] (--) NVIDIA(0): DFP-1: Internal TMDS
[    59.263] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[    59.263] (--) NVIDIA(0):
[    59.263] (--) NVIDIA(0): DFP-2: disconnected
[    59.263] (--) NVIDIA(0): DFP-2: Internal TMDS
[    59.263] (--) NVIDIA(0): DFP-2: 165.0 MHz maximum pixel clock
[    59.263] (--) NVIDIA(0):
[    59.263] (--) NVIDIA(0): DFP-3: disconnected
[    59.263] (--) NVIDIA(0): DFP-3: Internal DisplayPort
[    59.263] (--) NVIDIA(0): DFP-3: 960.0 MHz maximum pixel clock
[    59.263] (--) NVIDIA(0):
[    59.266] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 Ti (GM107-A) at PCI:1:0:0 (GPU-0)
[    59.266] (--) NVIDIA(0): Memory: 2097152 kBytes
[    59.266] (--) NVIDIA(0): VideoBIOS: 82.07.32.00.50
[    59.266] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    59.266] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    59.266] (**) NVIDIA(0):     device AOC 2236 (DFP-0) (Using EDID frequencies has been
[    59.266] (**) NVIDIA(0):     enabled on all display devices.)
[    59.271] (II) NVIDIA(0): Validated MetaModes:
[    59.271] (II) NVIDIA(0):   
[    59.271] (II) NVIDIA(0):     "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1:1920x1080_60+0+0"
[    59.271] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    59.298] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[    59.298] (--) NVIDIA(0):     option
[    59.298] (II) UnloadModule: "modesetting"
[    59.298] (II) Unloading modesetting
[    59.298] (--) Depth 24 pixmap format is 32 bpp
[    59.300] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
[    59.300] (II) NVIDIA:     access.
[    59.387] (II) NVIDIA(0): Setting mode "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1:1920x1080_60+0+0"
[    59.481] (==) NVIDIA(0): Disabling shared memory pixmaps
[    59.481] (==) NVIDIA(0): Backing store enabled
[    59.481] (==) NVIDIA(0): Silken mouse enabled
[    59.483] (**) NVIDIA(0): DPMS enabled
[    59.484] (WW) NVIDIA(0): Option "EDID" is not used
[    59.484] (WW) NVIDIA(0): Option "UUID" is not used
[    59.484] (WW) NVIDIA(0): Option "TwinView" is not used
[    59.484] (WW) NVIDIA(0): Option "DRI" is not used
[    59.484] (WW) NVIDIA(0): Option "AllowDDCCI" is not used
[    59.484] (WW) NVIDIA(0): Option "VideoRam" is not used
[    59.484] (WW) NVIDIA(0): Option "PerformanceMonitorMode" is not used
[    59.484] (II) Loading sub module "dri2"
[    59.484] (II) LoadModule: "dri2"
[    59.484] (II) Module "dri2" already built-in
[    59.484] (II) NVIDIA(0): [DRI2] Setup complete
[    59.484] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    59.484] (--) RandR disabled
[    59.492] (II) Initializing extension GLX
[    59.492] (II) Indirect GLX disabled.
[    59.994] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event1)
[    59.994] (**) HDA NVidia HDMI: Applying InputClass "keyboard0"
[    59.994] (II) LoadModule: "evdev"
[    59.995] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    60.055] (II) Module evdev: vendor="X.Org Foundation"
[    60.055]    compiled for 1.17.4, module version = 2.9.2
[    60.055]    Module class: X.Org XInput Driver
[    60.055]    ABI class: X.Org XInput driver, version 21.0
[    60.055] (II) Using input driver 'evdev' for 'HDA NVidia HDMI'
[    60.055] (**) HDA NVidia HDMI: always reports core events
[    60.055] (**) evdev: HDA NVidia HDMI: Device: "/dev/input/event1"
[    60.055] (--) evdev: HDA NVidia HDMI: Vendor 0 Product 0
[    60.055] (WW) evdev: HDA NVidia HDMI: Don't know how to use device
[    60.060] (EE) PreInit returned 8 for "HDA NVidia HDMI"
[    60.060] (II) UnloadModule: "evdev"
[    60.060] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event2)
[    60.060] (**) HDA NVidia HDMI: Applying InputClass "keyboard0"
[    60.060] (II) Using input driver 'evdev' for 'HDA NVidia HDMI'
[    60.060] (**) HDA NVidia HDMI: always reports core events
[    60.060] (**) evdev: HDA NVidia HDMI: Device: "/dev/input/event2"
[    60.061] (--) evdev: HDA NVidia HDMI: Vendor 0 Product 0
[    60.061] (WW) evdev: HDA NVidia HDMI: Don't know how to use device
[    60.066] (EE) PreInit returned 8 for "HDA NVidia HDMI"
[    60.066] (II) UnloadModule: "evdev"
[    60.067] (II) config/udev: Adding input device UVC Camera (046d:0990) (/dev/input/event3)
[    60.067] (**) UVC Camera (046d:0990): Applying InputClass "evdev keyboard catchall"
[    60.067] (**) UVC Camera (046d:0990): Applying InputClass "keyboard0"
[    60.067] (II) Using input driver 'evdev' for 'UVC Camera (046d:0990)'
[    60.067] (**) UVC Camera (046d:0990): always reports core events
[    60.067] (**) evdev: UVC Camera (046d:0990): Device: "/dev/input/event3"
[    60.067] (--) evdev: UVC Camera (046d:0990): Vendor 0x46d Product 0x990
[    60.067] (--) evdev: UVC Camera (046d:0990): Found keys
[    60.067] (II) evdev: UVC Camera (046d:0990): Configuring as keyboard
[    60.067] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.1/1-5.1:1.0/input/input6/event3"
[    60.067] (II) XINPUT: Adding extended input device "UVC Camera (046d:0990)" (type: KEYBOARD, id 6)
[    60.067] (**) Option "xkb_rules" "evdev"
[    60.067] (**) Option "xkb_model" "logitech_base"
[    60.067] (**) Option "xkb_layout" "us_intl"
[    60.067] (**) Option "xkb_variant" "qwerty,euro"
[    60.067] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    60.106] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event4)
[    60.106] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
[    60.106] (**) HID 04d9:1400: Applying InputClass "keyboard0"
[    60.106] (II) Using input driver 'evdev' for 'HID 04d9:1400'
[    60.106] (**) HID 04d9:1400: always reports core events
[    60.106] (**) evdev: HID 04d9:1400: Device: "/dev/input/event4"
[    60.106] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
[    60.106] (--) evdev: HID 04d9:1400: Found keys
[    60.106] (II) evdev: HID 04d9:1400: Configuring as keyboard
[    60.106] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4/1-5.4:1.0/0003:04D9:1400.0001/input/input7/event4"
[    60.106] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 7)
[    60.106] (**) Option "xkb_rules" "evdev"
[    60.106] (**) Option "xkb_model" "logitech_base"
[    60.106] (**) Option "xkb_layout" "us_intl"
[    60.106] (**) Option "xkb_variant" "qwerty,euro"
[    60.106] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    60.108] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event5)
[    60.108] (**) HID 04d9:1400: Applying InputClass "evdev pointer catchall"
[    60.108] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
[    60.108] (**) HID 04d9:1400: Applying InputClass "keyboard0"
[    60.108] (II) Using input driver 'evdev' for 'HID 04d9:1400'
[    60.108] (**) HID 04d9:1400: always reports core events
[    60.108] (**) evdev: HID 04d9:1400: Device: "/dev/input/event5"
[    60.108] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
[    60.108] (--) evdev: HID 04d9:1400: Found 9 mouse buttons
[    60.108] (--) evdev: HID 04d9:1400: Found scroll wheel(s)
[    60.108] (--) evdev: HID 04d9:1400: Found relative axes
[    60.108] (--) evdev: HID 04d9:1400: Found x and y relative axes
[    60.108] (--) evdev: HID 04d9:1400: Found keys
[    60.108] (II) evdev: HID 04d9:1400: Configuring as mouse
[    60.108] (II) evdev: HID 04d9:1400: Configuring as keyboard
[    60.108] (II) evdev: HID 04d9:1400: Adding scrollwheel support
[    60.108] (**) evdev: HID 04d9:1400: YAxisMapping: buttons 4 and 5
[    60.108] (**) evdev: HID 04d9:1400: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    60.108] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4/1-5.4:1.1/0003:04D9:1400.0002/input/input8/event5"
[    60.108] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 8)
[    60.108] (**) Option "xkb_rules" "evdev"
[    60.108] (**) Option "xkb_model" "logitech_base"
[    60.108] (**) Option "xkb_layout" "us_intl"
[    60.109] (**) Option "xkb_variant" "qwerty,euro"
[    60.109] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    60.109] (II) evdev: HID 04d9:1400: initialized for relative axes.
[    60.109] (**) HID 04d9:1400: (accel) keeping acceleration scheme 1
[    60.109] (**) HID 04d9:1400: (accel) acceleration profile 0
[    60.109] (**) HID 04d9:1400: (accel) acceleration factor: 2.000
[    60.109] (**) HID 04d9:1400: (accel) acceleration threshold: 4
[    60.110] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/mouse0)
[    60.110] (**) HID 04d9:1400: Applying InputClass "keyboard0"
[    60.110] (II) Using input driver 'evdev' for 'HID 04d9:1400'
[    60.110] (**) HID 04d9:1400: always reports core events
[    60.110] (**) evdev: HID 04d9:1400: Device: "/dev/input/mouse0"
[    60.111] (EE) evdev: HID 04d9:1400: Unable to query fd: Inappropriate ioctl for device
[    60.115] (EE) PreInit returned 2 for "HID 04d9:1400"
[    60.115] (II) UnloadModule: "evdev"
[    60.116] (II) config/udev: Adding input device HID 1241:1166 (/dev/input/event6)
[    60.116] (**) HID 1241:1166: Applying InputClass "evdev pointer catchall"
[    60.116] (**) HID 1241:1166: Applying InputClass "keyboard0"
[    60.116] (II) Using input driver 'evdev' for 'HID 1241:1166'
[    60.116] (**) HID 1241:1166: always reports core events
[    60.116] (**) evdev: HID 1241:1166: Device: "/dev/input/event6"
[    60.116] (--) evdev: HID 1241:1166: Vendor 0x1241 Product 0x1166
[    60.116] (--) evdev: HID 1241:1166: Found 9 mouse buttons
[    60.116] (--) evdev: HID 1241:1166: Found scroll wheel(s)
[    60.116] (--) evdev: HID 1241:1166: Found relative axes
[    60.116] (--) evdev: HID 1241:1166: Found x and y relative axes
[    60.116] (II) evdev: HID 1241:1166: Configuring as mouse
[    60.116] (II) evdev: HID 1241:1166: Adding scrollwheel support
[    60.116] (**) evdev: HID 1241:1166: YAxisMapping: buttons 4 and 5
[    60.116] (**) evdev: HID 1241:1166: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    60.116] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/0003:1241:1166.0003/input/input9/event6"
[    60.116] (II) XINPUT: Adding extended input device "HID 1241:1166" (type: MOUSE, id 9)
[    60.116] (II) evdev: HID 1241:1166: initialized for relative axes.
[    60.117] (**) HID 1241:1166: (accel) keeping acceleration scheme 1
[    60.117] (**) HID 1241:1166: (accel) acceleration profile 0
[    60.117] (**) HID 1241:1166: (accel) acceleration factor: 2.000
[    60.117] (**) HID 1241:1166: (accel) acceleration threshold: 4
[    60.118] (II) config/udev: Adding input device HID 1241:1166 (/dev/input/mouse1)
[    60.118] (**) HID 1241:1166: Applying InputClass "keyboard0"
[    60.118] (II) Using input driver 'evdev' for 'HID 1241:1166'
[    60.118] (**) HID 1241:1166: always reports core events
[    60.118] (**) evdev: HID 1241:1166: Device: "/dev/input/mouse1"
[    60.118] (EE) evdev: HID 1241:1166: Unable to query fd: Inappropriate ioctl for device
[    60.126] (EE) PreInit returned 2 for "HID 1241:1166"
[    60.126] (II) UnloadModule: "evdev"
[    60.126] (II) config/udev: Adding input device PC Speaker (/dev/input/event0)
[    60.126] (**) PC Speaker: Applying InputClass "keyboard0"
[    60.126] (II) Using input driver 'evdev' for 'PC Speaker'
[    60.126] (**) PC Speaker: always reports core events
[    60.126] (**) evdev: PC Speaker: Device: "/dev/input/event0"
[    60.126] (--) evdev: PC Speaker: Vendor 0x1f Product 0x1
[    60.126] (WW) evdev: PC Speaker: Don't know how to use device
[    60.138] (EE) PreInit returned 8 for "PC Speaker"
[    60.138] (II) UnloadModule: "evdev"
[    90.839] (II) NVIDIA(0): Setting mode "DVI-I-1:1680x1050"
[   640.536] (II) NVIDIA(0): Setting mode "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1:1920x1080_60+0+0"
[   970.844] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   970.844] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   970.844] (--) NVIDIA(GPU-0):
[   970.865] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): connected
[   970.865] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): Internal TMDS
[   970.866] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): 330.0 MHz maximum pixel clock
[   970.866] (--) NVIDIA(GPU-0):
[   970.866] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   970.867] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   970.867] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   970.867] (--) NVIDIA(GPU-0):
[   970.868] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   970.868] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   970.868] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   970.868] (--) NVIDIA(GPU-0):
[   970.868] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   970.868] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   970.868] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock



# modprobe nvidia-drm
Code:
modprobe: ERROR: could not insert 'nvidia_drm': Unknown symbol in module, or unknown parameter (see dmesg)
 # ls /lib64/modules/4.4.6-gentoo/video/
  nvidia-drm.ko  nvidia.ko  nvidia-modeset.ko  nvidia-uvm.ko


# dmesg | grep nvidia
Code:
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo-a-dri root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off nvidia.modset=1
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo-a-dri root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off nvidia.modset=1
[    7.523313] nvidia: module license 'NVIDIA' taints kernel.
[    7.560811] nvidia: unknown parameter 'modset' ignored
[    7.564910] nvidia-nvlink: Nvlink Core is being initialized, major device number 248
[    7.689873] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  367.27  Thu Jun  9 18:24:10 PDT 2016
[    7.697163] nvidia_drm: Unknown symbol drm_atomic_helper_plane_destroy_state (err 0)
[    7.697172] nvidia_drm: Unknown symbol drm_kms_helper_poll_fini (err 0)
[    7.697178] nvidia_drm: Unknown symbol drm_kms_helper_poll_disable (err 0)
[    7.697183] nvidia_drm: Unknown symbol drm_kms_helper_poll_init (err 0)
[    7.697192] nvidia_drm: Unknown symbol drm_atomic_helper_disable_plane (err 0)
[    7.697199] nvidia_drm: Unknown symbol drm_atomic_helper_cleanup_planes (err 0)
[    7.697204] nvidia_drm: Unknown symbol drm_helper_hpd_irq_event (err 0)
[    7.697212] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_destroy_state (err 0)
[    7.697224] nvidia_drm: Unknown symbol drm_atomic_helper_connector_dpms (err 0)
[    7.697238] nvidia_drm: Unknown symbol drm_atomic_helper_check (err 0)
[    7.697243] nvidia_drm: Unknown symbol drm_atomic_helper_connector_destroy_state (err 0)
[    7.697250] nvidia_drm: Unknown symbol drm_atomic_helper_plane_duplicate_state (err 0)
[    7.697278] nvidia_drm: Unknown symbol drm_atomic_helper_plane_reset (err 0)
[    7.697282] nvidia_drm: Unknown symbol drm_atomic_helper_prepare_planes (err 0)
[    7.697288] nvidia_drm: Unknown symbol drm_helper_mode_fill_fb_struct (err 0)
[    7.697300] nvidia_drm: Unknown symbol drm_atomic_helper_set_config (err 0)
[    7.697305] nvidia_drm: Unknown symbol drm_atomic_helper_connector_duplicate_state (err 0)
[    7.697313] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_reset (err 0)
[    7.697320] nvidia_drm: Unknown symbol drm_kms_helper_hotplug_event (err 0)
[    7.697332] nvidia_drm: Unknown symbol drm_atomic_helper_swap_state (err 0)
[    7.697338] nvidia_drm: Unknown symbol drm_atomic_helper_page_flip (err 0)
[    7.697341] nvidia_drm: Unknown symbol drm_atomic_helper_connector_reset (err 0)
[    7.697346] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_duplicate_state (err 0)
[    7.697350] nvidia_drm: Unknown symbol drm_atomic_helper_update_plane (err 0)
[   10.101094] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 247
[   10.151162] nvidia_drm: Unknown symbol drm_atomic_helper_plane_destroy_state (err 0)
[   10.151171] nvidia_drm: Unknown symbol drm_kms_helper_poll_fini (err 0)
[   10.151178] nvidia_drm: Unknown symbol drm_kms_helper_poll_disable (err 0)
[   10.151183] nvidia_drm: Unknown symbol drm_kms_helper_poll_init (err 0)
[   10.151192] nvidia_drm: Unknown symbol drm_atomic_helper_disable_plane (err 0)
[   10.151199] nvidia_drm: Unknown symbol drm_atomic_helper_cleanup_planes (err 0)
[   10.151204] nvidia_drm: Unknown symbol drm_helper_hpd_irq_event (err 0)
[   10.151212] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_destroy_state (err 0)
[   10.151225] nvidia_drm: Unknown symbol drm_atomic_helper_connector_dpms (err 0)
[   10.151240] nvidia_drm: Unknown symbol drm_atomic_helper_check (err 0)
[   10.151245] nvidia_drm: Unknown symbol drm_atomic_helper_connector_destroy_state (err 0)
[   10.151251] nvidia_drm: Unknown symbol drm_atomic_helper_plane_duplicate_state (err 0)
[   10.151281] nvidia_drm: Unknown symbol drm_atomic_helper_plane_reset (err 0)
[   10.151286] nvidia_drm: Unknown symbol drm_atomic_helper_prepare_planes (err 0)
[   10.151292] nvidia_drm: Unknown symbol drm_helper_mode_fill_fb_struct (err 0)
[   10.151305] nvidia_drm: Unknown symbol drm_atomic_helper_set_config (err 0)
[   10.151310] nvidia_drm: Unknown symbol drm_atomic_helper_connector_duplicate_state (err 0)
[   10.151318] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_reset (err 0)
[   10.151325] nvidia_drm: Unknown symbol drm_kms_helper_hotplug_event (err 0)
[   10.151338] nvidia_drm: Unknown symbol drm_atomic_helper_swap_state (err 0)
[   10.151343] nvidia_drm: Unknown symbol drm_atomic_helper_page_flip (err 0)
[   10.151346] nvidia_drm: Unknown symbol drm_atomic_helper_connector_reset (err 0)
[   10.151352] nvidia_drm: Unknown symbol drm_atomic_helper_crtc_duplicate_state (err 0)
[   10.151356] nvidia_drm: Unknown symbol drm_atomic_helper_update_plane (err 0)
[   59.128891] nvidia-modeset: Allocated GPU:0 (GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c) @ PCI:0000:01:00.0


# emerge -pv nvidia-drivers

Code:
These are the packages that would be merged, in order:

Calculating dependencies                 ... done!                      us_intl
[ebuild   R   ~] x11-drivers/nvidia-drivers-367.27:0/367::gentoo  USE="X acpi -compat driver gtk3 kms multilib -pax_kernel -static-libs tools uvm -wayland" 0 KiB


# ls /usr/share/X11/xorg.conf.d/
Code:
10-evdev.conf  10-quirks.conf  20opengl.conf  30-keyboard.conf  50-nvidia-drm-outputclass.conf  50-vboxmouse.conf


# cat /usr/share/X11/xorg.conf.d/50-nvidia-drm-outputclass.conf
Code:
# This xorg.conf.d configuration snippet configures the X server to
# automatically load the nvidia X driver when it detects a device driven by the
# nvidia-drm.ko kernel module.  Please note that this only works on Linux kernels
# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
# kernel module is loaded before the X server is started.

Section "OutputClass"
    Identifier     "nvidia"
    MatchDriver    "nvidia-drm"
    Driver         "nvidia"
EndSection


# cat /usr/share/X11/xorg.conf.d/20opengl.conf
Code:
Section "Files"
   ModulePath "/usr/lib32/xorg/modules"
   ModulePath "/usr/lib64/opengl/nvidia"
   ModulePath "/usr/lib64/xorg/modules"
EndSection


# ls /etc/X11/xorg.conf.d/
Code:
extentions.conf  modules.conf  monitor.conf  screen.conf  server-flags.conf  server-layout.conf  videocard.conf


Xorg configuration files:

Code:
Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Section "Module"
    Load   "glx"
    Load   "extmod"
    Load   "record"
    Load   "dbe"
    Load   "dri"
    Load   "dri2"
    Load   "GLCore"
    Load   "drm"
    Load   "modesetting"
    Disable   "noveau"
    Disable   "xinerama"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "AOC"
    ModelName      "AOC 2236"
    HorizSync       30.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1: 1920x1080_60 +0+0"
    Option         "SLI" "Off"
    Option         "BaseMosaic" "Off"
    SubSection     "Display"
   Depth       24
    EndSubSection
EndSection

Section "ServerFlags"
    Option         "Xinerama"    "Off"
    Option         "BlankTime"    "10"
    Option         "StandbyTime" "20"
    Option         "OffTime"    "25"
    Option        "DontZap"    "False"
EndSection

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Option         "Xinerama" "0"
EndSection

# ftp://download.nvidia.com/XFree86/Linux-x86/340.65/README/
# http://us.download.nvidia.com/XFree86/Linux-x86/173.14.12/README/appendix-b.html

Section "Device"
    Identifier   "Device0"
    Driver   "nvidia"
    VendorName   "NVIDIA Corporation"
    BoardName   "GeForce GTX 750 Ti"
    BusID       "PCI:1:0:0"
    Screen       0
    Option      "UseEDID"   "true"
    Option   "EDID"      "AOC 2236"
    Option   "UUID"      "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c"
    Option      "RenderAccel"   "true"
    Option   "TwinView"   "false"
    Option      "Coolbits"   "1"
    Option   "NoLogo"   "true"
    Option      "DRI"      "true"
    Option   "AllowDDCCI"   "true"
    Option   "SWCursor"   "false"
    Option   "HWCursor"   "true"
    Option   "ProbeAllGpus"   "true"
    Option   "UseEdidDpi"   "true"
    Option   "UseEDID"   "true"
    Option   "Stereo"   "0"
    Option      "MultiGPU"   "Single"
    Option   "VideoRam"   "65536"
    Option      "ConnectToAcpid" "true"
    Option   "PerformanceMonitorMode" "true"
    Option   "AllowIndirectGLXProtocol" "false"
    Option   "AllowUnofficialGLXProtocol" "false"
EndSection


Kernel:

# cat /usr/src/linux/.config| grep DRM
Code:
CONFIG_DRM=y
# CONFIG_DRM_FBDEV_EMULATION is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
CONFIG_DRM_BRIDGE=y


# cat /usr/src/linux/.config| grep FB
Code:
# CONFIG_X86_SYSFB is not set
# CONFIG_DRM_FBDEV_EMULATION is not set
# CONFIG_FB is not set
CONFIG_FB_CMDLINE=y


# cat /boot/grub/grub.cfg | grep vmlinuz
Code:
linux   /vmlinuz-4.4.6-gentoo-a-dri root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off
      linux   /vmlinuz-4.4.6-gentoo-a-dri root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off
      linux   /vmlinuz-4.4.6-gentoo-2iommu root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off
      linux   /vmlinuz-4.4.6-gentoo.old root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off
      linux   /vmlinuz-4.4.6-bak-safe root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off
      linux   /vmlinuz-4 root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off


# cat /etc/conf.d/modules | grep nvidia
Quote:
modules="sky2 nvidia nvidia-uvm nvidia-modeset nvidia-drm vboxdrv vboxpci vboxnetadp vboxnetflt mac80211 cfg80211 batman-adv ath9k_common ath9k_hw ath9k_htc ath"


# lsmod | grep nvidia
Code:
nvidia_uvm            531734  0
nvidia_modeset        736601  3
nvidia              11026716  104 nvidia_modeset,nvidia_uvm
RenderAccel

# glxgears
Code:
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
300 frames in 5.0 seconds = 59.957 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.998 FPS


# glxinfo | grep direct
Code:
direct rendering: Yes
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
    GL_ARB_direct_state_access, GL_ARB_draw_buffers,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_NV_ES3_1_compatibility, GL_NV_bindless_multi_draw_indirect,
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
    GL_ARB_direct_state_access, GL_ARB_draw_buffers,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_NV_ES3_1_compatibility, GL_NV_bindless_multi_draw_indirect,
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
    GL_EXT_map_buffer_range, GL_EXT_multi_draw_indirect,

_________________
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 Thu Sep 15, 2016 4:15 am; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Tue Jul 12, 2016 12:55 am    Post subject: Reply with quote

Try selecting CONFIG_DRM_KMS_HELPER and CONFIG_DRM_KMS_FB_HELPER. Also maybe CONFIG_DRM_FBDEV_EMULATION
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Jul 13, 2016 5:32 am    Post subject: Reply with quote

@jburns
Your solution worked to solve those errors. Thank you.

# cat /usr/src/linux/.config| grep DRM
Code:
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_BRIDGE=y


# dmesg | grep nvidia
Code:
[    7.276342] nvidia: module license 'NVIDIA' taints kernel.
[    7.310376] nvidia-nvlink: Nvlink Core is being initialized, major device number 248
[    7.364150] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  367.27 
[    7.365851] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    9.203282] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 247
[   92.742367] nvidia-modeset: Allocated GPU:0 (GPU-7d671082-9a7c-9bd4-ad6a-a927d954aa6c) @ PCI:0000:01:00.0



# lsmod | grep nvidia
Code:
nvidia_uvm            531734  0
nvidia_drm             29621  1
nvidia_modeset        736601  3 nvidia_drm
nvidia              11026716  57 nvidia_modeset,nvidia_uvm


# cat /var/log/Xorg.0.log| grep drm
Code:
[    91.727] (II) xfree86: Adding drm device (/dev/dri/card0)


A few other errors that i am not sure how to solve still remain:

# cat /var/log/Xorg.0.log| grep WW
Code:
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    92.665] (WW) Falling back to old probe method for modesetting

[    92.714] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

[    93.637] (WW) evdev: HDA NVidia HDMI: Don't know how to use device
[    93.645] (WW) evdev: HDA NVidia HDMI: Don't know how to use device
[    93.712] (WW) evdev: PC Speaker: Don't know how to use device


For VGA arbiter, i lack the kernel support CONFIG_VGA_ARB but how is that going to do anything when there is only one GPU ?

Quote:
VGA Arbiter
===========

Graphic devices are accessed through ranges in I/O or memory space. While most
modern devices allow relocation of such ranges, some "Legacy" VGA devices
implemented on PCI will typically have the same "hard-decoded" addresses as
they did on ISA. For more details see "PCI Bus Binding to IEEE Std 1275-1994
Standard for Boot (Initialization Configuration) Firmware Revision 2.1"
Section 7, Legacy Devices.

The Resource Access Control (RAC) module inside the X server [0] existed for
the legacy VGA arbitration task (besides other bus management tasks) when more
than one legacy device co-exists on the same machine. But the problem happens
when these devices are trying to be accessed by different userspace clients
(e.g. two server in parallel). Their address assignments conflict. Moreover,
ideally, being a userspace application, it is not the role of the X server to
control bus resources. Therefore an arbitration scheme outside of the X server
is needed to control the sharing of these resources. This document introduces
the operation of the VGA arbiter implemented for the Linux kernel.



# cat /proc/asound/cards
Code:
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe6fc000 irq 17


This topic does not help. https://forums.gentoo.org/viewtopic-t-827888-start-0.html

# lspci -k
Code:
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
   Subsystem: eVga.com. Corp. Device 3753
   Kernel driver in use: snd_hda_intel

_________________
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 Mon Sep 12, 2016 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Thu Jul 14, 2016 4:21 pm    Post subject: Reply with quote

Code:
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=1


Solved the (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support error

Bellow, \cCan be tweaked with some custom xorg input class
Code:
(WW) evdev: HDA NVidia HDMI: Don't know how to use device


And now i am still stuck with:
Code:
(WW) Falling back to old probe method for modesetting


x11-drivers/nvidia-drivers-367.27

Code:
Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gremlin-sources root=/dev/sda3 ro ahci.marvell_enable=0 net.ifnames=0 pcie_aspm=off nvidia_drm.modeset=0


Code:
[    68.667] (**) ModulePath set to "/usr/lib32/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[    68.734] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[    69.441] (II) LoadModule: "nvidia"
[    69.441] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    69.558] (II) Module nvidia: vendor="NVIDIA Corporation"
[    70.004] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia


Code:
[    69.395] (II) LoadModule: "modesetting"
[    69.427] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    69.441] (II) Module modesetting: vendor="X.Org Foundation"
[    69.567] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    69.574] (WW) Falling back to old probe method for modesetting
[    69.913] (II) NVIDIA(0): Setting mode "GPU-7c671092-9b7c-9bd4-ad6a-a927d978aa6c.DVI-I-1:1920x1080_60+0+0"


Xorg.conf

Code:
Section "Device"
    Identifier   "Device0"
    Driver   "nvidia"
    VendorName   "NVIDIA Corporation"
    BoardName   "GeForce GTX 750 Ti"
    BusID       "PCI:1:0:0"
    .....


If i set nvidia_drm.modeset=1 to activate it at boot time, when i startx, X does not start and i get no screens found

Does the driver name need to be changed ?

dmesg
Code:
[    7.714389] nvidia: module license 'NVIDIA' taints kernel.
[    7.747241] nvidia-nvlink: Nvlink Core is being initialized, major device number 248
[    7.796220] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  367.27  Thu Jun  9 18:24:10 PDT 2016
[    7.798153] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   10.211357] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 247
[   69.666395] nvidia-modeset: Allocated GPU:0 (GPU-7c6710342-3b7c-9b54-ad65-a9276971aa6c) @ PCI:0000:01:00.0



# lsmod | grep nvidia
Code:
nvidia_uvm            531734  0
nvidia_drm             29621  1
nvidia_modeset        736601  3 nvidia_drm
nvidia              11026844  57 nvidia_modeset,nvidia_uvm


I've made modules and modules install every time as needed.
_________________
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: 1159
Location: Online

PostPosted: Mon Aug 15, 2016 1:31 am    Post subject: [drm] No driver support for vblank timestamp query Reply with quote

upgraded to nvidia-drivers 367.35-r1
https://devtalk.nvidia.com/default/topic/950630/unix-graphics-announcements-and-news/linux-solaris-and-freebsd-driver-367-35-long-lived-branch-release-/

Quote:
Release highlights since 367.27:
Fixed a regression that could cause console corruption when resuming from suspend.
Improved buffer write performance of the nvidia-drm DRM KMS driver by using write-combined DRM Dumb Buffers where available.
Fixed a bug that caused X to crash when applying changes to the RandR CscMatrix property while VT-switched away from X.
Fixed a bug that caused a crash when exiting nvidia-settings on displays with 8 or 15 bit color depths.
Added support for querying clock values on Pascal GPUs.
Removed the Base Mosaic configuration option from nvidia-settings on systems where the feature is not actually supported.
Fixed a bug that caused nvidia-smi to report an inaccurate version number.
Fixed a bug that prevented nvidia-bug-report.sh from finding relevant messages in kernel log files.
Added /var/log/dmesg to the list of paths which are searched by nvidia-bug-report.sh for kernel messages.


Stuck at the moment with the following while loading modset with drm:

modprobe -r nvidia_drm; modprobe nvidia_drm modeset=1

or:

4. add options nvidia_drm modeset=1 to /etc/modprobe.d/nvidia.conf

or adding nvidia_drm.modeset=1 to kernel boot parameters

Results in the following:

Code:
[ 3949.143149] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 3949.143665] nvidia-modeset: Allocated GPU:0 (GPU-...................) @ PCI:0000:01:00.0
[ 3949.292382] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3949.292387] [drm] No driver support for vblank timestamp query.


When starting X:

Code:

[  4045.471] (II) modeset(G0): using drv /dev/dri/card0
[  4045.471] (EE) No devices detected.
[  4045.471] (EE) Fatal server error:
[  4045.471] (EE) no screens found(EE)
[  4045.471] (EE)


Problem seems to be [drm] No driver support for vblank timestamp query and the web does not help that much.

http://us.download.nvidia.com/XFree86/Linux-x86_64/364.19/README/kms.html

Code:
#  cat /usr/src/linux/.config| grep CONFIG_DRM
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
CONFIG_DRM_BRIDGE=y


Code:
# hwinfo --gfxcard

Code:
22: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.318]
  Unique ID: VCu0.UhMN+4kVS20
  Parent ID: vSkL.DMkYIFFK_KC
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia VGA compatible controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1380
  SubVendor: pci 0x3842 "eVga.com. Corp."
  SubDevice: pci 0x3753
  Revision: 0xa2
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xce000000-0xcfffffff (ro,non-prefetchable)
  I/O Ports: 0x9c00-0x9c7f (rw)
  Memory Range: 0xfe600000-0xfe67ffff (ro,non-prefetchable,disabled)
  IRQ: 37 (187314 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v000010DEd00001380sv00003842sd00003753bc03sc00i00"
  Driver Info #0:
    Driver Status: nvidia_drm is active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #1:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #8 (PCI bridge)

Primary display adapter: #22


Linux 4.4.6-gentoo

Am i hitting a bug ? Which driver provides working vblank timestamp query ?
_________________
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: 1159
Location: Online

PostPosted: Thu Sep 15, 2016 4:14 am    Post subject: GeForce GTX 750 Ti rev a2 + nvidia-drivers-370.28 Reply with quote

I believe that I solved all the problems. Here goes some info in case someone else facing the same problem.

# lspci -v | grep VGA
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2) (prog-if 00 [VGA controller])


# lspci -k
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. GM107 [GeForce GTX 750 Ti]
        Flags: bus master, fast devsel, latency 0, IRQ 37
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at ce000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 9c00 [size=128]
        [virtual] Expansion ROM at fe600000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
        Subsystem: eVga.com. Corp. Device 3753
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fe6fc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel


# dmesg | egrep -i "nvidia|NVIDIA|drm|DRM|modeset"
Code:
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.6-gentoo root=/dev/md0 ro domdadm rootfstype=ext4 net.ifnames=0 nvidia_drm.modeset=1 pcie_aspm=off
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.6-gentoo root=/dev/md0 ro domdadm rootfstype=ext4 net.ifnames=0 nvidia_drm.modeset=1 pcie_aspm=off
[    0.138588] [drm] Initialized drm 1.1.0 20060810
[    0.138727] [drm] radeon kernel modesetting enabled.
[    0.460032] ata1.00: supports DRM functions and may not be fully accessible
[    0.460720] ata1.00: supports DRM functions and may not be fully accessible
[    0.465118] input: HDA NVidia HDMI as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input4
[    0.465397] input: HDA NVidia HDMI as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input5
[    0.769013] ata2.00: supports DRM functions and may not be fully accessible
[    0.769714] ata2.00: supports DRM functions and may not be fully accessible
[    2.606954] nvidia: module license 'NVIDIA' taints kernel.
[    2.625976] nvidia-nvlink: Nvlink Core is being initialized, major device number 247
[    2.625991] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  370.28  Thu Sep  1 19:45:04 PDT 2016
[    2.633735] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  370.28  Thu Sep  1 19:18:48 PDT 2016
[    2.634587] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    3.268541] nvidia-modeset: Allocated GPU:0 (GPU-7c1210452-935c-9bd4-aq6a-a927d4325456) @ PCI:0000:01:00.0
[    3.388548] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.388550] [drm] No driver support for vblank timestamp query.
[    3.987756] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 246


# lsmod | grep nvidia
Code:
nvidia_uvm            634315  0
nvidia_drm             34756  1
nvidia_modeset        750686  10 nvidia_drm
nvidia              11884950  206 nvidia_modeset,nvidia_uvm


# glxgears
Code:
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.474 FPS
301 frames in 5.0 seconds = 60.001 FPS
301 frames in 5.0 seconds = 60.001 FPS


Packages installed
Code:
*  dev-util/nvidia-cuda-toolkit
      Latest version available: 6.5.14
      Latest version installed: 6.5.14
      Size of files: 949533 KiB

*  media-video/nvidia_video_sdk
      Latest version available: 6.0.1
      Latest version installed: 6.0.1
      Size of files: 20812 KiB

*  x11-drivers/nvidia-drivers
      Latest version available: 370.28
      Latest version installed: 370.28
      Size of files: 76430 KiB


# emerge -pv xorg-server

Code:
Calculating dependencies                ... done!                 
[ebuild   R    ] x11-base/xorg-server-1.17.4:0/1.17.4::gentoo  USE="-dmx -doc glamor -ipv6 -kdrive (-libressl) -minimal nptl (-selinux) -static-libs suid -systemd -tslib udev -unwind -wayland -xephyr -xnest xorg -xvfb" 0 KiB



# cat /etc/portage/make.conf| egrep -i "INPUT_DEVICES|VIDEO_CARDS"
Code:
VIDEO_CARDS="nvidia virtualbox v4l fbdev"
INPUT_DEVICES="mouse keyboard evdev virtualbox"


Kernel:
# cat /usr/src/linux/.config| grep DRM

Code:
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_TTM=y
CONFIG_DRM_BRIDGE=y


cat /etc/modprobe.d/nvidia.conf
Code:
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/nvidia-drivers-370.28/README
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED 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_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1


# cat /etc/modprobe.d/nvidia
Code:
nvidia-rmmod.conf  nvidia.conf       
gentrix mike # cat /etc/modprobe.d/nvidia-rmmod.conf
# Nvidia UVM support

remove nvidia modprobe -r --ignore-remove nvidia-modeset nvidia-uvm nvidia


cat /etc/conf.d/nvidia-persistenced
Code:
# run-time configuration file for /etc/init.d/nvidia-persistenced

# NVPD_USER: The user nvidia-persistenced is intended to run for
NVPD_USER=""

# ARGS: Additional arguments to set the default persistence mode
# (see nvidia-persistenced(1))
ARGS=""


$ cat Xorg.0.log |grep 'nvidia\|NVIDIA\|DRM|\drm|\dri|\modeset'

Code:
[ 93954.363] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.6-gentoo root=/dev/md0 ro domdadm rootfstype=ext4 net.ifnames=0 nvidia_drm.modeset=1 pcie_aspm=off
[ 93954.367] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[ 93954.368] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 93954.657] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 93954.661] (II) Module glx: vendor="NVIDIA Corporation"
[ 93954.662] (II) NVIDIA GLX Module  370.28  Thu Sep  1 19:14:30 PDT 2016
[ 93954.662] (II) LoadModule: "nvidia"
[ 93954.662] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 93954.662] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 93954.662] (II) NVIDIA dlloader X Driver  370.28  Thu Sep  1 18:51:40 PDT 2016
[ 93954.662] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 93954.670] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 93954.670] (==) NVIDIA(0): RGB weight 888
[ 93954.670] (==) NVIDIA(0): Default visual is TrueColor
[ 93954.670] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 93954.670] (**) NVIDIA(0): Option "NoLogo" "true"
[ 93954.670] (**) NVIDIA(0): Option "Stereo" "0"
[ 93954.670] (**) NVIDIA(0): Option "SWcursor" "false"
[ 93954.670] (**) NVIDIA(0): Option "HWcursor" "true"
[ 93954.670] (**) NVIDIA(0): Option "RenderAccel" "true"
[ 93954.670] (**) NVIDIA(0): Option "UseEdidDpi" "true"
[ 93954.670] (**) NVIDIA(0): Option "SLI" "Off"
[ 93954.670] (**) NVIDIA(0): Option "MultiGPU" "Single"
[ 93954.670] (**) NVIDIA(0): Option "TripleBuffer" "true"
[ 93954.670] (**) NVIDIA(0): Option "ProbeAllGpus" "true"
[ 93954.670] (**) NVIDIA(0): Option "ConnectToAcpid" "true"
[ 93954.670] (**) NVIDIA(0): Option "AllowUnofficialGLXProtocol" "false"
[ 93954.670] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "false"
[ 93954.670] (**) NVIDIA(0): Option "3DVisionDisplayType" "0"
[ 93954.670] (**) NVIDIA(0): Option "BaseMosaic" "Off"
[ 93954.670] (**) NVIDIA(0): Option "ConstrainCursor" "true"
[ 93954.670] (**) NVIDIA(0): Stereo disabled by request
[ 93954.670] (**) NVIDIA(0): Enabling RENDER acceleration
[ 93954.670] (**) NVIDIA(0): NVIDIA SLI disabled.
[ 93954.670] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[ 93954.670] (**) NVIDIA(0): Option "UseEDID" "true"
[ 93954.670] (**) NVIDIA(0): Option "Accel" "true"
[ 93954.670] (**) NVIDIA(0): Option "Coolbits" "0"
[ 93954.670] (**) NVIDIA(0): Option "MetaModes" "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456.DVI-I-1: 1920x1080_60 +0+0"
[ 93954.670] (**) NVIDIA(0): Enabling 2D acceleration
[ 93954.672] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 93954.672] (--) NVIDIA(0):     CRT-0
[ 93954.672] (--) NVIDIA(0):     DFP-0 (boot)
[ 93954.672] (--) NVIDIA(0):     DFP-1
[ 93954.672] (--) NVIDIA(0):     DFP-2
[ 93954.672] (--) NVIDIA(0):     DFP-3
[ 93954.678] (--) NVIDIA(0): CRT-0: disconnected
[ 93954.678] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[ 93954.678] (--) NVIDIA(0):
[ 93954.691] (--) NVIDIA(0): AOC 2236 (DFP-0): connected
[ 93954.691] (--) NVIDIA(0): AOC 2236 (DFP-0): Internal TMDS
[ 93954.691] (--) NVIDIA(0): AOC 2236 (DFP-0): 330.0 MHz maximum pixel clock
[ 93954.691] (--) NVIDIA(0):
[ 93954.691] (--) NVIDIA(0): DFP-1: disconnected
[ 93954.691] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 93954.691] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[ 93954.691] (--) NVIDIA(0):
[ 93954.691] (--) NVIDIA(0): DFP-2: disconnected
[ 93954.691] (--) NVIDIA(0): DFP-2: Internal TMDS
[ 93954.691] (--) NVIDIA(0): DFP-2: 165.0 MHz maximum pixel clock
[ 93954.691] (--) NVIDIA(0):
[ 93954.691] (--) NVIDIA(0): DFP-3: disconnected
[ 93954.691] (--) NVIDIA(0): DFP-3: Internal DisplayPort
[ 93954.691] (--) NVIDIA(0): DFP-3: 960.0 MHz maximum pixel clock
[ 93954.691] (--) NVIDIA(0):
[ 93954.692] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 Ti (GM107-A) at PCI:1:0:0 (GPU-0)
[ 93954.692] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 93954.692] (--) NVIDIA(0): VideoBIOS: 82.07.32.00.50
[ 93954.692] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 93954.692] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 93954.692] (**) NVIDIA(0):     device AOC 2236 (DFP-0) (Using EDID frequencies has been
[ 93954.692] (**) NVIDIA(0):     enabled on all display devices.)
[ 93954.695] (II) NVIDIA(0): Validated MetaModes:
[ 93954.695] (II) NVIDIA(0):   
[ 93954.695] (II) NVIDIA(0):     "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456.DVI-I-1:1920x1080_60+0+0"
[ 93954.695] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 93954.702] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[ 93954.702] (--) NVIDIA(0):     option
[ 93954.703] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
[ 93954.703] (II) NVIDIA:     access.
[ 93954.741] (II) NVIDIA(0): Setting mode "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456.DVI-I-1:1920x1080_60+0+0"
[ 93954.794] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 93954.794] (==) NVIDIA(0): Backing store enabled
[ 93954.794] (==) NVIDIA(0): Silken mouse enabled
[ 93954.794] (**) NVIDIA(0): DPMS enabled
[ 93954.794] (II) NVIDIA(0): [DRI2] Setup complete
[ 93954.794] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 93963.916] (II) NVIDIA(0): Setting mode "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456.DVI-I-1:1920x1080_60+0+0"
[ 93963.977] (--) NVIDIA(GPU-0): CRT-0: disconnected
[ 93963.977] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 93963.977] (--) NVIDIA(GPU-0):
[ 93963.990] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): connected
[ 93963.990] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): Internal TMDS
[ 93963.990] (--) NVIDIA(GPU-0): AOC 2236 (DFP-0): 330.0 MHz maximum pixel clock
[ 93963.990] (--) NVIDIA(GPU-0):
[ 93963.991] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 93963.991] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 93963.991] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock


# cat xorg.conf

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
EndSection

Section "ServerFlags"
    Option      "Xinerama"      "Off"
    Option      "BlankTime"     "10"
    Option      "StandbyTime"   "20"
    Option      "OffTime"       "25"
    Option      "DontZap"       "False"
EndSection

Section "Files"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputClass"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option         "XkbLayout"       "us_intl"
    Option         "XkbRules"        "xorg"
    #Option        "XkbOptions"      "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
    Option         "XkbOptions"      "terminate:ctrl_alt_bksp"
    Option         "XkbVariant"      "qwerty,euro"
    Option         "MatchIsKeyboard" "on"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "AOC"
    ModelName      "AOC 2236"
    HorizSync       30.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation GM107"
    BoardName      "GeForce GTX 750 Ti"
    BusID          "PCI:1:0:0"
    Screen         0
    Option         "UseEDID"       "true"
    #Option         "EDID"          "AOC 2236"                                      #not used
    #Option         "UUID"          "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456"      #not used
    Option         "RenderAccel"   "true"
    Option         "Accel"         "true"
    #Option         "TwinView"      "false"                                         #not used
    Option         "Coolbits"      "0"
    Option         "NoLogo"        "true"
    #Option         "DRI"           "true"                                          #not used
    #Option         "AllowDDCCI"    "true"                                          #not used
    Option         "SWCursor"      "false"
    Option         "HWCursor"      "true"
    Option         "ProbeAllGpus"  "true"
    Option         "UseEdidDpi"    "true"
    Option         "Stereo"        "0"
    Option         "MultiGPU"      "Single"
    Option         "TripleBuffer"  "true"

    Option         "ConnectToAcpid"                "true"
    Option         "ConstrainCursor"               "true"
    #Option         "PerformanceMonitorMode"        "true"                          #not used
    Option         "AllowIndirectGLXProtocol"      "false"
    Option         "AllowUnofficialGLXProtocol"    "false"
    Option         "3DVisionDisplayType"           "0"
    #Option        "3DVisionProConfigFile"         "/etc/nvidia_3d_vision_pro_config_filename"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "GPU-7c1210452-935c-9bd4-aq6a-a927d4325456.DVI-I-1: 1920x1080_60 +0+0"
    Option         "SLI" "Off"
    Option         "BaseMosaic" "Off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection


Problem is SOLVED
_________________
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 Desktop Environments 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