LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware-current Xorg 6.8.1 crashes (http://www.linuxquestions.org/questions/slackware-14/slackware-current-xorg-6-8-1-crashes-257708/)

SirJohnWackness 11-21-2004 05:07 PM

Kernel 2.6.9 i810 driver and Xorg Crashing
 
I've been battling with this situation for a few days. I used the Slackmon script to get all the Slackware-current files. I did pkgupgrade --install-new ./*/*.tgz and upgraded everything without a problem. I have all the current glibs and the necessary stuff. Originally I installed a base setup of Slackware 10.0 about a week ago. Everything worked pretty well but I wanted to grab the new Xorg package. After the upgrade Xorg crashes without even leaving any entry in a log file. I've rerun the xorgconfig script and set it up. Everytime I run startx afterwards it crashes. If I envoke xorgcfg or xorgsetup to configure it gives me a fatal error of "No Screens Found," but obviously doesn't crash because it doesn't load. Xorg loads a distorted and garbled screen of staticy colors and then about 4 seconds later the mouse freezes and the whole thing hangs. I can't cntrl+alt+backspace out, alt+f6 out, or cntrl+alt+del. It makes me think that perhaps it's not really an issue of X but maybe dependencies that are goofing up the kernel or a glib package or something. Aside from X, everything is perfect. Any ideas guys?

I've had a similar problem in the past with a garbled screen, but I could always cntrl+alt+backspace out and reconfigure it.

Beresford 11-21-2004 06:52 PM

First off, I'm a real newbie so I don't think I will be much help.

Have you tried manually looking at your X11 setup file using a text editor? If the error message is that it can't find any monitors, have a look at the monitors section and see if a monitor has been defined.

You can even try renaming you setup file to something else and then trying to run xorgcfg. Hopefully when it doesn't find the configuration file it will create a new one with safe defaults.

Good luck.

SirJohnWackness 11-21-2004 07:10 PM

Hey, thanks for replying!

I took a look at the file after xorgcfg and xorgsetup created it but I'm not sure what the monitor lines are supposed to look like. I haven't compared the xorgconfig generated file to the others.

I'll try plugging in one of those monitor lines from the other config files when I get back home.

egag 11-21-2004 07:17 PM

maybe post your " xorg.conf " -file here.
and i guess there are messages in your " /var/log/xorg.0.log " -file

egag

speedbump 11-21-2004 11:13 PM

Sir John

You didn't say what video card you're running, or if you've got the maker's drivers installed.

If, by chance you do, and if by chance you're running an ATI, you should seriously consider regressing to xorg 6.7. ATI won't have anything for xorg 6.8 for another release or two.

ATI + xorg 6.8 = hard freeze. None of the "three-fingered-salutes" or session switchers will work.

SirJohnWackness 11-21-2004 11:19 PM

Thanks for the replies.

I'm using an onboard video card (Intel i810e). It worked fine in 6.7.0 but I'm wondering if perhaps Xorg did some work on the driver for 6.8.0+.

I checked my log files again and this time I have an error message. I'm setting up SSH on my laptop right now so I can copy and paste it into this post. It should be up in a minute.

SirJohnWackness 11-21-2004 11:29 PM

From the file xorg.conf:

Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard" EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "freetype"
EndSection

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 13616.0 - 0.0
HorizSync 30.0 - 96.0
VertRefresh 842549056.0 - 858861632.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82810E DC-133 CGC [Chipset Graphics Controller]"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
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


This is generated by running xorgconfig.
When I run startx I get an error of "Fatal error: no screens found"


This is the Xorg.0.log file.

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/Ghetto:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.27 i686 [ELF]
Current Operating System: Linux Ghetto 2.6.9 #1 Mon Nov 15 17:08:47 MST 2004 i686
Build Date: 18 October 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
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 Nov 21 22:00:26 2004
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 48 of section Monitor in file /etc/X11/xorg.conf
The HorizSync keyword must be followed by a list of numbers or ranges.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.





AHHHH!!!! Wait, I just noticed something in that log. The build system for the package is 2.4.27. I'm running 2.6.9. Would this have anything to do with the system hanging?

SirJohnWackness 11-21-2004 11:48 PM

I also reran the setup and this time tried a different driver (generic vga). I got the no screen found error again. When I tried i810e, it again crashed.

egag 11-22-2004 07:12 AM

from xorg.conf :
-------------
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 13616.0 - 0.0
HorizSync 30.0 - 96.0
VertRefresh 842549056.0 - 858861632.0
Option "DPMS"
EndSection
---------------

should be smth like :
--------------
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "OQI"
ModelName ""
HorizSync 30.0 - 96.0 -------> check this value in monitor documentation ( or look on www )
VertRefresh 50-120 -------> and this too.
Option "DPMS"
EndSection
---------
and in your " screen-section " there is no valid screen .
first : " device" and " monitor " are both double in the list; should be only once....
second : you have " defaultdepth=16 " so you need a " subsection display " like this :
------------
Subsection "Display"
Depth 16
Modes "1024x768" ------>fill in resolution you want.
ViewPort 0 0
EndSubsection
------------
i think that should do it.
good luck.

egag

SirJohnWackness 11-22-2004 08:29 PM

Thanks for all the help. I did some searching on google and it looks like someone "cleaned up" the code for the i810 video driver in kernel 2.6.9. Whatever was changed in the kernel is causing my system to hang. It looks like I'll be reverting back to 2.6.7 or 2.6.10-rc2-prepatch if i810 has been fixed in the change log.

richcoosa19 11-22-2004 10:34 PM

Well one thing I would try before doing something that drastic would be to rerun your xorgsetup and then xorgconfig. It will re-detect all of your stuff and "reset" it all... The only reason I recommend this is that I was at one time in the same situation, with integrated video i810 chip set on a Compaq and after this, it worked.

SirJohnWackness 11-22-2004 10:38 PM

I appreciate the reply, but I have tried rerunning each command at least 20 times with the same results. Under these conditions I can only run Xorg at 16bits and max resolution of 1024x768. When I was using kernel 2.4.27 and Xorg 6.7.0 I could get it to run at 1600x1200 @ 24bits.


I'm trying a new kernel and see if it works.



Out of curiosity, which kernel version and Xorg version are you running on your i810 video card?

typho 11-22-2004 11:06 PM

You may still have problems with the current xorg.conf file you posted. Check out egag's post because it looks like several things may be wrong in that file. If you see the xorg.0.log file it says this:

Quote:

Parse error on line 48 of section Monitor in file /etc/X11/xorg.conf
The HorizSync keyword must be followed by a list of numbers or ranges.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
That is what's making me think it is your xorg.conf file...

richcoosa19 11-22-2004 11:15 PM

I did this for a client and it was a few months back, I don't really recall which versions of all servers it was using, I think stock Slack 10 though.

SirJohnWackness 11-22-2004 11:19 PM

Yeah, it ran fine on stock Slackware 10.0. I ran into problems when I grabbed slackware-current.


All times are GMT -5. The time now is 04:55 AM.