Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X graphics skewed/broken - Xorg or Nvidia? nvidia_modeset?
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
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Jul 12, 2016 1:14 am    Post subject: X graphics skewed/broken - Xorg or Nvidia? nvidia_modeset? Reply with quote

On a new install, I am having issues with my X session. As seen in the picture, my Xterm window is smushed, skewed, and there are some video artifacts.

In trouble shooting, I am baffled and not sure if its Xorg or Nvidia drivers that are the issue. I don't see Errors in the Xlog. However, after I exit the X session I do see `modprobe: ERROR: could not insert 'nvidia_modeset': Operation not permitted` which is confusing, since I do not have nvidia framebuffer enabled in the kernel.

Ay ideas what is causing this?

Using Xorg 1.17.4
Nvidia 361.28

Photo:
photos.google.com/share/AF1QipOw (etc...)

X output after X session ends:

Quote:
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.18.25-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux localhost 3.18.25-gentoo-r1 #3 SMP Sat Jul 9 23:58:43 CDT 2016 x86_64
Kernel command line: BOOT_IMAGE=/kernel1 root=/dev/sdc2 rootfstype=ext4 video=uvesafb:mtrr:3,ywrap,1920x1080-32
Build Date: 09 July 2016 11:26:10PM

Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 11 18:21:08 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: ERROR: could not insert 'nvidia_modeset': Operation not permitted
modprobe: ERROR: could not insert 'nvidia_modeset': Operation not permitted
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.


Xorg log:

Code:
localhost ~ # cat /var/log/Xorg.0.log
[   167.057]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   167.057] X Protocol Version 11, Revision 0
[   167.057] Build Operating System: Linux 3.18.25-gentoo-r1 x86_64 Gentoo
[   167.057] Current Operating System: Linux localhost 3.18.25-gentoo-r1 #3 SMP Sat Jul 9 23:58:43 CDT 2016 x86_64
[   167.057] Kernel command line: BOOT_IMAGE=/kernel1 root=/dev/sdc2 rootfstype=ext4 video=uvesafb:mtrr:3,ywrap,1920x1080-32
[   167.057] Build Date: 09 July 2016  11:26:10PM
[   167.057] 
[   167.057] Current version of pixman: 0.32.8
[   167.057]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   167.057] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   167.057] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 11 18:21:08 2016
[   167.057] (==) Using config file: "/etc/X11/xorg.conf"
[   167.057] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   167.057] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   167.058] (==) ServerLayout "X.org Configured"
[   167.058] (**) |-->Screen "Screen0" (0)
[   167.058] (**) |   |-->Monitor "Monitor0"
[   167.058] (**) |   |-->Device "Card0"
[   167.058] (**) |-->Input Device "Mouse0"
[   167.058] (**) |-->Input Device "Keyboard0"
[   167.058] (==) Automatically adding devices
[   167.058] (==) Automatically enabling devices
[   167.058] (==) Automatically adding GPU devices
[   167.058] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   167.058]    Entry deleted from font path.
[   167.058]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   167.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   167.058]    Entry deleted from font path.
[   167.058]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   167.058] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   167.058]    Entry deleted from font path.
[   167.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   167.058]    Entry deleted from font path.
[   167.058]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   167.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   167.058]    Entry deleted from font path.
[   167.058]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   167.058] (**) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/misc/
[   167.058] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules"
[   167.058] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   167.058] (WW) Disabling Mouse0
[   167.058] (WW) Disabling Keyboard0
[   167.058] (II) Loader magic: 0x817c80
[   167.058] (II) Module ABI versions:
[   167.058]    X.Org ANSI C Emulation: 0.4
[   167.058]    X.Org Video Driver: 19.0
[   167.058]    X.Org XInput driver : 21.0
[   167.058]    X.Org Server Extension : 9.0
[   167.059] (--) PCI:*(0:1:0:0) 10de:1187:1462:2847 rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/134217728, 0xde000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
[   167.059] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   167.059] (II) LoadModule: "glx"
[   167.059] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[   167.064] (II) Module glx: vendor="NVIDIA Corporation"
[   167.064]    compiled for 4.0.2, module version = 1.0.0
[   167.064]    Module class: X.Org Server Extension
[   167.064] (II) NVIDIA GLX Module  361.28  Wed Feb  3 15:10:57 PST 2016
[   167.064] (II) LoadModule: "nvidia"
[   167.065] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   167.065] (II) Module nvidia: vendor="NVIDIA Corporation"
[   167.065]    compiled for 4.0.2, module version = 1.0.0
[   167.065]    Module class: X.Org Video Driver
[   167.065] (II) NVIDIA dlloader X Driver  361.28  Wed Feb  3 14:48:10 PST 2016
[   167.065] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   167.065] (--) using VT number 7

[   167.072] (II) Loading sub module "fb"
[   167.072] (II) LoadModule: "fb"
[   167.072] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   167.072] (II) Module fb: vendor="X.Org Foundation"
[   167.072]    compiled for 1.17.4, module version = 1.0.0
[   167.072]    ABI class: X.Org ANSI C Emulation, version 0.4
[   167.072] (II) Loading sub module "wfb"
[   167.072] (II) LoadModule: "wfb"
[   167.073] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   167.073] (II) Module wfb: vendor="X.Org Foundation"
[   167.073]    compiled for 1.17.4, module version = 1.0.0
[   167.073]    ABI class: X.Org ANSI C Emulation, version 0.4
[   167.073] (II) Loading sub module "ramdac"
[   167.073] (II) LoadModule: "ramdac"
[   167.073] (II) Module "ramdac" already built-in
[   167.073] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   167.073] (==) NVIDIA(0): RGB weight 888
[   167.073] (==) NVIDIA(0): Default visual is TrueColor
[   167.073] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   167.073] (**) NVIDIA(0): Enabling 2D acceleration
[   167.469] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 760 (GK104) at PCI:1:0:0 (GPU-0)
[   167.469] (--) NVIDIA(0): Memory: 2097152 kBytes
[   167.469] (--) NVIDIA(0): VideoBIOS: 80.04.c4.00.30
[   167.469] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   167.469] (II) NVIDIA(0): Validated MetaModes:
[   167.469] (II) NVIDIA(0):     "NULL"
[   167.469] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   167.469] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   167.469] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   167.469] (--) Depth 24 pixmap format is 32 bpp
[   167.477] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[   167.477] (II) NVIDIA:     access.
[   167.480] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   167.480] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   167.480] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   167.480] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   167.480] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   167.480] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   167.480] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   167.480] (II) NVIDIA(0):     Config Options in the README.
[   167.499] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[   167.499] (II) NVIDIA(0): Setting mode "NULL"
[   167.503] (==) NVIDIA(0): Disabling shared memory pixmaps
[   167.503] (==) NVIDIA(0): Backing store enabled
[   167.503] (==) NVIDIA(0): Silken mouse enabled
[   167.503] (==) NVIDIA(0): DPMS enabled
[   167.503] (II) Loading sub module "x11glvnd"
[   167.503] (II) LoadModule: "x11glvnd"
[   167.503] (WW) Warning, couldn't open module x11glvnd
[   167.503] (II) UnloadModule: "x11glvnd"
[   167.503] (II) Unloading x11glvnd
[   167.503] (II) x11glvnd Loading
[   167.503] (II) Loading sub module "dri2"
[   167.503] (II) LoadModule: "dri2"
[   167.503] (II) Module "dri2" already built-in
[   167.503] (II) NVIDIA(0): [DRI2] Setup complete
[   167.503] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   167.504] (--) RandR disabled
[   167.504] (II) Initializing extension GLX
[   167.504] (II) Indirect GLX disabled.
[   167.547] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   167.547] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   167.547] (II) LoadModule: "evdev"
[   167.547] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   167.548] (II) Module evdev: vendor="X.Org Foundation"
[   167.548]    compiled for 1.17.4, module version = 2.9.2
[   167.548]    Module class: X.Org XInput Driver
[   167.548]    ABI class: X.Org XInput driver, version 21.0
[   167.548] (II) Using input driver 'evdev' for 'Power Button'
[   167.548] (**) Power Button: always reports core events
[   167.548] (**) evdev: Power Button: Device: "/dev/input/event1"
[   167.548] (--) evdev: Power Button: Vendor 0 Product 0x1
[   167.548] (--) evdev: Power Button: Found keys
[   167.548] (II) evdev: Power Button: Configuring as keyboard
[   167.548] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   167.548] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   167.548] (**) Option "xkb_rules" "evdev"
[   167.548] (**) Option "xkb_model" "pc104"
[   167.548] (**) Option "xkb_layout" "us"
[   167.572] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   167.572] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   167.572] (II) Using input driver 'evdev' for 'Power Button'
[   167.572] (**) Power Button: always reports core events
[   167.572] (**) evdev: Power Button: Device: "/dev/input/event0"
[   167.572] (--) evdev: Power Button: Vendor 0 Product 0x1
[   167.572] (--) evdev: Power Button: Found keys
[   167.572] (II) evdev: Power Button: Configuring as keyboard
[   167.572] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   167.572] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   167.572] (**) Option "xkb_rules" "evdev"
[   167.572] (**) Option "xkb_model" "pc104"
[   167.572] (**) Option "xkb_layout" "us"
[   167.572] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/event2)
[   167.572] (**) PIXART USB OPTICAL MOUSE: Applying InputClass "evdev pointer catchall"
[   167.572] (II) Using input driver 'evdev' for 'PIXART USB OPTICAL MOUSE'
[   167.572] (**) PIXART USB OPTICAL MOUSE: always reports core events
[   167.572] (**) evdev: PIXART USB OPTICAL MOUSE: Device: "/dev/input/event2"
[   167.572] (--) evdev: PIXART USB OPTICAL MOUSE: Vendor 0x93a Product 0x2510
[   167.572] (--) evdev: PIXART USB OPTICAL MOUSE: Found 3 mouse buttons
[   167.572] (--) evdev: PIXART USB OPTICAL MOUSE: Found scroll wheel(s)
[   167.572] (--) evdev: PIXART USB OPTICAL MOUSE: Found relative axes
[   167.572] (--) evdev: PIXART USB OPTICAL MOUSE: Found x and y relative axes
[   167.572] (II) evdev: PIXART USB OPTICAL MOUSE: Configuring as mouse
[   167.572] (II) evdev: PIXART USB OPTICAL MOUSE: Adding scrollwheel support
[   167.573] (**) evdev: PIXART USB OPTICAL MOUSE: YAxisMapping: buttons 4 and 5
[   167.573] (**) evdev: PIXART USB OPTICAL MOUSE: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   167.573] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/0003:093A:2510.0002/input/input3/event2"
[   167.573] (II) XINPUT: Adding extended input device "PIXART USB OPTICAL MOUSE" (type: MOUSE, id 8)
[   167.573] (II) evdev: PIXART USB OPTICAL MOUSE: initialized for relative axes.
[   167.573] (**) PIXART USB OPTICAL MOUSE: (accel) keeping acceleration scheme 1
[   167.573] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration profile 0
[   167.573] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration factor: 2.000
[   167.573] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration threshold: 4
[   167.573] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/mouse0)
[   167.573] (II) No input driver specified, ignoring this device.
[   167.573] (II) This device may have been added with another device file.
[   167.573] (II) config/udev: Adding input device Generic Wired USB Keyboard (/dev/input/event3)
[   167.573] (**) Generic Wired USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   167.573] (II) Using input driver 'evdev' for 'Generic Wired USB Keyboard'
[   167.573] (**) Generic Wired USB Keyboard: always reports core events
[   167.573] (**) evdev: Generic Wired USB Keyboard: Device: "/dev/input/event3"
[   167.573] (--) evdev: Generic Wired USB Keyboard: Vendor 0xd62 Product 0x171
[   167.573] (--) evdev: Generic Wired USB Keyboard: Found keys
[   167.573] (II) evdev: Generic Wired USB Keyboard: Configuring as keyboard
[   167.573] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.0/0003:0D62:0171.0003/input/input4/event3"
[   167.573] (II) XINPUT: Adding extended input device "Generic Wired USB Keyboard" (type: KEYBOARD, id 9)
[   167.573] (**) Option "xkb_rules" "evdev"
[   167.573] (**) Option "xkb_model" "pc104"
[   167.573] (**) Option "xkb_layout" "us"
[   167.574] (II) config/udev: Adding input device Generic Wired USB Keyboard (/dev/input/event4)
[   167.574] (**) Generic Wired USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   167.574] (II) Using input driver 'evdev' for 'Generic Wired USB Keyboard'
[   167.574] (**) Generic Wired USB Keyboard: always reports core events
[   167.574] (**) evdev: Generic Wired USB Keyboard: Device: "/dev/input/event4"
[   167.574] (--) evdev: Generic Wired USB Keyboard: Vendor 0xd62 Product 0x171
[   167.574] (--) evdev: Generic Wired USB Keyboard: Found keys
[   167.574] (II) evdev: Generic Wired USB Keyboard: Configuring as keyboard
[   167.574] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.1/0003:0D62:0171.0004/input/input5/event4"
[   167.574] (II) XINPUT: Adding extended input device "Generic Wired USB Keyboard" (type: KEYBOARD, id 10)
[   167.574] (**) Option "xkb_rules" "evdev"
[   167.574] (**) Option "xkb_model" "pc104"
[   167.574] (**) Option "xkb_layout" "us"
[   173.181] (II) evdev: Generic Wired USB Keyboard: Close
[   173.181] (II) UnloadModule: "evdev"
[   173.181] (II) evdev: Generic Wired USB Keyboard: Close
[   173.181] (II) UnloadModule: "evdev"
[   173.181] (II) evdev: PIXART USB OPTICAL MOUSE: Close
[   173.181] (II) UnloadModule: "evdev"
[   173.181] (II) evdev: Power Button: Close
[   173.181] (II) UnloadModule: "evdev"
[   173.181] (II) evdev: Power Button: Close
[   173.181] (II) UnloadModule: "evdev"
[   173.361] (II) NVIDIA(GPU-0): Deleting GPU-0
[   173.707] (II) Server terminated successfully (0). Closing log file.


emerge info:

Code:

localhost ~ # cat emerge_info.txt
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 3.18.25-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.18.25-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X3_705e_Processor-with-gentoo-2.2
KiB Mem:     8176108 total,   7640796 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 09 Jul 2016 00:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::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.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage/
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="/var/tmp"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cxx dri evdev flac fortran fuse gdbm gimp git glitz gnutls gtk iconv icu iso14755 joystick jpeg jpeg2k lame mms mmx mmxext modules mp3 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pcre png qt3support qt4 readline seccomp session sse sse2 sse3 sse4a ssl svg tcpd tiff truetype udev unicode wavpack x264 xattr xcb zlib" ABI_X86="64" ALSA_CARDS="maestro3 usb-usx2y wavefront" 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="evdev virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Shortened the link to Google to make the forum layout behave.Chiitoo
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 595
Location: Italia

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

Do you have set "nvidia" to /etc/modprobe.d/blacklist.conf file?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

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

Whats up with those ACPI errors?

Any reason why you use an antique kernel?

In my expierience nvidia-drivers binary only works with a certain set of xorg-server and kernels combinations.



a) update your kernel to e.g. 4.6.x
b) create an xorg-config with reasonable values for monitor / gpu

(On my hardware for example the nvidia-driver or lets rephrase it my system (linux) is unable to determine the correct values for my external screen.)

What is the content and please list each file with cat of this directory?

Code:
ls -ali /etc/X11/xorg.conf.d/


contents of [ 167.057] (==) Using config file: "/etc/X11/xorg.conf" please
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

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

You're not asking any resolution from what i see, if you want some auto pickup resolution, you have to set some nvidia-autoselect mode.
It goes with a 640x480, a resolution your monitor may not really like to run in.

So i would say, try looking in your xorg.conf and fix it, because "NULL" is a valid resolution keyword for nvidia, and it really mean: do not use that monitor ; ie: 1680x1050, NULL mean set monitor 1 to 1680x1050 and disable monitor 2.

tw04l124: nvidia acpi are not errors, user can fix the messages by running acpid but it's just info anyway.
I notice you always push anyone to update for no reason except that update mean good for you. 3.18 kernel is not antique, 3.18 kernel is an LTS kernel.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Jul 18, 2016 1:08 am    Post subject: Reply with quote

I think the resolution is the root issue. I tried to manually force the resolution that works from my other gentoo rootfs, and the resolution will not take.

Any ideas why 'Modes "1920x1080"' will not be forced and used?

Code:


localhost / # cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
        Modes     "1920x1080"
    EndSubSection
EndSection

_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Jul 18, 2016 10:30 am    Post subject: Reply with quote

It's MetaModes not metamodes

and if you are not sure what interface the monitor is connect to, you should drop it (DVI-D-0), been specific is good, been specific and mistaking the aiming interface is not.

here's my current xorg metamodes entry.
Option "MetaModes" "1680x1050_120,1680x1050_120; NULL, 1680x1050_120"
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Jul 18, 2016 11:20 pm    Post subject: Reply with quote

Thanks....still can not get it to work though. This is the same PC where my old rootfs has Xorg working(with older nvidia and xorg drivers), so the resolution should be working. But instead it's still using the 640 resolution:

NOTE: I also tried '"MetaModes" "1920x1080_24" and "1920x1080_120" to no success



Code:
localhost / # cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "MetaModes" "1920x1080"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
        Modes     "1920x1080"
    EndSubSection
EndSection

_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jul 19, 2016 8:57 am    Post subject: Reply with quote

thanks but xorg.log would help better now that your conf is fixed ;)

note: the 1920x1080_120 mean some define user mode, it must exist for you to use it, so your chance of success where down 0 there.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Jul 19, 2016 11:37 pm    Post subject: Reply with quote

Sure, sorry. Here it is. I don't know it saids MetaModes is null. Here is a pic showing the resolution is correct in my other rootfs on the same PC:
http://i.imgur.com/80XbbxJ.jpg


Would this be a bug/issue with Nvidia or Xorg for not recognizing the MetaMode as it does on my other rootfs?
Code:

localhost / # cat /var/log/Xorg.0.log
[    32.407]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[    32.407] X Protocol Version 11, Revision 0
[    32.407] Build Operating System: Linux 3.18.25-gentoo-r1 x86_64 Gentoo
[    32.407] Current Operating System: Linux localhost 3.18.25-gentoo-r1 #3 SMP Sat Jul 9 23:58:43 CDT 2016 x86_64
[    32.407] Kernel command line: BOOT_IMAGE=/kernel1 root=/dev/sdc2 rootfstype=ext4 video=uvesafb:mtrr:3,ywrap,1920x1080-32
[    32.407] Build Date: 09 July 2016  11:26:10PM
[    32.407] 
[    32.407] Current version of pixman: 0.32.8
[    32.408]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    32.408] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.408] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 18 18:23:21 2016
[    32.408] (==) Using config file: "/etc/X11/xorg.conf"
[    32.408] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    32.408] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.408] (==) ServerLayout "X.org Configured"
[    32.408] (**) |-->Screen "Screen0" (0)
[    32.408] (**) |   |-->Monitor "Monitor0"
[    32.408] (==) No device specified for screen "Screen0".
   Using the first device section listed.
[    32.408] (**) |   |-->Device "Card0"
[    32.408] (**) |-->Input Device "Mouse0"
[    32.408] (**) |-->Input Device "Keyboard0"
[    32.408] (==) Automatically adding devices
[    32.408] (==) Automatically enabling devices
[    32.408] (==) Automatically adding GPU devices
[    32.408] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    32.408]    Entry deleted from font path.
[    32.408]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    32.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    32.408]    Entry deleted from font path.
[    32.408]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    32.408] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    32.408]    Entry deleted from font path.
[    32.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    32.408]    Entry deleted from font path.
[    32.408]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    32.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    32.408]    Entry deleted from font path.
[    32.408]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    32.408] (**) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/misc/
[    32.408] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules"
[    32.408] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    32.408] (WW) Disabling Mouse0
[    32.408] (WW) Disabling Keyboard0
[    32.408] (II) Loader magic: 0x817c80
[    32.408] (II) Module ABI versions:
[    32.408]    X.Org ANSI C Emulation: 0.4
[    32.408]    X.Org Video Driver: 19.0
[    32.408]    X.Org XInput driver : 21.0
[    32.408]    X.Org Server Extension : 9.0
[    32.409] (--) PCI:*(0:1:0:0) 10de:1187:1462:2847 rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/134217728, 0xde000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
[    32.410] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    32.410] (II) LoadModule: "glx"
[    32.410] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[    32.415] (II) Module glx: vendor="NVIDIA Corporation"
[    32.415]    compiled for 4.0.2, module version = 1.0.0
[    32.415]    Module class: X.Org Server Extension
[    32.415] (II) NVIDIA GLX Module  361.28  Wed Feb  3 15:10:57 PST 2016
[    32.415] (II) LoadModule: "nvidia"
[    32.415] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    32.416] (II) Module nvidia: vendor="NVIDIA Corporation"
[    32.416]    compiled for 4.0.2, module version = 1.0.0
[    32.416]    Module class: X.Org Video Driver
[    32.416] (II) NVIDIA dlloader X Driver  361.28  Wed Feb  3 14:48:10 PST 2016
[    32.416] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    32.416] (--) using VT number 7

[    32.423] (II) Loading sub module "fb"
[    32.423] (II) LoadModule: "fb"
[    32.423] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    32.423] (II) Module fb: vendor="X.Org Foundation"
[    32.423]    compiled for 1.17.4, module version = 1.0.0
[    32.423]    ABI class: X.Org ANSI C Emulation, version 0.4
[    32.423] (II) Loading sub module "wfb"
[    32.423] (II) LoadModule: "wfb"
[    32.423] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    32.423] (II) Module wfb: vendor="X.Org Foundation"
[    32.423]    compiled for 1.17.4, module version = 1.0.0
[    32.423]    ABI class: X.Org ANSI C Emulation, version 0.4
[    32.424] (II) Loading sub module "ramdac"
[    32.424] (II) LoadModule: "ramdac"
[    32.424] (II) Module "ramdac" already built-in
[    32.424] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    32.424] (==) NVIDIA(0): RGB weight 888
[    32.424] (==) NVIDIA(0): Default visual is TrueColor
[    32.424] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    32.424] (**) NVIDIA(0): Option "Stereo" "0"
[    32.424] (**) NVIDIA(0): Option "SLI" "Off"
[    32.424] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    32.424] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    32.424] (**) NVIDIA(0): Stereo disabled by request
[    32.424] (**) NVIDIA(0): NVIDIA SLI disabled.
[    32.424] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    32.424] (**) NVIDIA(0): Option "MetaModes" "1920x1080_120"
[    32.424] (**) NVIDIA(0): Enabling 2D acceleration
[    32.808] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 760 (GK104) at PCI:1:0:0 (GPU-0)
[    32.808] (--) NVIDIA(0): Memory: 2097152 kBytes
[    32.808] (--) NVIDIA(0): VideoBIOS: 80.04.c4.00.30
[    32.808] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    32.808] (II) NVIDIA(0): Validated MetaModes:
[    32.808] (II) NVIDIA(0):     "NULL"
[    32.808] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    32.808] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    32.808] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    32.808] (--) Depth 24 pixmap format is 32 bpp
[    32.816] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    32.816] (II) NVIDIA:     access.
[    32.819] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    32.819] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    32.819] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    32.819] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    32.819] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    32.820] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    32.820] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    32.820] (II) NVIDIA(0):     Config Options in the README.
[    32.838] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[    32.838] (II) NVIDIA(0): Setting mode "NULL"
[    32.842] (==) NVIDIA(0): Disabling shared memory pixmaps
[    32.842] (==) NVIDIA(0): Backing store enabled
[    32.842] (==) NVIDIA(0): Silken mouse enabled
[    32.842] (==) NVIDIA(0): DPMS enabled
[    32.842] (II) Loading sub module "x11glvnd"
[    32.842] (II) LoadModule: "x11glvnd"
[    32.842] (WW) Warning, couldn't open module x11glvnd
[    32.842] (II) UnloadModule: "x11glvnd"
[    32.842] (II) Unloading x11glvnd
[    32.842] (II) x11glvnd Loading
[    32.842] (II) Loading sub module "dri2"
[    32.842] (II) LoadModule: "dri2"
[    32.842] (II) Module "dri2" already built-in
[    32.842] (II) NVIDIA(0): [DRI2] Setup complete
[    32.842] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    32.842] (--) RandR disabled
[    32.842] (II) Initializing extension GLX
[    32.842] (II) Indirect GLX disabled.
[    32.886] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    32.886] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    32.886] (II) LoadModule: "evdev"
[    32.886] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    32.887] (II) Module evdev: vendor="X.Org Foundation"
[    32.887]    compiled for 1.17.4, module version = 2.9.2
[    32.887]    Module class: X.Org XInput Driver
[    32.887]    ABI class: X.Org XInput driver, version 21.0
[    32.887] (II) Using input driver 'evdev' for 'Power Button'
[    32.887] (**) Power Button: always reports core events
[    32.887] (**) evdev: Power Button: Device: "/dev/input/event1"
[    32.887] (--) evdev: Power Button: Vendor 0 Product 0x1
[    32.887] (--) evdev: Power Button: Found keys
[    32.887] (II) evdev: Power Button: Configuring as keyboard
[    32.887] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    32.887] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    32.887] (**) Option "xkb_rules" "evdev"
[    32.887] (**) Option "xkb_model" "pc104"
[    32.887] (**) Option "xkb_layout" "us"
[    32.911] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    32.911] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    32.911] (II) Using input driver 'evdev' for 'Power Button'
[    32.911] (**) Power Button: always reports core events
[    32.911] (**) evdev: Power Button: Device: "/dev/input/event0"
[    32.911] (--) evdev: Power Button: Vendor 0 Product 0x1
[    32.911] (--) evdev: Power Button: Found keys
[    32.911] (II) evdev: Power Button: Configuring as keyboard
[    32.911] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    32.911] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    32.911] (**) Option "xkb_rules" "evdev"
[    32.911] (**) Option "xkb_model" "pc104"
[    32.911] (**) Option "xkb_layout" "us"
[    32.911] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/event2)
[    32.911] (**) PIXART USB OPTICAL MOUSE: Applying InputClass "evdev pointer catchall"
[    32.911] (II) Using input driver 'evdev' for 'PIXART USB OPTICAL MOUSE'
[    32.911] (**) PIXART USB OPTICAL MOUSE: always reports core events
[    32.911] (**) evdev: PIXART USB OPTICAL MOUSE: Device: "/dev/input/event2"
[    32.911] (--) evdev: PIXART USB OPTICAL MOUSE: Vendor 0x93a Product 0x2510
[    32.911] (--) evdev: PIXART USB OPTICAL MOUSE: Found 3 mouse buttons
[    32.911] (--) evdev: PIXART USB OPTICAL MOUSE: Found scroll wheel(s)
[    32.911] (--) evdev: PIXART USB OPTICAL MOUSE: Found relative axes
[    32.911] (--) evdev: PIXART USB OPTICAL MOUSE: Found x and y relative axes
[    32.911] (II) evdev: PIXART USB OPTICAL MOUSE: Configuring as mouse
[    32.911] (II) evdev: PIXART USB OPTICAL MOUSE: Adding scrollwheel support
[    32.911] (**) evdev: PIXART USB OPTICAL MOUSE: YAxisMapping: buttons 4 and 5
[    32.911] (**) evdev: PIXART USB OPTICAL MOUSE: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    32.911] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/0003:093A:2510.0002/input/input3/event2"
[    32.911] (II) XINPUT: Adding extended input device "PIXART USB OPTICAL MOUSE" (type: MOUSE, id 8)
[    32.911] (II) evdev: PIXART USB OPTICAL MOUSE: initialized for relative axes.
[    32.912] (**) PIXART USB OPTICAL MOUSE: (accel) keeping acceleration scheme 1
[    32.912] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration profile 0
[    32.912] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration factor: 2.000
[    32.912] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration threshold: 4
[    32.912] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/mouse0)
[    32.912] (II) No input driver specified, ignoring this device.
[    32.912] (II) This device may have been added with another device file.
[    32.912] (II) config/udev: Adding input device Generic Wired USB Keyboard (/dev/input/event3)
[    32.912] (**) Generic Wired USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    32.912] (II) Using input driver 'evdev' for 'Generic Wired USB Keyboard'
[    32.912] (**) Generic Wired USB Keyboard: always reports core events
[    32.912] (**) evdev: Generic Wired USB Keyboard: Device: "/dev/input/event3"
[    32.912] (--) evdev: Generic Wired USB Keyboard: Vendor 0xd62 Product 0x171
[    32.912] (--) evdev: Generic Wired USB Keyboard: Found keys
[    32.912] (II) evdev: Generic Wired USB Keyboard: Configuring as keyboard
[    32.912] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.0/0003:0D62:0171.0003/input/input4/event3"
[    32.912] (II) XINPUT: Adding extended input device "Generic Wired USB Keyboard" (type: KEYBOARD, id 9)
[    32.912] (**) Option "xkb_rules" "evdev"
[    32.912] (**) Option "xkb_model" "pc104"
[    32.912] (**) Option "xkb_layout" "us"
[    32.913] (II) config/udev: Adding input device Generic Wired USB Keyboard (/dev/input/event4)
[    32.913] (**) Generic Wired USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    32.913] (II) Using input driver 'evdev' for 'Generic Wired USB Keyboard'
[    32.913] (**) Generic Wired USB Keyboard: always reports core events
[    32.913] (**) evdev: Generic Wired USB Keyboard: Device: "/dev/input/event4"
[    32.913] (--) evdev: Generic Wired USB Keyboard: Vendor 0xd62 Product 0x171
[    32.913] (--) evdev: Generic Wired USB Keyboard: Found keys
[    32.913] (II) evdev: Generic Wired USB Keyboard: Configuring as keyboard
[    32.913] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.1/0003:0D62:0171.0004/input/input5/event4"
[    32.913] (II) XINPUT: Adding extended input device "Generic Wired USB Keyboard" (type: KEYBOARD, id 10)
[    32.913] (**) Option "xkb_rules" "evdev"
[    32.913] (**) Option "xkb_model" "pc104"
[    32.913] (**) Option "xkb_layout" "us"

_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Jul 20, 2016 8:41 am    Post subject: Reply with quote

Code:
[    32.424] (**) NVIDIA(0): Option "MetaModes" "1920x1080_120"


Told you in my previous post, because of the added _120 it mean it's a modeline, and if the modeline doesn't exists, an invalid mode.
Just go with 1920x1080

I've check my xorg.log to see, once my MetaModes is set, it then check display on my video entries:
Code:
[    12.578] (**) NVIDIA(0): Option "MetaModes" "1680x1050_120,1680x1050_120; NULL, 1680x1050_120"
[    12.578] (**) NVIDIA(0): Enabling 2D acceleration
[    13.046] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    13.046] (--) NVIDIA(0):     CRT-0
[    13.046] (--) NVIDIA(0):     DFP-0 (boot)
[    13.046] (--) NVIDIA(0):     DFP-1
[    13.046] (--) NVIDIA(0):     DFP-2
[    13.046] (--) NVIDIA(0):     DFP-3
[    13.046] (--) NVIDIA(0):     DFP-4

I don't know why the card isn't checking display, did you check your cable is good?
You should also reenable mosaic.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Wed Jul 20, 2016 3:10 pm    Post subject: Reply with quote

Ya, this is the same PC as my other old gentoo root filesystem, where X works. I have two seperate harddrives where I am switching back and forth for root file systems(old gentoo system and the new one I am building). So all hardware is the same. If I filed a bug would it be Nvidia or X?

Here is what my Xorg looks like on my old working root fs(where X works with no issues) on the same hardware:


Code:
[    25.259] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    25.259] (**) NVIDIA(0): Option "MetaModes" "DVI-D-0: nvidia-auto-select +0+0"
[    25.259] (**) NVIDIA(0): Enabling 2D acceleration
[    25.634] (II) NVIDIA(0): Display (HP 2511 (DFP-3)) does not support NVIDIA 3D Vision
[    25.634] (II) NVIDIA(0):     stereo.
[    25.711] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 760 (GK104) at PCI:1:0:0 (GPU-0)
[    25.711] (--) NVIDIA(0): Memory: 2097152 kBytes
[    25.711] (--) NVIDIA(0): VideoBIOS: 80.04.c4.00.30
[    25.711] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    25.716] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 760 at PCI:1:0:0
[    25.716] (--) NVIDIA(0):     CRT-0
[    25.716] (--) NVIDIA(0):     DFP-0
[    25.716] (--) NVIDIA(0):     LG Electronics LG TV (DFP-1) (connected)
[    25.716] (--) NVIDIA(0):     DFP-2
[    25.716] (--) NVIDIA(0):     HP 2511 (DFP-3) (boot, connected)
[    25.716] (--) NVIDIA(0):     DFP-4
[    25.716] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    25.716] (--) NVIDIA(0): DFP-0: Internal TMDS
[    25.716] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    25.716] (--) NVIDIA(0): LG Electronics LG TV (DFP-1): Internal TMDS
[    25.716] (--) NVIDIA(GPU-0): LG Electronics LG TV (DFP-1): 340.0 MHz maximum pixel clock
[    25.716] (--) NVIDIA(0): DFP-2: Internal TMDS
[    25.716] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    25.716] (--) NVIDIA(0): HP 2511 (DFP-3): Internal TMDS
[    25.716] (--) NVIDIA(GPU-0): HP 2511 (DFP-3): 330.0 MHz maximum pixel clock
[    25.716] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[    25.716] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[    25.716] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    25.716] (**) NVIDIA(0):     device LG Electronics LG TV (DFP-1) (Using EDID
[    25.716] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[    25.717] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    25.717] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    25.717] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range (31.000-100.000 kHz) would
[    25.717] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (27.0 kHz); ignoring
[    25.717] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
[    25.717] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    25.717] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    25.717] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (48.000-75.000 Hz) would
[    25.717] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (24.0 Hz); ignoring
[    25.717] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    25.717] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    25.717] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    25.717] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (48.000-75.000 Hz) would
[    25.717] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (30.0 Hz); ignoring
[    25.717] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    25.719] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    25.719] (**) NVIDIA(0):     device HP 2511 (DFP-3) (Using EDID frequencies has been
[    25.719] (**) NVIDIA(0):     enabled on all display devices.)
[    25.720] (II) NVIDIA(0): Validated MetaModes:
[    25.720] (II) NVIDIA(0):     "DVI-D-0:nvidia-auto-select+0+0"
[    25.720] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080

_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Jul 20, 2016 5:17 pm    Post subject: Reply with quote

I don't think you should "already" report, but if you do, must be against nvidia drivers as it is them that fail to get your display.

You should recheck nvidia readme and look at features that must be present in kernel, and features that disturb them and that should be removed.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Thu Jul 21, 2016 5:46 am    Post subject: Reply with quote

Ok, so I have some exciting news after much pain without pleasure.

With the Nvidia drivers 361.28 : 0 the uvesa resolution from grub `video=uvesafb:mtrr:3,ywrap,1920x1080-32 ` was skewing the resolution. I removed that from grub, and then that fixed the resolution issue. However, the graphics were stilled hosed with video artifacts everywhere filling my whole monitor viewport/screen.

I kept downgrading Nvidia drivers increments of stable releases. I got to x11-drivers/nvidia-drivers-355.11-r2 and my X session worked with no issues. In addition, it worked with 'video=uvesafb:mtrr:3,ywrap,1920x1080-32' from grub.

Should I file a bug with Gentoo bugzilla or is there a nvidia repo I need to file with?
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Jul 23, 2016 12:36 pm    Post subject: Reply with quote

Bugs belong to nvidia.

I reported a few nvidia bugs. No reply after inital answer from them.

I never used framebuffer with custom resolution on my nvidia boxes. You may read their handbook regarding setting up things and whats supported. Its very well written on the stuff I have read recently about setting up the X-server with additional screens

Nvidia also has a support forum, you may ask there also first.

Honestly I am not sure if its a bug. You should check their handbook from nvidia if uvesa if a supported feature and how they propose to set up things
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