Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316447 - Ugrading to xorg-server-1.7.6 breaks hardware drm with xf86-video-intel
Summary: Ugrading to xorg-server-1.7.6 breaks hardware drm with xf86-video-intel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 03:14 UTC by warren coleman
Modified: 2010-04-21 22:48 UTC (History)
0 users

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


Attachments
Xorg.0.log (Xorg.0.log,17.80 KB, text/plain)
2010-04-21 10:11 UTC, warren coleman
Details
dmesg cat'd to dmesg.log (dmesg.log,62.04 KB, text/plain)
2010-04-21 22:06 UTC, warren coleman
Details
kernel config file (config,65.01 KB, text/plain)
2010-04-21 22:08 UTC, warren coleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description warren coleman 2010-04-21 03:14:55 UTC
After upgrading to 1.7.6 and rebuilding drivers, I no longer can get hardware drm.  glxinfo says always "software rasterization"

Reproducible: Always

Steps to Reproduce:
1.emerge xorg-server-1.7.6 and dependencies
2.Mesa upgrades to 7.7.1
3.re-emerge drivers

Actual Results:  
X starts but no hardware drm or compositing in KDE4.  Downgrading Mesa to 7.5 does not help.  I am unable to downgrade X back to 1.6.5-r1 because of dependencies
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-21 09:28:50 UTC
Please include in the bug report:

emerge --info
dmesg
/var/log/Xorg.0.log
Comment 2 warren coleman 2010-04-21 10:11:32 UTC
Created attachment 228603 [details]
Xorg.0.log
Comment 3 warren coleman 2010-04-21 10:13:47 UTC
T400s log # emerge --info                                                                             
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice i686)            
=================================================================                                     
System uname: Linux-2.6.32-tuxonice-i686-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 20 Apr 2010 23:00:01 +0000                                                     
app-shells/bash:     4.0_p37                                                                           
dev-java/java-config: 1.3.7-r1, 2.1.10                                                                 
dev-lang/python:     2.6.4-r1                                                                          
dev-util/cmake:      2.6.4-r3                                                                          
sys-apps/baselayout: 1.12.13                                                                           
sys-apps/sandbox:    1.6-r2                                                                            
sys-devel/autoconf:  2.13, 2.63-r1                                                                     
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                                
sys-devel/binutils:  2.18-r3                                                                           
sys-devel/gcc:       4.3.4                                                                             
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6b                                                                            
virtual/os-headers:  2.6.30-r1                                                                         
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
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="X acl alsa avahi berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri drm dvd extras fortran gdbm gpm gstreamer hal iconv ieee1394 ipv6 kde laptop mdnsresponder-compat mng modules mudflap mysql ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection semantic-desktop session spl sql sse sse2 sse3 ssl svg sysfs tcpd threads unicode webkit wifi x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_alias authn_anon 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 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

dmesg
                                                                                                              
[drm] Initialized drm 1.1.0 20060810                                                                                               
pci 0000:00:02.0: power state changed by ACPI to D0                                                                                
pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16                                                                       
pci 0000:00:02.0: setting latency timer to 64                                                                                      
mtrr: no more MTRRs available                                                                                                      
[drm] MTRR allocation failed.  Graphics performance may suffer.                                                                    
pci 0000:00:02.0: irq 32 for MSI/MSI-X                                                                                             
acpi device:01: registered as cooling_device2                                                                                      
input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8                                           
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)                                                                      
acpi device:07: registered as cooling_device3                                                                                      
input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:06/LNXVIDEO:01/input/input9                                 
ACPI: Video Device [VID1] (multi-head: yes  rom: no  post: no)                                                                     
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0  
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-21 10:40:24 UTC
Because your dmesg is incomplete I can only speculate what is wrong.

My guess is that you have some hybrid graphics which is not really supported before kernel 2.6.34-rc2.

As a workaround, select either the internal or discrete graphics in the BIOS. It might also work if you use kernel modesetting for all devices.

One more note, your xorg.conf appears to have accumulated old cruft:
(WW) intel(0): Option "AccelMethod" is not used
Comment 5 warren coleman 2010-04-21 10:41:52 UTC
Kernel config:

Symbol: MTRR [=y]                                                                                                              │
  │ Prompt: MTRR (Memory Type Range Register) support                                                                              │
  │   Defined at arch/x86/Kconfig:1332                                                                                             │
  │   Location:                                                                                                                    │
  │     -> Processor type and features                                                                                             │
  │                                                                                                                                │
  │                                                                                                                                │
  │ Symbol: MTRR_SANITIZER [=y]                                                                                                    │
  │ Prompt: MTRR cleanup support                                                                                                   │
  │   Defined at arch/x86/Kconfig:1366                                                                                             │
  │   Depends on: MTRR [=y]                                                                                                        │
  │   Location:                                                                                                                    │
  │     -> Processor type and features                                                                                             │
  │       -> MTRR (Memory Type Range Register) support (MTRR [=y])                                                                 │
  │                                                                                                                                │
  │                                                                                                                                │
  │ Symbol: MTRR_SANITIZER_ENABLE_DEFAULT [=1]                                                                                     │
  │ Prompt: MTRR cleanup enable value (0-1)                                                                                        │
  │   Defined at arch/x86/Kconfig:1380                                                                                             │
  │   Depends on: MTRR_SANITIZER [=y]                                                                                              │
  │   Location:                                                                                                                    │
  │     -> Processor type and features                                                                                             │
  │       -> MTRR (Memory Type Range Register) support (MTRR [=y])                                                                 │
  │         -> MTRR cleanup support (MTRR_SANITIZER [=y])                                                                          │
  │                                                                                                                                │
  │                                                                                                                                │
  │ Symbol: MTRR_SANITIZER_SPARE_REG_NR_DEFAULT [=1]                                                                               │
  │ Prompt: MTRR cleanup spare reg num (0-7)                                                                                       │
  │   Defined at arch/x86/Kconfig:1388                                                                                             │
  │   Depends on: MTRR_SANITIZER [=y]                                                   
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-21 10:53:47 UTC
The fragments of menuconfig and dmesg which you posted are not useful for anything.
Comment 7 warren coleman 2010-04-21 22:06:49 UTC
Created attachment 228675 [details]
dmesg cat'd to dmesg.log
Comment 8 warren coleman 2010-04-21 22:08:22 UTC
Created attachment 228677 [details]
kernel config file
Comment 9 warren coleman 2010-04-21 22:48:33 UTC
(In reply to comment #8)
> Created an attachment (id=228677) [details]
> kernel config file
> 

Solution was to compile Kernel Modesetting option KMS