Hi, I'm having some trouble with the ati-drivers (the binary ones from ati). I am using the fglrx driver. The problem is, taht after starting X, and switching back to the console, an then returning to X, X ist there any longer. Is this behaviour known? Has anyone the same problem/solution? Johnny Reproducible: Always Steps to Reproduce: 1. startx 2. switch to textmode console 3. X will exit Actual Results: X exited Expected Results: X shouldn't exit. Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.4.23) ================================================================= System uname: 2.4.23 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://builda http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms xosd xv zeo zlib"
Created attachment 22506 [details] This is the logfile what happens when switching to a console
Created attachment 22507 [details] my xf86config
try to turn off dga, which is your ati chip?
The true logfile is /var/log/XFree*, please attach that instead of just console output.
@Donnie > The true logfile is /var/log/XFree*, please attach that instead of just console output. Well, there is no other file: ls -la /var/log/XFree86* -rw-r--r-- 1 root root 32526 Dec 22 23:47 /var/log/XFree86.0.log -rw-r--r-- 1 root root 32747 Dec 22 23:46 /var/log/XFree86.0.log.old @Luca > try to turn off dga, which is your ati chip? I have got a Radeon 9600: 01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4e50 @all I realized, that this happens only with kde. When I don't set an xsession in /etc/rc.conf, I can switch to a console, and switch back, without problems. Johnny PS: I'll try to switch dga off, thou I want to leave it enabled.
Adding a line like Load "dga" in xfre-config had the effect, that when kde is running, I can switch to a console, but when I switch to a console, while kde starts up, I have the same bahaviour (crash). Uncommenting or commenting out this line din't change anything, I currently have it commented out. # Option "omit xfree86-dga" # don't initialise the DGA extension Johnny
-rw-r--r-- 1 root root 32526 Dec 22 23:47 /var/log/XFree86.0.log That is the file I was referring to; I couldn't give an absolute filename because the number (0 in this case) corresponds to the display X was started on. Anyway, attach it as text/plain or plain/text, whatever that type is.
Created attachment 22621 [details] A logfile, after an x crash X recently crashed, even thou kde has finished the startup sequence. X crashed after kde has been running for a while. I switched to the console, and I couldn't switch back again. Johnny
Does /dev/usbmouse exist? You do have a USB mouse connected, correct? Also please try /dev/input/mice.
Sometimes I have a mouse connected, but sometimes not. When I connect the mouse after x has started, I need to switch to a console, and back, to activate the mouse. I changed the inputdevice, but I don't think, that this might change anything. Perhaps this problem is kde dependent, because when I start without the XSESSION variable in rc.conf set, then the 3bash-x-session satrts. When I switch to a textmode console, and back, X never had crashed after switching back. I noticed that when I succesfully switched back to X then the screen is usually scrambled. After clicking unclutter desktop in the context menu, the desktop looks ok. Johnny
Well, I think, I found the bug. In /usr/X11R6/bin/startx I have set defaultserverargs="-nolisten tcp" because I don't like open ports, because I'm not always in trusted networks. I disabled it, an I am having no problems with kde. Does anybody have a descent soluten for leaving port 6000 at localhost open, but closing it anywhere else? Johnny
X cannot properly initialize mice plugged in after X is started. If you have any problems associated with that, they are to be expected. To block port 6000 everywhere but localhost, you'll want to block it globally w/ an iptables rule, then have a rule AFTER that opening it specifically to localhost.
Could we close that bug? Is the problem solved with the new drivers?
Yes, I think so. I had this bug still in mind. Johnny