Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298553 - x11-base/xorg-server-1.6.5-r1 doesn't work with nvidia-drivers-185.18.36 opengl
Summary: x11-base/xorg-server-1.6.5-r1 doesn't work with nvidia-drivers-185.18.36 opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 299560
Blocks:
  Show dependency tree
 
Reported: 2009-12-27 17:06 UTC by Sergey Mironov
Modified: 2012-07-14 20:43 UTC (History)
1 user (show)

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


Attachments
xorg-server startup log (Xorg.0.log,9.35 KB, text/plain)
2009-12-27 17:20 UTC, Sergey Mironov
Details
startx output (ierton-startx.log,1.04 KB, text/plain)
2009-12-27 17:21 UTC, Sergey Mironov
Details
nvidia bugreport log text (nvidia-bug-report.log,87.44 KB, text/plain)
2009-12-28 18:32 UTC, Sergey Mironov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Mironov 2009-12-27 17:06:54 UTC
After system update xorg-server crashes if started with opengl set to nvidia.
Packages versions:
x11-base/xorg-server-1.6.5-r1
x11-drivers/nvidia-drivers-185.18.36
media-libs/mesa-7.5.2

The system will hang, so only sysrq-key can reboot it.


Reproducible: Always

Steps to Reproduce:
1.emerge '=x11-base/xorg-server-1.6.5-r1'
2.emerge '=x11-drivers/nvidia-drivers-185.18.36'
3.eselect opengl list  
  [1]   nvidia
  [2]   xorg-x11 *
  eselect opengl set 1
4. startx

Actual Results:  
system hangs

Expected Results:  
xorg-server should work

emerge --info

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6-my15 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-my15-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 27 Dec 2009 15:15:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mtune=prescott -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -mtune=prescott  -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j1"
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/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ierton/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus djvu dri dvd flac fortran gdbm gnutls gpm gtk iconv ipv6 jpeg jpeg2k ldap lm_sensors mmx modules mp3 mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pch pcre perl png pppd python qt3 qt4 readline reflection session smp spl sse sse2 ssl ssse3 svg sysfs syslog tcpd threads tiff truetype unicode vim-syntax vorbis wavpack x86 xft xorg xpm 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey Mironov 2009-12-27 17:09:57 UTC
here is /var/log/messages session messages copypaste (note X crash):

Dec 27 19:46:54 vault su[14921]: Successful su for root by ierton
Dec 27 19:46:54 vault su[14921]: + pts/1 ierton:root
Dec 27 19:46:54 vault su[14921]: pam_unix(su:session): session opened for user root by ierton(uid=1000)
Dec 27 19:49:08 vault su[14921]: pam_unix(su:session): session closed for user root
Dec 27 19:49:22 vault acpid: client 14428[0:100] has disconnected
Dec 27 19:49:22 vault acpid: client 14428[0:100] has disconnected
Dec 27 19:49:22 vault acpid: client connected from 15896[0:100]
Dec 27 19:49:22 vault acpid: 1 client rule loaded
Dec 27 19:49:24 vault acpid: client connected from 15896[0:100]
Dec 27 19:49:24 vault acpid: 1 client rule loaded
Dec 27 19:49:24 vault [ 2719.499493] X[15896] general protection ip:b7386968 sp:bfba7d94 error:0 in libc-2.9.so[b734a000+134000]
Dec 27 19:50:02 vault cron[15900]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Dec 27 19:50:17 vault [ 2772.077554] SysRq : Emergency Sync
Dec 27 19:50:18 vault [ 2773.375013] SysRq : Emergency Remount R/O
Dec 27 19:50:18 vault [ 2773.737660] Emergency Sync complete

Comment 2 Sergey Mironov 2009-12-27 17:20:25 UTC
Created attachment 214322 [details]
xorg-server startup log
Comment 3 Sergey Mironov 2009-12-27 17:21:15 UTC
Created attachment 214324 [details]
startx output
Comment 4 Sergey Mironov 2009-12-27 17:22:09 UTC
I am using xorg without hal.
Comment 5 Sergey Mironov 2009-12-27 17:32:14 UTC
Please note lines 

(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)

in Xorg.0.log.

Do i need this modules with nvidia-drivers? If so, may it be eselect-opengl problem?
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2009-12-27 18:29:07 UTC
The Nvidia GLX module is loaded. The proprietary Nvidia drivers do not use DRI. Simply remove the corresponding lines from your xorg.conf.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2009-12-27 18:32:06 UTC
Eh - reopening as you experience actual crashes.
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-12-27 23:15:33 UTC
Please attach the full output of nvidia-bug-report.sh (or something similar, can't remember exactly).

Thanks
Comment 9 Sergey Mironov 2009-12-28 18:32:41 UTC
Created attachment 214465 [details]
nvidia bugreport log text
Comment 10 Sergey Mironov 2009-12-28 18:44:36 UTC
(In reply to comment #8)
> Please attach the full output of nvidia-bug-report.sh (or something similar,
> can't remember exactly).
> 
> Thanks
> 

Done:)  Thanks to this log, I noticed lines

   NVRM: CPU does not support the PAT, falling back to MTRRs. 

in /var/log/messages

Also, there is an interesting bug http://bugs.gentoo.org/show_bug.cgi?id=274672 
Please check.

Comment 11 Sergey Mironov 2009-12-31 10:39:48 UTC
Note: packages
x11-base/xorg-server-1.6.5-r1
x11-drivers/nvidia-drivers-185.18.36

still don't work well together. I suggest removing them from stable branch..
Comment 12 Sergey Mironov 2010-01-11 18:13:10 UTC
I confirm, that 
x11-drivers/nvidia-drivers-190.53 (from ~x86)
works well with
x11-base/xorg-server-1.6.5-r1

Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2010-01-11 19:17:56 UTC
It's not an xorg(In reply to comment #10)
> (In reply to comment #8)
> > Please attach the full output of nvidia-bug-report.sh (or something similar,
> > can't remember exactly).
> > 
> > Thanks
> > 
> 
> Done:)  Thanks to this log, I noticed lines
> 
>    NVRM: CPU does not support the PAT, falling back to MTRRs. 
> 
> in /var/log/messages
> 
> Also, there is an interesting bug http://bugs.gentoo.org/show_bug.cgi?id=274672 
> Please check.
> 

You've upgraded your kernel past the point where nvidia-drivers-185.18.36 supports your kernel with your hardware configuration. You must use a newer nvidia-drivers or an older kernel. comment #11 is incorrect as you demonstrate in comment #12 that the issue is in fact with your kernel version and not xorg-server.
Comment 14 Sergey Mironov 2010-01-14 16:13:01 UTC
Yes, i think so. xorg-server is out of the question.
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 20:43:41 UTC
I assume you've retested and things worked well with updated versions.