Hello, on my new notebook I have an intel integrated graphics card. lspci 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4) 00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4) 00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4) 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4) 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4) 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04) 00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 04) 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04) 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) 0a:00.0 FireWire (IEEE 1394): O2 Micro, Inc. 1394 OHCI Compliant Host Controller (rev 05) 0a:00.1 SD Host controller: O2 Micro, Inc. Integrated MMC/SD controller (rev 05) 0a:00.2 Mass storage controller: O2 Micro, Inc. O2 Flash Memory Card (rev 05) lsmod Module Size Used by vmnet 32071 13 vmblock 9571 0 vsock 35030 0 vmci 55804 1 vsock vmmon 61765 0 snd_hda_codec_hdmi 21500 1 snd_hda_codec_idt 56727 1 i915 502554 0 drm_kms_helper 25630 1 i915 drm 187399 2 i915,drm_kms_helper snd_hda_intel 22191 6 i2c_algo_bit 4756 1 i915 cfbcopyarea 3061 1 i915 video 12032 1 i915 snd_hda_codec 79007 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel iTCO_wdt 11828 0 processor 25473 0 thermal 8545 0 dell_wmi 1609 0 sparse_keymap 3182 1 dell_wmi parport_pc 24558 0 dell_laptop 8167 0 parport 18587 1 parport_pc e1000e 124953 0 mei 26978 0 wmi 8457 1 dell_wmi cfbimgblt 2212 1 i915 brcmsmac 523957 0 backlight 4349 2 video,dell_laptop psmouse 43616 0 cfbfillrect 3089 1 i915 i2c_i801 7674 0 snd_hwdep 5556 1 snd_hda_codec brcmutil 8395 1 brcmsmac Without KMS enabled I can't use dual monitor, but system is stable and KDE's desktop effects works. If I enable KMS I can use dual monitor, but I have those issues: - with KDE's desktop effects enabled I obtain a black screen immediately after KDE loading (kdm works fine, and also a standard xsession works without problems). - with KDE's desktop effects disabled system works fine, but randomly hard freezes (it never worked for more than 30 minutes). When on freeze everything stops, audio goes on infinite loop and to exit from the freeze I have to press the power button until the notebook power off. I've tryed without luck some solutions found on the internet: - using NoAccel or AccelMethod params on xorg.conf, but on Xorg.0.log I read: [ 25.112] (WW) intel(0): Option "NoAccel" is not used - enabling semaphores to i915 module - using a custom /etc/drirc file If I try to turn on KDE's desktop effects after the login, it tells me that some effects can't be enabled. I'll attach kernel .config and every file you require, I'll do every test you ask for, but please, help me... Reproducible: Always Portage 2.1.10.41 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r1, 3.1.5-gentoo x86_64) ================================================================= System uname: Linux-3.1.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.1 Timestamp of tree: Tue, 20 Dec 2011 08:00:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.7 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r1 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -O2" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it" MAKEOPTS="-j5" 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="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl addbookmarks alias alsa amd64 amr amuled apache2 audiofile autoreplace avi bash-completion berkdb bluetooth boost branding browserplugin bzip2 cdaudio cdb cdda cddb cdinstall cdio cdparanoia cdr cleartype cli clucene codecs connectionstatus contactnotes cracklib crypt css ctype cups curl custom-optimization cxx dbus decibel dga divx4linux dlloader dri dts dv dvb dvd dvdr dvdread edl emul-linux-x86 encode exif extensions faad fam fame ffmpeg filter firefox flac fontconfig fortran ftp gadu gcj gd gdbm ggi gif gimp gimpprint git glib glitz gnutls gpm groupwise gstreamer highlight history hou iconv idn ieee1394 imagemagick imap imlib inquisitio insecure-drivers ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kde lame lcd lcdfilter libcaca libnotify live lm_sensors lzo mad matroska messenger mikmod mime mjpeg mmx mmxext modules monkey moodbar mozbranding mozdevelop mozilla mp3 mp4 mpeg msn msword mudflap multilib musepack musicbrainz mysql mysqli mythtv ncurses nepomuk netmeeting nls nodrm nowin nowlistening nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg oggvorbis opengl openmp pam pcre pdf phonon php plasma png ppds pppd qt qt-copy qt3support qt4 quicktime rar rdesktop readline remote replytolist samba sametime scanner sdl semantic-desktop sensord session slp smp sms sndfile sou sound speex sqlite sse sse2 ssl startup-notification statistics subversion svg sysfs taglib tcpd telepathy texteffect tga theora threads tidy tiff tokenizer translator truetype truetype-fonts udev unicode upnp usb v4l v4l2 vcd video videos visualization vnc vorbis wavpack webdav webpresence wifi winpopup wlm xanim xattr xcb xcomposite xine xinerama xml xmlpatterns xmlreader xmlwriter xorg xscreensaver xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 296427 [details] Kernel .config
Created attachment 296429 [details] Xorg.0.log Actually I'm working with i915.modeset=0
I've also tryed to log kwin's output with: kwin --replace > kwin.log 2>&1 but after the crash the file is still empty
Is it just X that freezes or does the kernel keep running? Can you still get a shell through SSH?
I didn't tested with an ssh shell yet, but I tryed to press the power button once, normally it should get the acpi event and shut down, but nothing happened... I'll test with ssh ASAP
Ok, I tested with SSH, after the freeze the machine is unreachable not only for ssh but also for a simple ping.
Looks like kernel panic happened then. Did you try different kernel versions, e.g. 3.0.6 or 3.2_rc6?
I'm installing sys-kernel/gentoo-sources-3.0.13 and sys-kernel/git-sources-3.2_rc6 right now.
Actually with sys-kernel/gentoo-sources-3.0.13 I had no freezes for more than an hour, but the wifi connection doesn't work. Probably the staging driver brcmsmac isn't good enough on 3.0.13. Now I'm returned to sys-kernel/gentoo-sources-3.1.5 to download sys-kernel/git-sources-3.2_rc6, hoping that the freeze doesn't stop me (git restarts from the beginning evertytime).
Yesterday evening I was testing at home, where I use WiFi connection and the external monitor is connected via hdmi. Now I'm testing at office, where I use a docking station where audio, video (DVI) and LAN are connected. Yesterday evening, at home, I leaved the pc turned on playing music for more than an hour with both sys-kernel/gentoo-sources-3.0.13 and sys-kernel/gentoo-sources-3.1.5 and no freeze happened. Today, at office, I worked for more than 2 hours with sys-kernel/gentoo-sources-3.0.13 and no freeze still happened. So, if I could make an hypothesis, I think the problem is when the docking station's DVI connection is used on sys-kernel/gentoo-sources-3.1.5. I just finished installing sys-kernel/git-sources-3.2_rc6, I'll test it ASAP, but app-emulation/vmware-modules-264.1 fails to build against it, so I have those problems: - no wifi on sys-kernel/gentoo-sources-3.0.13 - no vmware on sys-kernel/git-sources-3.2_rc6 If you know some other test I could do, please, don't hesitate to tell me.
I sang victory too soon, it just freezed using sys-kernel/gentoo-sources-3.0.13, after 2 and half hours of working. The machine was under heavy load cause of vmware, memory was full and it was swapping. Now I booted with sys-kernel/git-sources-3.2_rc6, I'll keep you informed...
It freezed also with sys-kernel/git-sources-3.2_rc6, and with this kernel audio doesn't work (alsa sees the card, but no sound can be heard). Now I'm returned to sys-kernel/gentoo-sources-3.1.5 and I connected the monitor with a hdmi cable, so I can check if my hypothesis is true.
It freezed also with the hdmi cable... I don't know if it's a problem of some module related to the docking station (maybe dell_wmi) or simply my home tests weren't deep enough. I forgot to say that the freeze with sys-kernel/git-sources-3.2_rc6 was some kind of "softer" than other kernel freezes: when Xorg freezed the mouse pointer still moved for some seconds. At this point I don't know what to do...
Debugging kernel panics is a bit complicated. First thing you could do is also report a bug upstream on https://bugs.freedesktop.org/ It might be helpful if you can get a dmesg (run: watch "dmesg|tail -n 50" through ssh or something) from after the freeze but when you can still move the mouse pointer. Also be aware that as long as you use vmware proprietary kernel modules, upstream developers will probably reject your bug report.
Actually I removed all modules from "X86 Platform Specific Device Drivers", if freezes stops it means that the problem is inside one of those modules (wmi, dell_wmi, dell_laptop, etc...)
No way, still freezes... I'll try to take a dmesg using sys-kernel/git-sources-3.2_rc6.
I experienced similar problems (running sys-kernel/gentoo-sources-3.1.5) and therefore downgraded to x11-drivers/xf86-video-intel-2.15.0-r1 (= previous stable version on amd64). I can't provide full details, but here is some information that may be helpful. At least it seems reasonable to me to mark x11-drivers/xf86-video-intel-2.17.0-r3 as unstable on amd64. I had crashes both with the "sna" use flag enabled and disabled, and particularly (but not exclusively) in dual-monitor situations such as switching (using xrandr) from two monitors to one. I didn't have the opportunity to use ssh, so all I could do was using the "Magic SysRq". lspci -v output: 00:02.0 VGA compatible controller: Intel Corporation Device 0126 (rev 09) (prog-if 00 [VGA contr oller]) Subsystem: Lenovo Device 21db Flags: bus master, fast devsel, latency 0, IRQ 44 Memory at f0000000 (64-bit, non-prefetchable) [size=4M] Memory at e0000000 (64-bit, prefetchable) [size=256M] I/O ports at 5000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915
I downgraded to x11-drivers/xf86-video-intel-2.16.0 but I can't do deeper tests until next tuesday. I think I'll give a try also to x11-drivers/xf86-video-intel-2.8.1 or x11-drivers/xf86-video-intel-2.9.1
I encounter a similar problem after the coinciding xorg-1.11 and intel-video-1.17 stabilization (I have always had KMS enabled): KDE presents a black screen upon boot (I autologin+lock); I can switch to VT1, but switching back to X (VT7) locks up the system (no more VT switching and X killing); but I can reboot with Ctrl-Alt-Del. Instead of VT switching after KDE comes up black after boot, I can kill X (Ctrl-Alt-Bcksp), dropping into the kdm greeter, but doing a login from there results in the same black KDE. Downgrading to intel-video-2.15 did not help. I'm now at home with just the laptop. I'm returning to the office to my docking station and external screen which booted up fine into a clear KDE this morning, even though I emerged the stabilized ebuilds two days ago, because it might be that KDE is being displayed on the external screen that isn't there due to some lingering xrandr setting... although it did not have this behavior in the past.
Actually I've worked for more than 6 hours without freeezes, x11-drivers/xf86-video-intel-2.16.0 seems to solve the problem. So, as told by @Christoph Lange, x11-drivers/xf86-video-intel-2.17.0-r3 should be marked as unstable on amd64. @Erik Quaeghebeur, try disabling KDE's desktop effects, it solved the black screen after login problem for me.
*** Bug 395087 has been marked as a duplicate of this bug. ***
Closing as per comment #20. Don't hesitate to reopen this bug if you can still reproduce the issue. Thanks