View previous topic :: View next topic |
Author |
Message |
Schizoid Apprentice
Joined: 11 Apr 2003 Posts: 267
|
Posted: Mon Sep 17, 2007 6:28 pm Post subject: Xorg only works the first time, locks up if I run it again |
|
|
I have a fresh installation of gentoo on a new computer. It ran memtest for 15 hours without error.
When I load X from a fresh boot everything works great. If I quit X, I get dropped back to the console but everything is blurry and not centered correctly, the bottom of the image is somewhere below the bottom of my screen.
If at this point I do startx again, X appears to load but the screen just flickers and then blanks. If I ssh into the box it still appears to be running fine. Xorg.log doesn't show anything unusual as far as I can tell.
I have not figured out how to get the display back other than rebooting the machine.
Code: |
Section "ServerFlags"
AllowMouseOpenFail
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relbits" "~0-2 ~6 ~8"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Samsung"
ModelName "Samsung SyncMaster 226BW"
Option "DPMS"
EndSection
Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVidia GeForce 8800 GTS"
Driver "nvidia"
Option "RenderAccel" "1"
Option "CursorShadow" "1"
Option "CursorShadowXOffset" "2"
Option "CursorShadowYOffset" "1"
Option "NoLogo"
Option "DPMS" "TRUE"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Virtual 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-mm2 i686)
=================================================================
System uname: 2.6.21-mm2 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Sun, 16 Sep 2007 23:30:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa bash-completion berkdb bitmap-fonts cdr cli cpudetection cracklib crypt dbus dri dts dvd dvdr dvdread encode exif ffmpeg gdbm gpm gstreamer gtk2 hal iconv imagemagick isdnlog java jpeg libnotify matroska midi mmx mono mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp oscar pam pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x264 x86 xcomposite xorg xscreensaver xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv vesa vga"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Tue Sep 18, 2007 5:55 am Post subject: |
|
|
When you quit X, what exactly do you do? I would guess that X fails to start the second time because a server instance is detected. Can you start X with a different display number? |
|
Back to top |
|
|
Schizoid Apprentice
Joined: 11 Apr 2003 Posts: 267
|
Posted: Tue Sep 18, 2007 6:17 am Post subject: |
|
|
I am using Xfce4, and I just use the "Quit" button on the panel.
I will try that next time I quit X, but how would that explain the graphical corruption? |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Tue Sep 18, 2007 6:32 am Post subject: |
|
|
you could try specifying modes of screen resolutions in the xorg.conf
the default found may be maximum for your monitor driver.
reffer the xorg.conf.example _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
VoVaN l33t
Joined: 02 Jul 2003 Posts: 701 Location: The Netherlands
|
Posted: Tue Sep 18, 2007 7:28 am Post subject: |
|
|
Could you check logs (xorg and messages) as well? |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3934 Location: Hamburg
|
Posted: Tue Sep 18, 2007 1:32 pm Post subject: |
|
|
Do you use a frame buffer ?
I ran into some problems if I did a /etc/init.d/xdm restart" w/ a frame buffer, however w/o a frame buffer my problems went away. |
|
Back to top |
|
|
Schizoid Apprentice
Joined: 11 Apr 2003 Posts: 267
|
Posted: Tue Sep 18, 2007 5:06 pm Post subject: |
|
|
I rebooted without using framebuffer and it all works fine now. I was just using the standard vesa one. I tried using the nvidia framebuffer driver but that did not work at all. |
|
Back to top |
|
|
|