Thinkpad T540p laptop with Nvidia 730M, Optimus, IPS3K display. It works again after I rolled back to the previous kernel and nvidia-drivers. No other changes.
I run emerge --ask @module-rebuild after any kernel change
cat Xorg.0.log | grep EE
Code: Select all
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7.977] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Invalid argument
[ 8.102] (EE) Screen 1 deleted because of no matching config section.
[ 8.784] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Invalid argument
cat /etc/X11/xorg.conf.d/nvidia.conf
Code: Select all
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RegistryDwords" "EnableBrightnessControl=1"
# Option "RegistryDwords" "PerfLevelSrc=0x3333"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
# Uncomment this line if your computer has no display devices connected to
# the NVIDIA GPU. Leave it commented if you have display devices
# connected to the NVIDIA GPU that you would like to use.
#Option "UseDisplayDevice" "none"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
cat /usr/share/config/kdm/Xsetup
Code: Select all
#! /bin/sh
# Xsetup - run as root before the login dialog appears
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 144



