Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having trouble with startx and fluxbox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 293

PostPosted: Sat Dec 28, 2002 10:59 pm    Post subject: Having trouble with startx and fluxbox Reply with quote

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
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sat Dec 28, 2002 11:54 pm    Post subject: Reply with quote

Whats the error that you get?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 293

PostPosted: Sun Dec 29, 2002 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Sun Dec 29, 2002 1:49 am    Post subject: Reply with quote

try commenting out the VideoRam line.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 293

PostPosted: Sun Dec 29, 2002 3:53 am    Post subject: Reply with quote

port001 wrote:

try commenting out the VideoRam line.

That didn't work. I got the same error message.
Back to top
View user's profile Send private message
scott_ell
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2002
Posts: 83
Location: Tallahassee, Florida, USA

PostPosted: Sun Dec 29, 2002 4:23 am    Post subject: Reply with quote

Not sure if you've tried it... Did a google group search and found this:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=36DF6DFB.561D1D80%40sprintmail.com&rnum=1

Google Groups is the Oracle of Delphi of the modern age.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 293

PostPosted: Thu Jan 02, 2003 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum