Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353957 - sys-kernel/gentoo-sources-2.6.37: regression with nouveau KMS
Summary: sys-kernel/gentoo-sources-2.6.37: regression with nouveau KMS
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 12:48 UTC by Dragos Delcea
Modified: 2011-03-17 10:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log (Xorg.0.log,34.55 KB, text/plain)
2011-02-07 12:55 UTC, Dragos Delcea
Details
complete dmesg output when booted with 2.6.37 (dmesg.log,61.95 KB, text/plain)
2011-02-07 12:56 UTC, Dragos Delcea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragos Delcea 2011-02-07 12:48:07 UTC
hardware: Dell Latitude E6510, nVidia Corporation GT218 [NVS 3100M] + external Dell 21' monitor
software: gentoo amd64, xorg-server-1.9.2, xf86-video-nouveau-0.0.16_pre20101010, libdrm-2.4.22

when booting gentoo-sources-2.6.37, upon KMS activation, only external monitor is brought up, the internal laptop display becomes blank an stays that way; xrandr reports both monitors as working/connected!

reverting back to gentoo-sources-2.6.36-r7 makes it all work nicely (both internal and external display)

both kernels have similar configuration (2.6.37 config was generated using make oldconfig of the 2.6.36-r7 file) and have "nouveau.noaccel=1" on the kernel command line in grub.conf (due to https://bugs.freedesktop.org//show_bug.cgi?id=26980)



Reproducible: Always

Steps to Reproduce:
1. boot 2.6.37 with external monitor attached to dell latitude e6510/nvidia GT218 and notice the internal display going blank on resolution change (KMS activation)

Actual Results:  
the internal display is blank, but the X server thinks it's active (being the primary monitor it holds all the panels and desktop icons; xrands shows both monitors as being active/connected as well

Expected Results:  
internal display is working
Comment 1 Dragos Delcea 2011-02-07 12:50:02 UTC
emerge --info output:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r7.e6510 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r7.e6510-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 07 Feb 2011 01:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi alsa amd64 bluetooth cdr consolekit cups dbus dri hal iconv mime mmap mmx mmx2 multilib ncurses networkmanager nls nptl opengl pam pcmcia policykit pulseaudio sse sse2 sse3 ssl ssse3 threads unicode usb v4l v4l2 xattr xcb xinerama xml zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="plug ioplug dmix adpcm alaw asym copy dshare dsnoop empty extplug file hooks iec958 ladspa lfloat linear meter mulaw multi null rate route share shm softvol mmap_emul" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" QEMU_SOFTMMU_TARGETS="x86_64 i386" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Dragos Delcea 2011-02-07 12:55:24 UTC
Created attachment 261711 [details]
Xorg log

Xorg log booted with 2.6.37 - when it doesn't work
Comment 3 Dragos Delcea 2011-02-07 12:56:58 UTC
Created attachment 261713 [details]
complete dmesg output when booted with 2.6.37

complete dmesg output when booted with 2.6.37
Comment 4 Dragos Delcea 2011-02-07 13:02:36 UTC
xrandr output shows both monitors connected as working!! (2.6.37):
---
Screen 0: minimum 320 x 200, current 3280 x 1050, maximum 8192 x 8192
eDP-1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1600x900       60.0*+   40.0  
   1152x864       60.0  
   1024x768       59.9  
   800x600        59.9  
   640x480        59.4  
   720x400        59.6  
   640x400        60.0  
   640x350        59.8  
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1680x1050+1600+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050      59.9*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DP-2 disconnected (normal left inverted right x axis y axis)
---

interesting, when it really works (when booted with 2.6.36*) the refresh rates are different for the internal display:
--
Screen 0: minimum 320 x 200, current 3280 x 1050, maximum 8192 x 8192
eDP-1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1600x900       40.0* 
   1152x864       39.9  
   1024x768       39.9  
   800x600        39.6  
   640x480        39.9  
   720x400        39.6  
   640x400        39.3  
   640x350        39.3  
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1680x1050+1600+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050      59.9*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DP-2 disconnected (normal left inverted right x axis y axis)
---
Comment 5 Dragos Delcea 2011-02-16 22:06:31 UTC
bisected the issue and opened a bug on fdo bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=34348
Comment 6 Mike Pagano gentoo-dev 2011-03-17 10:53:52 UTC
Good work, we'll follow the upstream bug and backport any fixes identified.