Laptops :: XF86_SVGA



Quote (Max @ Dec. 15 2004,16:37)
Same error

I'm running a HD install of DSL 0.8.3 if that makes any difference.


Re-read my first post, there were some typos that Ive fixed. If it still doesnt work...

use CTRL+ALT+BACKSPACE keys to exit to the command line and try running XF86_SVGA with no parameters. If X starts up hit CTRL+ALT+BACKSPACE again to exit.

If it doesnt start up do...

script
XF86_SVGA
ldd /usr/X11R6/bin/XF86_SVGA
ls -al /usr/bin/X11/XF86_SVGA
ls -al /usr/bin/X11
(hit CTRL+D to stop recording output)

and post the output (which is in the file called typescript)  so we can see whats going wrong.

BTW You did remember to put the XFConfig into /etc/X11/ directory, not the /etc/ directory where XBF/XFCom looks?

Yes, I have XF86Config is /etc/X11    (Is it suppose to be named XF86Config or XFConfig???)

Here is the output from the script and below that the XF86Config file:
Script started on Wed Dec 15 16:13:52 2004
dsl@box:~$ XF86_SVGA

XFree86 Version 3.3.6a / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: xx November 2000
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.4.13 i686 [ELF]
Configured drivers:
 SVGA: server for SVGA graphics adaptors (Patchlevel 1):
     NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2,
     RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, GeForce 256,
     GeForce DDR, Quadro, GeForce2 GTS, GeForce2 GTS (rev1),
     GeForce2 Ultra, Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR,
     Quadro 2 MXR, ET4000, ET4000W32, ET4000W32i, ET4000W32i_rev_b,
     ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b,
     ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100, et3000, pvga1,
     wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, r128, ati,
     sis86c201, sis86c202, sis86c205, sis86c215, sis86c225, sis5597,
     sis5598, sis6326, sis530, sis620, sis300, sis630, sis540, tvga8200lx,
     tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000,
     tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi,
     tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682,
     tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
     cyber9525, 3dimage975, 3dimage985, cyber9397dvd, blade3d, cyberblade,
     clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430,
     clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, clgd5465,
     clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, clgd7543,
     clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e, cpq_avga, mga2064w,
     mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100, mgag400, oti067,
     oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308,
     ali2401, cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv,
     ark2000pv, ark2000mt, mx, realtek, s3_savage, s3_virge, AP6422, AT24,
     AT3D, s3_svga, NM2070, NM2090, NM2093, NM2097, NM2160, NM2200,
     ct65520, ct65525, ct65530, ct65535, ct65540, ct65545, ct65546,
     ct65548, ct65550, ct65554, ct65555, ct68554, ct69000, ct64200,
     ct64300, mediagx, V1000, V2100, V2200, p9100, spc8110, i740, i740_pci,
     Voodoo Banshee, Voodoo3, smi, generic
(using VT number 2)

XF86Config: /etc/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values

Config Error: /etc/X11/XF86Config:1

Section "Files"
              ^^
File section keyword expected
dsl@box:~$ ldd /usr/X11R6/bin/XF86_SVGA
libz.so.1 => /usr/lib/libz.so.1 (0x4001b000)
libm.so.6 => /lib/libm.so.6 (0x4002d000)
libdl.so.2 => /lib/libdl.so.2 (0x4004f000)
libc.so.6 => /lib/libc.so.6 (0x40052000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
dsl@box:~$ ls -al /usr/bin/X11/XF86_SVGA
-rwsr-sr-x    1 root     root      3057368 Dec 15 14:44 /usr/bin/X11/XF86_SVGA
dsl@box:~$ ls -al /usr/bin/X11
lrwxrwxrwx    1 root     root           12 Oct  8 13:03 /usr/bin/X11 -> ../X11R6/bin
dsl@box:~$
Script done on Wed Dec 15 16:15:21 2004


Also, here is the XF86Config file:
Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   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/"
   FontPath   "/usr/X11R6/lib/X11/fonts/encodings/"
   FontPath   "/usr/X11R6/lib/X11/fonts/util/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

#Section "Module"
#    Load "xf86Jstk.so"
#EndSection

Section "ServerFlags"
#    NoTrapSignals
#    DontZap
#    DontZoom
#    DisableVidModeExtension
#    AllowNonLocalXvidtune
#    DisableModInDev
#    AllowNonLocalModInDev
EndSection

Section "Keyboard"
   Protocol "Standard"
   AutoRepeat 500 5
   XkbDisable
   XkbKeymap   "xfree86(us)"
EndSection

Section "Pointer"
#    Protocol    "Microsoft"
#    Device      "/dev/ttyS0"
   Protocol    "PS/2"
   Device      "/dev/psaux"
   Emulate3Buttons
   Emulate3Timeout    50
EndSection

Section "Monitor"
   Identifier  "Generic Multisync"
   VendorName  "Unknown"
   ModelName   "Unknown"
   HorizSync   30-64
   VertRefresh 50-100

# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

EndSection

Section "Device"
   Identifier "NeoMagic"
#    Chipset "NM2160"
#    IOBase 0xfea00000
#    MemBase 0xfd000000
#    VideoRam 2048
#    DacSpeed 90
#    Option "linear"
#    Option "nolinear"
#    Option "sw_cursor"
#    Option "hw_cursor"
#    Option "no_accel"
#    Option "intern_disp"
#    Option "extern_disp"
#    Option "mmio"
#    Option "no_mmio"
#    Option "lcd_center"
#    Option "no_stretch"
EndSection

Section "Screen"
   Driver      "svga"
   Device      "NeoMagic"
   Monitor     "Generic Multisync"
   Subsection "Display"
       Depth       8
       Modes       "1024x768" "800x600" "640x480"
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1024x768" "800x600" "640x480"
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "800x600" "640x480"
   EndSubsection
EndSection

can you post the output of...

od -c /etc/X11/XF86Config | head -4

I think you might have strange \r\n DOS end of lines. If so you might need to ...

cat /etc/X11/XF86Config | dos2unix > ~/tmp
sudo mv ~/tmp /etc/X11/XF86Config

Script started on Wed Dec 15 16:58:59 2004
dsl@box:~$ od -c /etc/X11/XF86Config | head -4
0000000   #   #   #       B   E   G   I   N       D   E   B   C   O   N
0000020   F       S   E   C   T   I   O   N  \n   #       X   F   8   6
0000040   C   o   n   f   i   g       (   X   F   r   e   e   8   6    
0000060   s   e   r   v   e   r       c   o   n   f   i   g   u   r   a
dsl@box:~$
Script done on Wed Dec 15 16:59:23 2004

Would it be possible to make this a .dsl extension?  I imagine a lot of folks on old thinkpads would benefit.
Next Page...
original here.