View previous topic :: View next topic |
Author |
Message |
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Sat Dec 28, 2002 10:59 pm Post subject: Having trouble with startx and fluxbox |
|
|
I've got an old pc that I just emerged fluxbox on. Then I ran /usr/X11R6/bin/XF86Config to configure the hardware. I think I've got everything correct, but when I type 'startx', it sends me back to the prompt. Here is my /etc/X11/XF86Config file (without the comments). Is there anything that I need to change? I've got a Diamond Stealth II S220 PCI Video Card. Has anyone gotten this card to work with Fluxbox or any other window manager?
Code: |
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "rapidaccess2"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Sony CPD-G420S"
HorizSync 30-110
VertRefresh 48-170
EndSection
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Chipset "generic"
Driver "vga"
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "Diamond Stealth II"
Driver "vga"
# unsupported card
VideoRam 4096
# Option "sw_cursor"
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Diamond Stealth II"
Monitor "Sony CPD-G420S"
DefaultDepth 16
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
Section "ServerLayout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
|
The part that I'm questioning the most is the Video Card section. I'm really unsure about what the correct settings are for this card. |
|
Back to top |
|
|
oniq Guru
Joined: 02 Sep 2002 Posts: 597 Location: Connecticut
|
Posted: Sat Dec 28, 2002 11:54 pm Post subject: |
|
|
Whats the error that you get? _________________ open like a child's mind. |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Sun Dec 29, 2002 1:39 am Post subject: |
|
|
oniq wrote: |
Whats the error that you get?
|
Here is part of the XFree86.0.log file. I'm only going to post the parts that have error messages. If you need more, let me know.
Code: |
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
Fatal server error:
AddScreen/ScreenInit failed for driver 0
|
|
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Sun Dec 29, 2002 1:49 am Post subject: |
|
|
try commenting out the VideoRam line. |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Sun Dec 29, 2002 3:53 am Post subject: |
|
|
port001 wrote: |
try commenting out the VideoRam line.
|
That didn't work. I got the same error message. |
|
Back to top |
|
|
scott_ell Tux's lil' helper
Joined: 12 Nov 2002 Posts: 83 Location: Tallahassee, Florida, USA
|
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Thu Jan 02, 2003 11:04 pm Post subject: |
|
|
I finally got Fluxbox to start up correctly. So I thought I would post exactly what I did in case there was someone else that was having trouble with 'startx' and the same video card that I have. (Diamond Stealth II S220) Apparently, after reading many posts on google, the Diamond Stealth II S220 does not want to cooperate with some distributions and with some versions of XFree86. Here is what my XF86Config file looks like. Fluxbox runs great with it. I'm sure there are other settings to tweak, but this one works for me.
Code: |
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialize the DGA extension
EndSubSection
Load "type1"
Load "freetype"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Sony CPD-G420S"
VendorName "Sony"
ModelName "CPD-G420S"
HorizSync 30-110
VertRefresh 48-170
EndSection
Section "Device"
Identifier "Diamond Stealth II"
VendorName "Diamond"
BoardName "Diamond Stealth II S220"
Driver "rendition"
VideoRam 4096
# Option "sw_cursor"
EndSection
Section "Screen"
Driver "Accel"
Device "Diamond Stealth II"
Monitor "Sony CPD-G420S"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "1280x1024"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "1280x1024"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "1280x1024"
EndSubsection
EndSection
|
|
|
Back to top |
|
|
|