Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284053 - gnome-base/gdm-2.26.1 fails to open gdm on "switch user"
Summary: gnome-base/gdm-2.26.1 fails to open gdm on "switch user"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-09-07 23:35 UTC by Colin Macdonald
Modified: 2011-12-08 10:42 UTC (History)
2 users (show)

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


Attachments
Xorg.8.log (Xorg.8.log,15.48 KB, text/plain)
2009-09-07 23:37 UTC, Colin Macdonald
Details
Xorg.20.log (Xorg.20.log,24.65 KB, text/plain)
2009-09-07 23:39 UTC, Colin Macdonald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2009-09-07 23:35:55 UTC
Hi, hope its not too bad form to report issues on masked gdm-2.26.1 without a patch!

Trying to login as another user (new gdm session) with gdm-2.26.1 doesn't work or give visible errors

To reproduce:
1) login to X via gdm
2) lock screen
3) click "Switch User" on the screen locked dialog (part of gnome-screensaver I assume).
4) screen flickers then just black
5) press any key or move mouse and back to unloack dialog.

This works ok in gdm-2.20.9-r1.

I investigated further and found lots of Xorg.?.log files in /var/log with contents like the following:
(WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device or resource busy)
(EE) GARTInit: AGPIOC_INFO failed (Operation not permitted)
(EE) intel(0): /dev/agpgart is either not available, or no memory is available
for allocation.  Please enable agpgart
.(WW) intel(0): VideoRam reduced to 32760 KB (page aligned - was 32763 KB)
(WW) intel(0): DRI2: failed to open drm device
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(EE) intel(0): Failed to initialize kernel memory manager
(==) intel(0): VideoRam: 32760 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(EE) intel(0): AGP GART support is either not available or cannot be used.
	Make sure your kernel has agpgart support or has
	the agpgart module loaded.
(II) intel(0): Tiled allocation failed.
(WW) intel(0): Couldn't allocate tiled memory, fb compression disabled
(II) intel(0): Attempting memory allocation with untiled buffers.
(EE) intel(0): AGP GART support is either not available or cannot be used.
	Make sure your kernel has agpgart support or has
	the agpgart module loaded.
(II) intel(0): Untiled allocation failed.
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0




# emerge --info
Portage 2.2_rc40 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30.5 i686)
=================================================================
System uname: Linux-2.6.30.5-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 07 Sep 2009 21:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distcc distlocks fixpackages preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
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"
PORTDIR_OVERLAY="/usr/local/layman/science /usr/local/layman/gnome /usr/local/layman/sunrise /usr/local/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 audiofile avahi berkdb blas bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl dbus dga dri dts dv dvb dvd dvdr emboss encode esd evo exif expat f77 faad fam fbcon ffmpeg fftw firefox flac fortran gcj gd gdbm gif ginac glut gmp gnome gnome-keyring gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog jack java jpeg jpeg2k lapack latex lcms leim libcaca libnotify libsamplerate lirc live mad matroska mikmod mmap mmx mng mono mozilla mp3 mp4 mpeg mudflap mysql nas ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp pam pcmcia pcre pdf perl plotutils png policykit ppds pppd pulseaudio python qhull qt3 qt3support qt4 quicktime radeon raw readline reflection rtc samba scanner sdk sdl session slang sndfile speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcl tcltk tcpd theora threads thunar tiff tk truetype unicode usb v4l v4l2 vcd vorbis win32codecs wmf wxwindows x264 x86 xcb xft xinerama xml xorg xosd xulrunner xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="realmagic" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeon v4l vesa mach64 r128 radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Colin Macdonald 2009-09-07 23:37:09 UTC
Created attachment 203432 [details]
Xorg.8.log

Here is one of the Xorg log files.
Comment 2 Colin Macdonald 2009-09-07 23:39:19 UTC
Created attachment 203434 [details]
Xorg.20.log

Here's a log file when doing to same procedure with gdm-2.20.  No errors about AGP here.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-09-08 21:45:26 UTC
Honestly, I have no idea how this could happen.

Let's just assume for now that the bug is indeed an Intel bug. Please file a bug in FreeDesktop's bugzilla [1] and paste the url here so we can track the issue.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 4 Colin Macdonald 2009-09-09 08:42:53 UTC
Given that it works with gdm-2.20, I assumed it wasn't an intel bug.  But I'll try to test with vesa drivers in an xorg.conf and then report upstream if it really is intel specific.

Might take me a while to get around to it though!
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-02-12 13:27:43 UTC
Hi,

not this is not an intel bug. It's the Patch from http://bugs.gentoo.org/show_bug.cgi?id=261339, which forces every Xorg instance to vt7.
Watch out for "using VT number 7" at the beginning of every Xorg.*.log. 
Just use >=gdm-2.26 w/o this patch (http://svn.xmw.de/gentoo-overlay/) and try to get X to use vt7 and above with the "method" of runlevel a (see /etc/init.d/xdm and /etc/inittab) or live with first X at vt2.

Michael
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-02-14 09:54:28 UTC
Reopening since the information has been provided.
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-04-15 19:36:26 UTC
There is a patch for this in the gnome overlay now, it will be added to the tree after some more testing.
Comment 8 Pacho Ramos gentoo-dev 2011-06-19 10:17:23 UTC
(In reply to comment #7)
> There is a patch for this in the gnome overlay now, it will be added to the
> tree after some more testing.

I still use stable gdm... but maybe it's time to move this to the tree if it works ok ;-)

Thanks
Comment 9 Pacho Ramos gentoo-dev 2011-11-21 23:46:21 UTC
Is this still valid with 3.2.1.1-r1?
Comment 10 Pacho Ramos gentoo-dev 2011-12-08 10:42:26 UTC
(In reply to comment #9)
> Is this still valid with 3.2.1.1-r1?

        # GDM grabs VT2 instead of VT7, bug 261339, bug 284053, bug 288852
        epatch "${FILESDIR}/${PN}-2.32.0-fix-vt-problems.patch"

It should as I can see in ebuild