LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-09-2002, 06:58 PM   #1
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
addscreen/screeninit failed for driver 0


HI, i have a very old monitor that i can't get to work on slackware 8.1 , here's what i have done so far :

- I installed mandrake 8.1 (which guessed my monitor and works well under NON-interlaced SVGA 1024x768 @ 60HZ 800x600 @72HZ);

- tried to configure xf86config with all kinds of refresh rates available (of course with the same monitor characteristics i stated before);

since i had installed before slack 8.1 with another monitor(and it worked fine) i am assuming it's a monitor thing rather than video card stuff (but just in case , it's a diamond steath III S540 ).

well i should have saved the output that i got but i didn't , so here is ,more or less ,what i got :



Fatal server error:
no screens found


fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

------------and mostly---------------------------------


fatal server error
addscreen/screeninit failed for driver 0


fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

thanks for any light on the subject
 
Old 11-09-2002, 07:08 PM   #2
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
i forgot to say i'm using the S3 savage4 (413 option on videocard database, well i used already standard vga too but it didn't work as well) . BTW what driver is this (addscreen/screeninit failed for driver 0) ?
 
Old 11-10-2002, 04:15 AM   #3
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
well thanks a lot
 
Old 11-10-2002, 09:44 AM   #4
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
guys , i really need your help here . I spent last night installing slackware (7 times actually) and trying to figure out what is wrong , well i managed to make my monitor work so far but there is a little problem , when i startx ,the screen is too small , and after i Ctrl Alt + it becomes too big , i don`t even know what i did exactly to make it work but here is my XF86Config file

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

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# 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 "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
DefaultDepth 16
# DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"


BTW in the screen section i changed from defaultdepth 24 to 16 and i manage to run X

please , any comments will be apreciated
 
Old 11-10-2002, 10:20 AM   #5
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
<Sigh> I thnk the main reason people are/were not responding is that this has been covered multiple times. It may not be the same problem but there is no indication that you even looked. This is not meant as criticism so don't take it as such, just my impression of the message.

I am not the best at X problems but I will give it a shot.

<rolls up virtual sleeves> OK that said let me give a couple of suggestions.. Are you sure your video card can display 24/32 bit color? Not sure how old that card is. Use lspci to determine the exact chipset that is being used, that should help in determining what driver. My guess is an S3 of some type but I don't know which. We probably want to get you off the vesa framebuffer before we worry about the monitor resolution.

Try moving around your mode lines on Depth 16 to "800x600" "640x480" "1024x768" see if that helps the "size" issue.

Edit: I think the initial problems you were having was with an incorrect video driver BTW, though I could be wrong.

Last edited by Mephisto; 11-10-2002 at 10:25 AM.
 
Old 11-10-2002, 10:23 AM   #6
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Quote:
Originally posted by jamaso
BTW what driver is this (addscreen/screeninit failed for driver 0) ?
I usually interpret that as XFree could not find the config file. Happens when people use xfree86 -configure and forget to copy over the XF86Config to /etc/X11. I prefer to use xf86config myself but you need to know your hardware.
 
Old 11-10-2002, 01:11 PM   #7
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
thanks for answering my "question" mephisto it really helped :

"Try moving around your mode lines on Depth 16 to "800x600" "640x480" "1024x768" see if that helps the "size" issue. "

yeah that fixed it , i think i can only run at 800x600 resolution and i just threw out the rest so now i have a perfectly framed screen when i startx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to enable wpa in the driver vladoportos Linux - Wireless Networking 1 09-09-2006 06:10 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 07:57 AM
ATI Radeon Driver Install Failed olias Linux - Hardware 3 10-03-2003 09:41 PM
AddScreen/ScreenInit failed for driver 0 Wynd Linux - General 5 06-30-2003 01:57 AM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM


All times are GMT -5. The time now is 03:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration