Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X start causes total freeze
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Oct 13, 2010 12:13 am    Post subject: X start causes total freeze Reply with quote

I just spent 2 months waiting for ASUS to finally send me a working replacement motherboard. I have it installed and Windows works fine and Linux works fine with the exception of X. I didn't have problems before, but maybe I'm missing something here.

When I start X (xdm), the system freezes completely. Everything becomes unresponsive, including trying to SSH in. startx causes the same issue. Doesn't get a chance to update the logs so nothing in them, either. I have to hard reboot the system.

I moved the xorg.conf file and startx didn't freeze, but it did error out and failed to start X. I also did an emerge --emptytree world and revdep-rebuild which made no difference.

Any ideas?

Below is my xorg.conf file.

Code:
Section "ServerLayout"                                                                                                                                                             
    Identifier     "Normal Layout"                                                                                                                                                 
    Screen     0   "Screen0" 0 0                                                                                                                                                   
    InputDevice    "Keyboard0" "CoreKeyboard"                                                                                                                                       
    InputDevice    "Mouse0" "CorePointer"                                                                                                                                           
EndSection                                                                                                                                                                         
                                                                                                                                                                                   
Section "Files"                                                                                                                                                                     
    FontPath        "/usr/share/fonts/"                                                                                                                                             
    FontPath        "/usr/share/fonts/misc/:unscaled"                                                                                                                               
    FontPath        "/usr/share/fonts/100dpi/:unscaled"                                                                                                                             
    FontPath        "/usr/share/fonts/75dpi/:unscaled"                                                                                                                             
    FontPath        "/usr/share/fonts/misc/"                                                                                                                                       
    FontPath        "/usr/share/fonts/Type1/"                                                                                                                                       
    FontPath        "/usr/share/fonts/100dpi/"                                                                                                                                     
    FontPath        "/usr/share/fonts/75dpi/"                                                                                                                                       
    FontPath        "/usr/share/fonts/cyrillic/"                                                                                                                                   
    FontPath        "/usr/share/fonts/TTF/"                                                                                                                                         
    FontPath        "/usr/share/fonts/corefonts"                                                                                                                                   
    FontPath        "/usr/share/fonts/freefonts"                                                                                                                                   
EndSection                                                                                                                                                                         
                                                                                                                                                                                   
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "VX922"
    VendorName     "ViewSonic"
    ModelName      "VX922"
    HorizSync      30.0 - 82.0
    VertRefresh    50.0 - 75.0
    Option         "DPMS" "true"
EndSection

Section "Device"
    Identifier     "8800GTS"
    Driver         "nvidia"
    VendorName     "nVidia"
    BoardName      "GeForce 8800GTS 512MB"
    Option         "NoLogo"
    Option         "RenderAccel" "true"
    Option         "BackingStore" "true"
#    Option         "CoolBits" "1"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBGLXVisuals" "true"
#    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "8800GTS"
    Monitor        "VX922"
    DefaultDepth    24
    Option         "SecondMonitorHorizSync" "64"
    Option         "SecondMonitorVertRefresh" "60"
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0;DFP-0: 1280x1024 +0+0, DFP-1: NULL"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "true"
EndSection


lspci:
Code:
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 12)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 12)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 12)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 12)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 12)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 12)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 12)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 12)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 4
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
02:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GTS 512] (rev a2)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 RAID bus controller: Marvell Technology Group Ltd. Device 6440 (rev 02)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)


emerge --info:
Code:
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Core-TM-_i7_CPU_940_@_2.93GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 11 Oct 2010 19:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mtune=native -msse4 -mfpmath=sse -mcx16 -mpopcnt -msahf -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mtune=native -msse4 -mfpmath=sse -mcx16 -mpopcnt -msahf -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j14"
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"
PORTDIR="/usr/portage"
SYNC="rsync://home.richgannon.net/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amarok berkdb bitmap-fonts branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus divx dri dts dvd dvdr dvdread emboss encode esd exif fam ffmpeg firefox flac fortran gdbm gif glibc-omitfp glitz gmplayer gnutls gpm gtk gtk2 hal hddtemp iconv java javascript jpeg kde lame lcms libnotify lm_sensors logitech-mouse mad mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nvidia offensive ogg openal opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 quicktime rdp readline reflection samba sdl semantic-desktop session smp spell sse sse2 sse3 ssl startup-notification svg symlink sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vdpau vidix vnc win32codecs x264 x86 xcb xine xinerama xml xorg xpm xulrunner xv xvid 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2072
Location: Here and Away Again

PostPosted: Wed Oct 13, 2010 1:14 am    Post subject: Reply with quote

Hmm, what error does it throw without the xorg.conf?
Also, did you try the automated creation of the xorg.conf after replacing the MOBO?
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Oct 13, 2010 1:45 pm    Post subject: Reply with quote

It says it can't determine the resolution to use or something like that. I don't remember off hand and not at home at the moment.

How do I automatically create a new xorg.conf? Why would a new motherboard require this? The first replacement dropped in and worked (atleast this part). I also made sure the PCIID of the video card is the same, but commented that line out anyway to see if it made a difference and it did not.

BIOS settings all seem to be the same as my original motherboard (including BIOS version).
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Thu Oct 14, 2010 1:49 am    Post subject: Reply with quote

I haven't tested it any further, but I've read that a bad motherboard can cause this. Is this true? This is the second RMA board I've recieved from ASUS. The first one had both NICs fail. The second had BIOS that would not update which had serious flaws when running in AHCI mod. This one worked okay except for this. Nothing changed on the drives between the motherboards with the exception of the emerge --emptytree to try to fix this.

Should I ask for a THIRD RMA? Christ...it's been 2 months since I had a working desktop.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Fri Oct 15, 2010 8:21 am    Post subject: Reply with quote

If it's the reason of resolution, you can try to set the modelines.
You can copy the modelines from the page:
http://www.mythtv.org/wiki/Modeline_Database

Try to edit your monitor section and screen section.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Oct 15, 2010 8:23 am    Post subject: Reply with quote

is this xorg 1.7? if so, are hald and dbus running (they should be at the 'default' runlevel, so they run at startup)

if not running, try starting them up, and then start X without an xorg.conf, see if everything "just works"
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Fri Oct 15, 2010 2:36 pm    Post subject: Reply with quote

dbus and hald are running and in the default runlevel. If I startx or /etc/init.d/xdm start, it fails to find a working resolution and quits X with errors relating to unable to find a resolution.

The modeline I have in xorg.conf worked great for years. Only the replacement of this motherboard caused it to completely freeze for some reason when X is started with this xorg.conf (or maybe just X actually runs in general since I can't confirm either way). Everything else works great in Vista and Gentoo except this X issue.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
s9ifa
n00b
n00b


Joined: 09 Oct 2010
Posts: 14
Location: Algeria (Oran)

PostPosted: Fri Oct 15, 2010 5:51 pm    Post subject: Reply with quote

if x86-video-intel not installed

run this command

Quote:
emerge xf86-video-intel


and reconfigure your xorg with

Quote:
Xorg -configure
cp /root/xorg.conf.new /etc/X11/xorg.conf
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Fri Oct 15, 2010 6:22 pm    Post subject: Reply with quote

I may have the reasoning wrong, but wouldn't that driver only be for Intel's onboard VGA devices? I don't have an onboard VGA chip, only a PCI-Express 2.0 16x nVidia 8800GTS 512, using the nvidia-drivers and nvidia-settings packages.

I used Xorg -configure and Xorg -config /root/xorg.conf.new which caused it to freeze at a black screen just like it did every other time with my original Xorg.conf. Keyboard and case power button completely unresponsive. Unresponsive over SSH and to network ping. Have to hard reset it.

Here's the xorg.conf.new it generated:
Code:
area51 ~ # cat xorg.conf.new
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "dri"
        Load  "record"
        Load  "dri2"
        Load  "dbe"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "G92 [GeForce 8800 GTS 512]"
        BusID       "PCI:2:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)


Last edited by BlueFusion on Fri Oct 15, 2010 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
s9ifa
n00b
n00b


Joined: 09 Oct 2010
Posts: 14
Location: Algeria (Oran)

PostPosted: Fri Oct 15, 2010 6:28 pm    Post subject: Reply with quote

i am not read correctly your lspci

but your nvidia driver is installed or not
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Fri Oct 15, 2010 6:30 pm    Post subject: Reply with quote

Yes I have nvidia-drivers installed.

Code:
area51 ~ # equery list nvidia
[ Searching for package 'nvidia' in all categories among: ]
 * installed packages
[I--] [  ] media-video/nvidia-settings-195.36.24 (0)
[I--] [  ] x11-drivers/nvidia-drivers-195.36.24 (0)
area51 ~ # lsmod
Module                  Size  Used by
nvidia               9830592  0
scsi_wait_scan           451  0

_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
s9ifa
n00b
n00b


Joined: 09 Oct 2010
Posts: 14
Location: Algeria (Oran)

PostPosted: Fri Oct 15, 2010 7:00 pm    Post subject: Reply with quote

what is error for startx

like this or no (intel -> nvidia )

Quote:
startx

....
....
....
error setting MTRR
intel (0): faild to initialize kernel memory manager
intel (0): AGP Gart support is either not avaible or cannot be used
intel (0): couldn't allocate video memory

Fatal server error :
Addscreen/ScreenInit failed for driver 0

xinit: No such file or diroctory (error 2), unable to connect to X server
xinit: No such process (error 3) server error



and what is the probleme with gdm or kdm
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Fri Oct 15, 2010 11:48 pm    Post subject: Reply with quote

I am not at the computer at the moment, but it was not a driver error when I tried startx, it was a failed to find a resolution error and then it quit.

Like I said before, the driver is installed. For good measure, I re-emerged it and rmmod and modprobe'd nvidia. This same driver/version worked without issue in the past, it only began when I installed this RMA motherboard which is the same revision as the original and the first replacement (this is the second replacement currently installed).
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2072
Location: Here and Away Again

PostPosted: Fri Oct 15, 2010 11:59 pm    Post subject: Reply with quote

Right, if it's indeed identical board, and all the settings are exactly the same as before, I would expect it to work as well... I imagine just one simple option could make things go bad, though but I'm not experienced enough to really go guessing what it could be.

I have had my share of bad hardware, such as mother-boards and usually the problem would never go away with a replacement so I either got a new one from the retailer as a replacement, or I would ask them for a refund of some kind and get a different board...

Surely a bad board could do things like this.
What was the problem with the original one in the first place?
Also, was it old/how did the problem first appear?
I've encountered a lot of bad "batches" I guess because like I said, not even the replacements would work for me, or maybe it was just my luck or a bad hardware combination.


Moving along, when you can get to them, could you post the full Xorg.0.log with the errors you can produce?
Perhaps with, and without the xorg.conf being used.
You say it's just about some resolution stuff but I, for one, am out of ideas now really and would like to see the logs to maybe get some more. ;^^

Oh, and maybe try to see what an xorg.conf created by using the nvidia-xconfig will do too.
Well, I know I would if I had nothing better to do haha...

Better than doing nothing I guess unless anyone else comes up with something.
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Sun Oct 17, 2010 11:17 pm    Post subject: Reply with quote

Here is the output from using the startx command as regular user or root:
Quote:
area51 ~ # cat startx.log
hostname: Unknown host
xauth: creating new authority file /root/.serverauth.6701


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-gentoo-r6 i686
Current Operating System: Linux area51.richgannon.net 2.6.34-gentoo-r6 #1 SMP PREEMPT Tue Oct 12 20:54:41 EDT 2010 i686
Kernel command line: root=/dev/ram0 init=/linuxrc real_root=/dev/sda2 vmalloc=256MB video=vesa:off vga=775
Build Date: 12 October 2010 06:23:03PM

Current version of pixman: 0.18.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 17 18:35:31 2010
(==) Using default built-in configuration (39 lines)
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
error setting MTRR (base = 0xf9000000, size = 0x00e00000, type = 1) Inappropriate ioctl for device (25)
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found

waiting for X server to shut down error setting MTRR (base = 0xf9000000, size = 0x00e00000, type = 1) Inappropriate ioctl for device (25)


With the xorg.conf file renamed, I started xdm. It works, however only with the xf86-video-vesa driver. When I try to start with the nvidia driver, the screen still goes black and the system becomes completely unresponsive, and nothing gets logged to the Xorg.0.log or messages files since it becomes unresposnive and anything that may have gotten to the messages file would not get a chance to be synced to the filesytem (ext4).

Any more ideas? Like I said, it works 100% in Vista as far as I can tell, and the video worked fine with the same drivers, flags, etc. before this replacement motherboard.

Oh and to answer the question as to what was wrong with the original motherboard, the original motherboard had a problem with the NICs and they causes the system to power-off when they negotiated at 1000Mbps. The first replacement motherboard had faulty BIOS that would not respond to a BIOS update and I was unable to use the SAS controller in AHCI mode or else it would freeze with the version it shipped with. I updated this board to the latest BIOS I had running on my original board and the original problem is gone, it's just this video issue now.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Oct 18, 2010 12:18 am    Post subject: Reply with quote

I also tried starting by explicitly calling xdm and kdm from cli. Both result in the same issue. I also changed /etc/conf.d/xdm to use xdm instead of kdm with the same result.

I can't get any errors from cli or in a log file.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2072
Location: Here and Away Again

PostPosted: Mon Oct 18, 2010 12:37 am    Post subject: Reply with quote

For the log, it seems like it can find the modules for the nouveau/nv which is used by default with no xorg.conf, but if the xorg.conf used there was told to use nvidia, that would be no problem, I think.

In the end:

Code:

/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found

these lines always meant for me that X was actually working (it really should just say it's working but not finding anything to do!) but did not have anything to do as it tries to start the default, basic applets listed there.
Every time I had this and did something like this:

Code:
env-update; source /etc/profile       #update variables
su yourusername                       #applying the commands as root for the user name going to use the thing
echo "exec startkde" > ~/.xinitrc     #the line 'exec startkde' into .xinitrc
source /etc/profile                   #update variables
startx                                #testing if it works

It worked and KDE launched as it should!
I just had forgotten to tell X what to start (as I really only knew to start it with the command 'startx' alone).

Now the difference to your situation probably is that you're perhaps using something else than just "startx" mainly and have not specified the default thing to start in the .xinitrc so not probably helping the problem to be solved but might explain that log there, I think.

I actually remember now that I have a similar problem before with other hardware of mine, when I was first trying Gentoo but that was like a year ago and I think I never found a way to solve the problem (that was a complete system lock-up emerging from startx).


Anyhoo, can't really think of anything helpful right now. =/
I'll keep thinking about it and post if I come up with something though I'm sure some other people here got more ideas!

Good luck!
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Oct 18, 2010 2:43 am    Post subject: Reply with quote

I tried what you suggested and it loads KDE but again, like starting xdm/kdm without xorg.conf in place, it loads the VESA driver. It seems whenever the nvidia driver is used it causes this freeze. I just recompiled my kernel and the nvidia-driver module for the hell of it and rebooted which made no difference.

I guess it's just this damn motherboard like I suspected from the start. I don't know how since it works great in Windows, but I can't find any reason it shouldn't work with the configuration in Linux.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2072
Location: Here and Away Again

PostPosted: Tue Oct 19, 2010 3:57 am    Post subject: Reply with quote

Yeah, just as I expected.
It truly is weird especially since it works on windows etc. but well, sometimes these things can be really mysterious. :S
Like my current system, VERY randomly crashes when using windoze 7, winxP has bad performance when multitasking (worse now with 6 cores than before with 2 cores) and even Linux crashed 2 times now I think though not sure if it's the same problem...

Btw., I don't think you have mentioned this but, have you tried different version of the nvidia-drivers?
Like older or whatever there is available, just for the sake of trying. D:
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Tue Oct 19, 2010 10:58 pm    Post subject: Reply with quote

I upgraded to the latest version, so I tried the previous stable version of nvidia-drivers and the latest stable version of nvidia-drivers. ASUS just wants me to send it back...AGAIN. I think I have lost hope in this company and I used to use strictly ASUS motherboards.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2072
Location: Here and Away Again

PostPosted: Thu Oct 21, 2010 1:10 am    Post subject: Reply with quote

It does seem like there just sometimes is a model of a board that just is plain bad, I have had this from ASUS, ASROCK and ECS to name a few. So nowadays if a board fails I try to get a different one in the start... just to not go through with more failing ones.
I'm sure this is not always the case but it's how it usually has been for me. >.<

I also tend to use rather cheap or mid-priced ones at most because my hardware tends to change often. Have had several nice boards from ASROCK but the newest have been a disappointment especially on the software-bundle-side...


But anyways, without going into a rambling off-topic, I wish you luck in getting a problem free one board/get this issue solved soon.
Good luck!
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum