Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236941 - nvidia-drivers 177.70 + xorg-server 1.5.0 + compoziting enable = random segfauilts
Summary: nvidia-drivers 177.70 + xorg-server 1.5.0 + compoziting enable = random segfa...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-07 11:07 UTC by Alexey Shvetsov
Modified: 2009-03-08 18:02 UTC (History)
6 users (show)

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


Attachments
Xorg.0.log.old (Xorg.0.log.old,12.42 KB, text/plain)
2008-09-07 11:07 UTC, Alexey Shvetsov
Details
xorg.conf (xorg.conf,1.21 KB, text/plain)
2008-09-13 14:00 UTC, Alexey Shvetsov
Details
xorg.conf (xorg.conf,1.66 KB, text/plain)
2008-09-13 14:52 UTC, DarkNRG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2008-09-07 11:07:02 UTC
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-glibc2.2.5
Timestamp of tree: Sun, 07 Sep 2008 07:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O3 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/kdesvn-portage /usr/local/portage/layman/java-overlay /usr/local/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addressbook alsa amd64 amr amrnb amrr amrwb avahi bash-completion berkdb bittorrent blas branding bzip2 cairo cdaudio cdinstall cdr cli consolekit cracklib crypt cups cyrillic daap dbus dga dhcp dirac djvu dri dts dv dvd dvdr dvdread emboss enca encode evo exif extra fam ffmpeg fftw flac fontconfig fortran ftp gdbm gif git glitz gmp gnutls gpg gphoto2 gpm grace graphics graphviz gs gstreamer gtk hal humanities iconv idn ieee1394 imagemagick ipv6 isdnlog ithreads jadetex java jpeg jpeg2k kde kdehiddenvisibility ladspa lapack lcms libffi libnotify live lm_sensors lzo mad marble md5sum mdnsresponder-compat midi mikmod mktemp mmx mmxext mng mp2 mp3 mp4 mpeg mpi mplayer mudflap multilib music ncurses nemesi nepomuk network-cron nls nptl nptlonly nsplugin ogg omega openal openexr opengl openmp pam pch pcre pdf perl plasma png pnm ppds pppd ps pstricks publishers python qt3 qt3support qt4 quicktime rar readline reflection resolvconf rtc sandbox schroedinger science sdl semantic-desktop sensord session slang smp speex spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd tetex tex tex4ht themes theora threads tiff truetype umfpack unicode urandom usb utempter vde vim vim-syntax visualization vorbis wmf x264 x86emu xattr xcb xcomposite xetex xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexey Shvetsov archtester gentoo-dev 2008-09-07 11:07:30 UTC
Created attachment 164800 [details]
Xorg.0.log.old

xorg.log
Comment 2 Didier Link 2008-09-07 21:31:26 UTC
I've exactly the same configuration and the same bug, only solution was to downgrade the xorg-server to 1.4.2 ... 

I've this error many times in my ~/.xsession-errors :

The program 'gnome-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.
  (Details: serial 8101 error_code 15 request_code 45 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I've recompiled all the font stuff but without success before downgrading the server.
Comment 3 Marian Kyral 2008-09-08 10:03:58 UTC
I have the same problem. But I'm using kde. Kwin 3.5, Firefox, Thunderbird does not start due to the BadName error. Kwin 4.1 starts, but there was another problem with mouse cursor. It disappear sometimes or is incorrect and in .xsession-errors is an message: "BadCursor (invalid Cursor parameter)"

I've tried the SW cursor option in xorg.conf, but without success.

# emerge --info
Portage 2.2_rc8 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Mon, 08 Sep 2008 05:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.supp.name/"
LANG="cs_CZ.utf8"
LDFLAGS=""
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon /usr/local/portage/layman/sunrise /usr/local/portage/layman/kdesvn-portage /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo exif fam firefox flac foomaticdb fortran ftp gdbm gif glib gpm gstreamer hal htmlhandbook iconv ipv6 isdnlog jabber jpeg kde kdeenablefinal kdehiddenvisibility kipi lcms ldap mad matroska midi mikmod mine mmx mmxext mng mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg openal opengl openmp oracle oss pam pcmcia pcre pdf perl png posix pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang sox spell spl sqlite sse sse2 ssl svg symlink tcpd theora threads tiff truetype unicode usb vcd vorbis wavpack wifi wmf xcomposite xinerama xml xorg xosd xv zlib" ALSA_CARDS="hda-intel" 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" FOO2ZJS_DEVICES="oki3200" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Alexey Shvetsov archtester gentoo-dev 2008-09-08 10:08:16 UTC
I've solved this issue by adding this

Section "Extensions"
        Option "Composite" "Disable"
        Option "RENDER" "Enable"
EndSection

to xorg.conf
and for now it works
Comment 5 DarkNRG 2008-09-12 10:13:17 UTC
I had the same bug and solved it by removing almost all entries from the "Device" Section in xorg.conf, so it now looks like this:

Section "Device"
        Identifier      "CardNVIDIA"
        Driver          "nvidia"
        Option          "NoLogo"                "true"
        VideoRam        262144
EndSection

I kept Compositing enabled and updated to nvidia-drivers-177.70 (hardmasked at the moment).
Comment 6 NuCleUs 2008-09-13 13:45:04 UTC
Here I have the same problem, no decorations, one one desktop. I use xf86-video-ati 6.9.0 drivers, xorg-server 1.5.0, xorg-x11 7.4

I tried your both modifications to xorg.conf without success.

Here's what kwin says if I run it in a console:

$ kwin
X Error: BadName (named color or font does not exist) 15
  Major opcode:  45
  Minor opcode:  0
  Resource id:  0x1000003
X Error: BadFont (invalid Font parameter) 7
  Major opcode:  94
  Minor opcode:  0
  Resource id:  0x1000003
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode:  2
  Minor opcode:  0
  Resource id:  0x1000004
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode:  2
  Minor opcode:  0
  Resource id:  0x1000004
kwin: X_ChangeWindowAttributes(0x1000004): BadCursor (invalid Cursor
parameter)
kwin: failure during initialization; aborting


can you post your xorg.conf to verify the differences?
thanks a lot
Comment 7 Alexey Shvetsov archtester gentoo-dev 2008-09-13 14:00:54 UTC
Created attachment 165335 [details]
xorg.conf

xorg.conf
Comment 8 DarkNRG 2008-09-13 14:52:52 UTC
Created attachment 165337 [details]
xorg.conf

This xorg.conf is for nvidia cards, so it will not work with your xf86-video-ati drivers without changing the Device Section.
Comment 9 Alexey Shvetsov archtester gentoo-dev 2008-09-29 20:39:39 UTC
in xorg-server 1.5.1 problem still exist
Comment 10 Andrej Filipcic 2008-11-01 21:34:11 UTC
I solved this problem with
http://forums.gentoo.org/viewtopic-t-709895-highlight-badname.html
Comment 11 Matteo Azzali (RETIRED) gentoo-dev 2008-11-02 12:21:32 UTC
Ehm, it looks like backingstore is not anymore supported but just harmful, remove just the backingstore option and check (working with my nvidia configuration) 
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2008-12-12 20:31:02 UTC
Have any of you used nvidia-bug-report.sh and filed a bug upstream?
Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2009-03-08 18:02:47 UTC
Re-open once we get some upstream bug reports submitted.