Graphics problem


Forum: Laptops
Topic: Graphics problem
started by: sinky

Posted by sinky on Oct. 05 2004,18:49
Hi, I have been trying to run dls 0.8.2 on a panasonic toughbook CF27, which is a 266 pentium and has neomagic NM2160 MagicGraph 128XD graphics chip.  
The graphics appear fine through the boot process, but when x starts it looks like this:


If I kill x the terminal looks like this:


I've tried the various fb modes and the setup script, but they all give the same results.  Ive tried other distros before and they have worked ok.  Anyone any ideas on how to fix it?

Heres the xfree config from another distro it worked on (I tried using these settings in dsl with no luck)
Code Sample
Section "ServerLayout"
Identifier     "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath     "/usr/X11R6/lib/X11/fonts/local/"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "xtrap"
Load  "type1"
Load  "freetype"
Load  "speedo"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
Option "XkbLayout" "uk"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "auto"
Option    "Device" "/dev/mouse"
Option      "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
HorizSync    31.5 - 35.1
VertRefresh  50.0 - 70.0
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "NoLinear"           # [<bool>]
#Option     "NoAccel"             # [<bool>]
#Option     "SWcursor"           # [<bool>]
#Option     "noMMIO"             # [<bool>]
#Option     "internDisp"         # [<bool>]
#Option     "externDisp"         # [<bool>]
#Option     "LcdCenter"           # [<bool>]
#Option     "ShadowFB"           # [<bool>]
#Option     "NoStretch"           # [<bool>]
#Option     "pciBurst"           # [<bool>]
#Option     "ShowCache"           # [<bool>]
#Option     "Rotate"             # [<str>]
#Option     "StrangeLockups"     # [<bool>]
#Option     "DisplayHeight480"   # [<bool>]
#Option     "progLcdModeRegs"     # [<bool>]
#Option     "progLcdModeStretch" # [<bool>]
#Option     "overrideValidateMode" # [<bool>]
#Option     "VideoKey"           # <i>
#Option     "OverlayMem"         # <i>
#Option     "Interlace"           # <i>
Identifier  "Card0"
Driver      "neomagic"
VendorName  "Neomagic Corporation"
BoardName   "NM2160 [MagicGraph 128XD]"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth     16
SubSection "Display"
Depth     1
EndSubSection
SubSection "Display"
Depth     4
EndSubSection
SubSection "Display"
Depth     8
EndSubSection
SubSection "Display"
Depth     15
EndSubSection
SubSection "Display"
Depth     16
Modes    "800x600"
EndSubSection
SubSection "Display"
Depth     24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Posted by ke4nt1 on Oct. 05 2004,21:36
The xfree config is useless, since DSL uses the Tiny/KDrive Xvesa/Xfbdev xservers.

I'm guessing by your posts that you've tried BOOTING with
the fb800x600 or fb640x480 commands, then selecting
xfbdev during the xsetup options?

Search the forums for different "modes" you can use to
limit your color pallette to 256 or less colors, to see if
you can get some reasonably true colors..

73
ke4nt

Posted by SaidinUnleashed on Oct. 05 2004,22:12
and if that doesn't work, try 640x480 and 16-bit color or 800x600 and 16-bit color.

there are relatively universal video "safe modes"

Posted by timewarp on Oct. 07 2004,00:49
Looks a bit worse, even on a CF 25!

I don't know jack about linux, either, so I'm hoping someone finds an easy fix! If you do, please post it!

Posted by ke4nt on Oct. 07 2004,02:40
This looks like the same chipset as some of the IBM thinkpads..
Their have been similar issues with some of those, using the same or similar chipset.

Keep an eye out on those threads for some answers..

73
ke4nt

Posted by timewarp on Oct. 07 2004,04:07
Thanks, found one!

using dsl xsetup vga=787 after hitting F2 at the boot prompt got mine working :) Now I just have to get in on to the hard drive so it's faster than my 16MB of ram can make it from the cd!

Thanks for the helpful forum!

Posted by sinky on Oct. 07 2004,09:59
Thanks for your replies.  Managed to get it working at 800x600 16bit with dsl xsetup vga=789.  It's a bit slow though, even scrolling a page in dillo is painfully slow.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.