xfree86 help


Forum: DSL Embedded
Topic: xfree86 help
started by: ase1590

Posted by ase1590 on Nov. 21 2007,02:09
when i set up xfree86 then restart the whole thing, xfree86 gives me this message:
"server error: no screens found."
why am i getting this?

Posted by Juanito on Nov. 21 2007,03:33
Did you set up the XF86Config-4 configuration file for your hardware? This error message sounds like it comes from a mistake in the configuration file.
Posted by ase1590 on Nov. 21 2007,13:00
no, i just used the example vesa to try to get it working(no modifications). i did however look at the file to see if i could modify it, but it looks a bit complicated
Posted by Juanito on Nov. 21 2007,14:46
If you google on xf86config-4 and the name of your graphics card, you will probably find an example config file you can use more or less verbatim
Posted by ase1590 on Nov. 21 2007,18:38
nope no luck. i have an ati radeon 9550 agp card w/256mb
couldnt find a radeon 9550 config file anywhere. only thing i found was driver setup on the ati page for linux, but im not sure that would help.
also have usb mouse.

edit:added log file to second page in this thread

Posted by ase1590 on Nov. 21 2007,21:51
here is the log file, hopefully it will help:


Code Sample
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-8 20040928112350 fabbione@fabbione.net)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF]
Build Date: 28 September 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.26 (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Sa Apr 17 19:33:42 CEST 2004 TF
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: Wed Nov 21 15:47:35 2007
(EE) Unable to locate/open 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 submit@bugs.debian.org.

Posted by ^thehatsrule^ on Nov. 22 2007,00:17
Quote
(EE) Unable to locate/open config file
Make sure you read the .info

Posted by ase1590 on Nov. 22 2007,01:16
i followed them, though i noticed my xf86config-4 folder disappears after i restart... well here are the directions i followed:

this package contains the XFree86 X-server,
many video and input drivers. openGL drivers
driver info: < http://www.xfree86.org/4.3.0/Status.html >
THIS IS NOT A CLICK AND PLAY PACKAGE. you need to add 2 files
1. CHANGE /home/dsl/.xserverrc to:
exec /usr/X11R6/bin/XFree86  -nolisten tcp
               ****(copy included in /home/dsl/XFree86_config_files)****
2. CREATE a /etc/X11/XF86Config-4: the content of this file
depends on the hardware you have. you can find examples of
such file all over the internet (use google). i have some
on < http://home.zonnet.nl/henk.1955 >
this does NOT remove the DSL KDrive ( the small XServer)
if the XFree86 wont start, you can type: xsetup.sh to get the DSL-X back.
then try to correct the error in XF86Config-4
(****There are several working XF86Config-4 files in
the included home/dsl/XFree86_config_files directory..
Start with the XF86Config-4_vesa version first****)
Thanks to Henk1955 for the kickstart and contribution
and SaidenUnleashed for testing it on ATI/Radeon hardware
Compaq and Toshibe laptops and NVidia tested by ke4nt.

Posted by ase1590 on Nov. 22 2007,01:46
xf86config-4 is the actual file, not a folder...

now how do i set up my usb mouse with it??? my mouse doesnt move..

Posted by ^thehatsrule^ on Nov. 22 2007,01:46
- it is not a folder... if you are using a preconfigured one, copy the plaintext file to there.
- it's on your ramdisk

EDIT:
looks like we both posted at the same time :p

Quote
now how do i set up my usb mouse with it??? my mouse doesnt move..
Set your mouse device to "/dev/mouse" in your config file (i.e. by editing with a text editor, or the config program)

Posted by ase1590 on Nov. 22 2007,02:02
lol, same time. thats it, just /dev/mouse? you dont have to reference a usbmouse driver anywhere or mess with the imps/2 protocol any?
Posted by curaga on Nov. 22 2007,16:32
Nope. You might edit the "buttons" entry if you got more than 5 (left, right, wheel down, wheel up, pressed wheel)
Posted by ase1590 on Nov. 24 2007,21:38
new problem, xfree86 only works after i set everything up adn exit the windos manager then start it up again, it seems to read the file fine, but doesn't on restart. its like the file commits suicide when the program tries to read it. my file just disappears from its location... here is my config file:

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
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/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
#FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
#FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
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

# This is a config for a generic imPS/2 wheel mouse. If you have a non-wheel mouse,
# you will want to comment this out and use the other config below.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/psaux"
       Option          "Protocol"              "ImPS/2"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

# This is the config for a standard ps/2 mouse. If you need to use it, comment out
# the above config and uncomment this one. You may need to manually set the device
# name to whatever your mouse is.

#Section "InputDevice"
# Identifier  "Configured Mouse"            
# Driver  "mouse"
# Option  "Device"               "/dev/psaux"
#        Option        "Protocol"               "PS/2"
#        Option  "Emulate3Buttons"        "true"
#EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10]"
Driver "radeon"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-75
VertRefresh 50-85
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection

Posted by ^thehatsrule^ on Nov. 24 2007,22:17
See my 2nd post's 2nd line in this thread for the reason.
Posted by ase1590 on Nov. 30 2007,21:30
nope still no luck , i have the the text file in ect/x11 and xserverrc set up. do i dont know where i am going wrong
Posted by ^thehatsrule^ on Dec. 01 2007,05:47
Yes, you'll have to save it and restore it by either copying it (i.e. with cp in a startup script, or in like in a mydsl extension)
Posted by ase1590 on Dec. 02 2007,12:49
still kinda strange though. if i jsut put the config file there, and restartdsl the file is still there, but if i modify xserverrc to what it should be for xf86 on next reboot after the whole file error thing, the config file disappears...
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.