LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error from xf86HandleConfigFile while installing Slackware 8.1 (https://www.linuxquestions.org/questions/slackware-14/error-from-xf86handleconfigfile-while-installing-slackware-8-1-a-27734/)

jamaso 08-12-2002 12:30 AM

Error from xf86HandleConfigFile while installing Slackware 8.1
 
I'm trying to install Slackware 8.1 :

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18 i686 [ELF]
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: Mon Aug 12 02:03:38 2002
(==) Using config file: "/root/XF86Config"
Data incomplete in file /root/XF86Config
Undefined Device "Diamond Stealth SIII 540" referenced by Screen "Screen 1".
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

----------------------------------------------------------------------------
my card is a Diamond Stealth SIII 540 and usually i get it configured with other distros as Savage4 and a S3 chipset. I looked at xf86Config and i understand that my card might not be yet ported so i just wanted to know how can configure it with the same (slackware 8.0) standards , which worked right out of the box for me . can anyone enlighten me here , please .

Aussie 08-12-2002 01:16 AM

What driver are you using?
According to this page it should be "savage" in XFree86-4.2.0

dai 08-12-2002 02:37 AM

I encountered a similar problem before I installed the new nvidia drivers for my gforce 4. Just get the correct driver (if available) for your card and ammend the XF86Config file to point at it in the device driver section. Also check the docs incase you need to make any other changes.

If you still get the problem after this try doing modprobe "driver name"

now try startx

jamaso 08-12-2002 08:03 AM

hi , i feel like there is something very obvious but i'm not shure of it . Am i editing the right file ?
"...it should be "savage" in XFree86-4.2.0" probably not , anyway i'm going to post justthe end of my /etc/X11?XF86Config (maybe there is a problem ) :
**********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "LG studioworks 57M"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 64.3

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "s3"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "savage"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "savage4"
Driver "savage"
#VideoRam 32000
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "Screen"
Monitor "LG studioworks 57M"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
#

really sorry for the lenghty post

Aussie 08-12-2002 08:29 AM

In your screen section you need to specify your graphic device, this is mine,
Code:

Section "Screen"
    Identifier  "Screen 1"
    Device      "GeforceMX"
    Monitor    "Acer v771"

And from my graphics device section,
Code:

Section "Device"
    Identifier  "GeforceMX"
    Driver      "nvidia"
    VideoRam    65536
    Option "NvAGP" "1"
    Option "NoRenderAccel" "1"
    # Insert Clocks lines here if appropriate
EndSection

Change the "Device" "Screen" to "Device" "savage4" in your screen section and try startx again.

jamaso 08-12-2002 09:39 AM

I just did that (it worked), and i'm actually answering from within my new slack
now i have another problem , while in xf86config it asked me if i wanted a bigger screen , or something and i answered no but it still gave me this huge screen , i have to slide my mouse to the edges to be abble to see hidden stuff . but hey who cares ? my xwindow is working fine . thanks





as someone said "...it's like sword fight you must think first before you move."

bbeers 08-12-2002 10:14 AM

Edit the lines:

Modes "640x480" "800x600" "1024x768" "1280x1024"

to have only the resolution you want ... "1024x768" likely.
Then you won't have the other sizes.
Or, use the Ctrl-Alt-+ key combination to move between the different resolutions.

-bbeers

jamaso 08-12-2002 05:00 PM

thanks a lot bbeers i did something like that and it worked fine (1024x768 and 800x600) , Slackware looks great in the new clothes .


All times are GMT -5. The time now is 09:23 PM.