Jump to content

X Configuration


red
 Share

Recommended Posts

Howdy all!

 

Been really frustrated trying to find the answer to this problem, unfortunately all the searching of this board and trying the suggested fixes is still leaving me with a black screen.

 

Here is the deal.

 

Installed 9.2 on a 450MHz machine with an onboard ATI Rage Pro AGP 2x video card. Intended use for this system is firewall/router.

 

Install went fine, completed without any incident, including setup of the X screen. Now all i get when running startx is a black screen. I have to use the "windows" key on the keyboard to "scroll" through 6 other logins to get back to the screen that says

"fatal IO error 104 (Connection reset by peer) on X server ""0.0"

after 0 requests (0 known processed) with 0 events remaining."

 

As I said, i have been all through these boards and have com up empty for any solution that will fix my problem.

 

I have included my config and log file since you all seem to request them alot (rightfully so).

 

I did manage to get X to launch one time while in failsafe mode, but have not been able to do so again. I have also tired all driver options and both XFree86 version 4 and version 3 with the same results.

 

Thank for the help.

 

RED

 

XF86Config-4

Section "Module"
   Load "glx" # 3D layer
EndSection

Section "Keyboard"
   Protocol "Standard"
   XkbRules "sfree86"
   XkbModel "pc104"
   XkbKeymap "us"
   XkbLayout "us"
   XkbSymbols "us(pc104)"
   XkbGeometry "pc"
EndSection

Section "Pointer"
   Device "/dev/mouse"
   Protocol "IMPS/2"
   ZAxisMapping 4 5
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Action Systems, Inc."
   ModelName "Action Monitor CK-4148"
   HorizSync 30.0-50.0
   VertRefresh 50.0-85.0
   
   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
   
   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
   Identifier "device1"
   VendorName "ATI"
   BoardName "ATI Mach64 Utah"
   Driver "ati"
   Option "DPMS"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 16
   
   Subsection "Display"
       Depth 8
       Virtual 800 600
   EndSubsection
   
   Subsection "Display"
       Depth 15
       Virtual 800 600
   EndSubsection
   
   Subsection "Display"
       Depth 16
       Virtual 800 600
   EndSubsection
   
   Subsection "Display"
       Depth 24
       Virtual 800 600
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   Screen "screen1"
EndSection

 

XFree86.0.log

XFree86 Version 4.3.0
Release Date: 9 May 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.18-23mdksmp i686 [ELF] 
Build Date: 10 September 2003
Before reporting problems, check http://www.XFree86.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/XFree86.0.log", Time: Sat Jan  3 12:45:58 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "monitor1"
(**) |   |-->Device "device1"
(==) |-->Input Device "Implicit Core Pointer"
(==) |-->Input Device "Implicit Core Keyboard"
(**) Option "Protocol" "Standard"
(**) Option "XkbKeymap" "us"
(**) XKB: keymap: "us" (overrides other XKB settings)
(==) Keyboard: CustomKeycode disabled
(WW) No FontPath specified.  Using compiled-in default.
(==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,unix/:-1"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
Using vt 7
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4

Link to comment
Share on other sites

I know nothing about ati but....

 

do you have?

Section "Files"
   # Multiple FontPath entries are allowed (they are concatenated together)
   # By default, Mandrake 6.0 and later now use a font server independent of
   # the X server to render fonts.
   FontPath "unix/:-1"
EndSection

 

shouldn't the modules section have more?

Section "Module"
   Load "dbe" # Double-Buffering Extension
   #Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx"
EndSection

 

in the Screen Section comment out the virtual crap and actually have something there

    Subsection "Display"
       Depth 16
       Modes "800x600" "640x480"
       #Virtual 800 600
   EndSubsection

 

your Section "ServerLayout" soesn't have a mouse and keyboard and equally your

Section "InputDevice" for the keyboard doesn't have an identifier

and

Section "InputDevice" for the mouse doesn't have an identifier

 

Here's mine

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "Keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "en_US"
   Option "XkbOptions" ""
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/psaux"
   Option "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
   Identifier "layout1"
   Screen "screen1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   Option       "Clone" "off"
   Option       "Xinerama" "off"
EndSection

 

 

 

try

adding

Identifier "Keyboard1"

Identifier "Mouse1"

to relevant sections and

Section "ServerLayout"
   Identifier "layout1"
   Screen "screen1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
EndSection

Link to comment
Share on other sites

To answer the last 2 replies.

 

Yes, i tried the standard vesa driver, the SVGA driver, both using the XFdrake and XF86config...and version 3 and 4 of X.

 

I have tried all 3 of the mentioned configuration utilities, all with the same results.

 

The config file was crated with the XFdrake.

 

Just for grins, i have also tried to make sure the Video card has an IRQ allocated in BIOS, unfortunately it does not have that option anywhere, so I am unsure if that could be causing the trouble.

 

This is an ASUS branded HP motherboard with HP bios, and onboard video. I am half tempted to see if a different card installed would change things.

 

It almost seems to me there is something missing, what I do not know.

 

Thanks for the help folks.

 

RED

Link to comment
Share on other sites

Ok, i have the same graphics card,

 

lspci:

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)

 

 

Here is my XF86Config

 

Section "Files"

        FontPath        "unix/:7100"                    # local font server

        # if the local font server has problems, we can fall back on these

        FontPath        "/usr/lib/X11/fonts/Type1"

        FontPath        "/usr/lib/X11/fonts/CID"

        FontPath        "/usr/lib/X11/fonts/Speedo"

        FontPath        "/usr/lib/X11/fonts/misc"

        FontPath        "/usr/lib/X11/fonts/cyrillic"

        FontPath        "/usr/lib/X11/fonts/100dpi"

        FontPath        "/usr/lib/X11/fonts/75dpi"

EndSection

 

Section "Module"

        Load    "GLcore"

        Load    "dbe"

        Load    "ddc"

        Load    "dri"

        Load    "extmod"

        Load    "freetype"

        Load    "glx"

        Load    "int10"

        Load    "record"

        Load    "speedo"

        Load    "type1"

        Load    "vbe"

EndSection

 

Section "InputDevice"

        Identifier      "Generic Keyboard"

        Driver          "keyboard"

        Option          "CoreKeyboard"

        Option          "XkbRules"      "xfree86"

        Option          "XkbModel"      "pc104"

    Option          "XkbLayout"  "us"

EndSection

 

Section "InputDevice"

        Identifier      "Configured Mouse"

        Driver          "mouse"

        Option          "CorePointer"

        Option          "Device"                "/dev/usb/mouse0"

        Option          "Protocol"              "USB"

        Option          "Emulate3Buttons"    "true"

        Option          "ZAxisMapping"          "4 5"

EndSection

 

Section "InputDevice"

        Identifier      "Intelli Mouse"

        Driver          "mouse"

        Option          "AlwaysCore"

        Option          "CorePointer"

        Option          "Device"                "/dev/input/mice"

        Option          "Protocol"              "IMPS/2"

        Option          "Emulate3Buttons"    "true"

        Option          "ZAxisMapping"          "4 5"

EndSection

 

Section "Device"

        Identifier      "ATI 3D Rage Pro"

        Driver          "ati"

EndSection

 

Section "Monitor"

        Identifier      "HP"

        HorizSync    30-54

        VertRefresh  50-85

        Option          "DPMS"

EndSection

 

Section "Screen"

        Identifier      "Default Screen"

        Device          "ATI 3D Rage Pro"

        Monitor      "HP"

        DefaultDepth    16

        SubSection "Display"

                Depth        1

                Modes        "800x600" "640x480"

        EndSubSection

        SubSection "Display"

                Depth        4

                Modes        "800x600" "640x480"

        EndSubSection

        SubSection "Display"

                Depth        8

                Modes        "800x600" "640x480"

        EndSubSection

        SubSection "Display"

                Depth        15

                Modes        "800x600" "640x480"

        EndSubSection

        SubSection "Display"

                Depth        16

                Modes        "800x600" "640x480"

        EndSubSection

        SubSection "Display"

                Depth        24

                Modes        "800x600" "640x480"

        EndSubSection

EndSection

 

Section "ServerLayout"

        Identifier      "Default Layout"

        Screen          "Default Screen"

        InputDevice  "Generic Keyboard"

        InputDevice  "Configured Mouse"

        InputDevice  "Intelli Mouse"

EndSection

 

Section "DRI"

        Mode    0666

EndSection

 

My guess is that you have a dodgy config for your monitor.

Link to comment
Share on other sites

OK, a bit more. your config is really warped, i looked at my old working Mandrake 9.0 config,

 

http://www.geocities.com/rcxau/xf86.txt

 

There and looking at yours and my current one, i tried to make you a new config:

 

try it! hopefully it works

 

Section "Files"

    FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe"

Load "extmod"

Load "freetype"

Load "glx"

Load "type1"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver  "keyboard"

Option  "CoreKeyboard"

Option  "XkbRules" "xfree86"

Option  "XkbModel" "pc104"

Option  "XkbLayout" "us"

EndSection

 

Section "InputDevice"

Identifier "Intelli Mouse"

Driver  "mouse"

Option  "AlwaysCore"

Option  "CorePointer"

Option  "Device"  "/dev/mouse"

Option  "Protocol"  "IMPS/2"

Option  "Emulate3Buttons" "true"

Option  "ZAxisMapping"  "4 5"

EndSection

 

Section "Device"

Identifier "ATI 3D Rage Pro"

Driver  "ati"

EndSection

 

 

 

Section "Monitor"

Identifier "monitor1"

VendorName "Action Systems, Inc."

ModelName "Action Monitor CK-4148"

HorizSync 30.0-50.0

VertRefresh 50.0-85.0

   

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576"  50.00  768  832  846 1000 576  590  595  630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576"  63.07  768  800  960 1024 576  578  590  616

EndSection

 

 

Section "Screen"

Identifier "Default Screen"

Device  "ATI 3D Rage Pro"

Monitor  "monitor1"

DefaultDepth 16

SubSection "Display"

  Depth  1

  Modes  "800x600" "640x480"

EndSubSection

SubSection "Display"

  Depth  4

  Modes  "800x600" "640x480"

EndSubSection

SubSection "Display"

  Depth  8

  Modes  "800x600" "640x480"

EndSubSection

SubSection "Display"

  Depth  15

  Modes  "800x600" "640x480"

EndSubSection

SubSection "Display"

  Depth  16

  Modes  "800x600" "640x480"

EndSubSection

SubSection "Display"

  Depth  24

  Modes  "800x600" "640x480"

EndSubSection

EndSection

 

Section "ServerLayout"

Identifier "Default Layout"

Screen  "Default Screen"

InputDevice "Generic Keyboard"

InputDevice "Intelli Mouse"

EndSection

Link to comment
Share on other sites

Well, I copied your code to a txt file and moved it into place on the Mandrake box.

 

Still the exact same error.

 

For the hell of it, I pulled out my Knoppix CD and booted into X with a screen resolution of 1024x768....NO DICE! Rebooted and chose 800x600, and whaddya know. I have an X desktop!!

 

So I know the hardware is capable, though I am starting to agree that the monitor is a big part of the problem. I am digging through some newly acquired hand-me-downs for a more capable monitor. This monitor has given me problems in the past, even on a windows system.

 

I will completely reconfigure X once I get a new monitor attached and see what happens.

 

Thanks again!!

 

RED

Link to comment
Share on other sites

Got It!!!

 

Put a different monitor in place and it is working fine. However it would only succeed using X 3.3.x not 4.3.x.

 

No biggie here, its a server, not much of a reason to be worried about latest and greatest video display.

 

At any rate, the new monitor was installed, I allowed XFdrake to config everything and it was a no go. I chose the same driver but opted for the 3.3.x version and it tested out just fine.

 

Ultimately I deleted ALL traces of the config files and allowed a brand spankin new one to be written.

 

Thanks for the help folks. now lets get this puppy set up as a firewall/router.

 

Shorewall anyone??

 

Thanks!!

 

RED

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...