LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Fedora, XFree86-4.3, S3 ProSavage 8 issue (https://www.linuxquestions.org/questions/linux-hardware-18/fedora-xfree86-4-3-s3-prosavage-8-issue-152239/)

elchupacabra 03-01-2004 11:50 AM

Fedora, XFree86-4.3, S3 ProSavage 8 issue
 
Hi guys,
I m trying to get the "savage" driver working on my Aspire 1350 laptop for 2 weeks now.
The laptop, have a VIA chipset.
output of lspci :
Quote:

00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3205
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:07.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:08.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown device 7205 (rev 01)
XFree86 ouput me this on crash :
Quote:

(II) SAVAGE: driver (version 1.1.27t) for S3 Savage chipsets: Savage4,
Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133,
ProSavage PN133, ProSavage KN133, SuperSavage/MX 128,
SuperSavage/MX 64, SuperSavage/MX 64C, SuperSavage/IX 128,
SuperSavage/IX 128, SuperSavage/IX 64, SuperSavage/IX 64,
SuperSavage/IXC 64, SuperSavage/IXC 64, ProSavage DDR,
ProSavage DDR-K
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.
I tryed different version of the driver found on viaarena.com and probo.com/timr/savage40.html
Have read lots of How-To about this, but after some investigations, i find out that the
agpgart module was not loaded. So i try to load it with

insmod agpgart apg_try_unsupported=1
and it output me this :
Quote:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 148M
agpgart: Unsupported Via chipset (device id: 3205), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
I use the default kernel of Fedora.
Could someone help to get the driver working...

peter_robb 03-01-2004 02:29 PM

You will need to get the first pci device in your list working first, the Host Bridge.
The agp is driven after that one.

Your local file /usr/share/hwdata/pci.ids needs to be updated with newer numbers.
try http://pciids.sourceforge.net/

elchupacabra 03-02-2004 01:22 PM

First thx for your reply.
oky, i have updated the pciids file, and the "lspci" command looks better, but till no agpgart module and no "savage" driver too.
output of lspci with the new pciids file :
Quote:

00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:07.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:08.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)
and when i "insmod" agpgart, it output me this :
Quote:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 148M
agpgart: Trying generic Via routines for device id: 3205
agpgart: unable to determine aperture size.

peter_robb 03-03-2004 04:35 AM

insmod is for just one module at a time..

try modprobe agpgart

This will add dependent modules as well..

I also recommend running the XConfigurator again so that the hardware is re-identified..
As root do XFree86 -configure and make a note of the successful file made.

elchupacabra 03-03-2004 12:59 PM

i used modprobe too and the same message appear in "dmesg".
XFree86 -configure did not detect my video card, it till use the generic vesa driver,
and have droped my usb mouse by the way :).
I did not try with savage driver, i guess if i got no agp module working there's no chance to have the driver working, no?.
sorry but i m most used with network service than driver and hardware.

peter_robb 03-04-2004 02:26 AM

Ok, try the modules from http://www.viaarena.com/?PageID=296#km400 for your KM400 chipset.

elchupacabra 03-04-2004 10:31 AM

Hi, i did not find the Fedora's drivers on this page (and no source to compile for KM400) , and i don't know if the driver will works on the distro i m running.
So i do one step back, and i ve installed Redhat 9 to get all chances on my side :D

I took the KMFX40034. zip.
The KMFX40038's coment say it's for RH9 too but the folder tree in the archive seams to have been build for MDK9. ???
The installation script worked just like charm.
Xfree86 - configuration has detected my cards and selected the "via" driver for it. GREAT

BUT, the screen of the laptop stay totaly black when i load XFree.
Xfree did not Hang, and all panel process are there, but no way to get the Screen back without a reboot even by killing X.
I tryed with the CRT output too, and the same happened.
I ve checked the XFree86 logs and good news, it find the Card and load it at first view :)
I think we get closer :D.
the log ends on that :
Quote:

AUDIT: Thu Mar 4 06:17:17 2004: 4176 X: client 4 rejected from local host
(II) via(0): I2C device "I2C bus 2:LVDS" registered at address 0xEA.
(II) via(0): I2C device "I2C bus 2:LVDS" removed.
(II) via(0): I2C device "I2C bus 2:TV" registered at address 0x00.
(II) via(0): I2C device "I2C bus 2:TV" removed.
(EE) via(0): Couldn't open "/dev/video2"
(II) via(0): I2C device "I2C bus 2:LVDS" registered at address 0xEA.
(II) via(0): I2C device "I2C bus 2:LVDS" removed.
(II) via(0): I2C device "I2C bus 2:TV" registered at address 0x00.
(II) via(0): I2C device "I2C bus 2:TV" removed.
You can get the complet log Here.
and my XF86Config
Quote:

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/"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "LCD 14inch"
ModelName "Generic Laptop Display Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
#Option "dpms"
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 "A2" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "VideoRAM" # <i>
Option "ActiveDevice" "LCD" # [<str>]
#Option "LCDDualEdge" # [<bool>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVType" "PAL" # [<str>]
#Option "TVOutput" "S-Video" # [<str>]
#Option "TVVScan" # [<str>]
#Option "TVHScale" # [<str>]
#Option "TVEncoder" # [<str>]
#Option "TVFlickerFilter" # <i>
#Option "Refresh" # <i>
#Option "DisableVQ" # [<bool>]
#Option "NoDDCValue" # [<bool>]
#Option "Cap0Deinterlace" # [<str>]
#Option "Cap1Deinterlace" # [<str>]
#Option "Cap0FieldSwap" # [<bool>]
#Option "NoCap0HFilter" # [<bool>]
#Option "NoCap1HFilter" # [<bool>]
#Option "CaptureOverScanOff" # [<bool>]
#Option "NoHQVVFilter" # [<bool>]
#Option "NoHQVHFilter" # [<bool>]
#Option "HQVManualSwitch" # [<bool>]
#Option "DRIXINERAMA" # [<bool>
Identifier "Card0"
Driver "via"
VendorName "VIA Technologies, Inc."
BoardName "VIA KM400"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
ones again thx for your support.

elchupacabra 03-07-2004 10:28 AM

Some news has arrived ....
After some searching on the net i found my problem on bugzilla.
http://bugs.xfree86.org/show_bug.cgi?id=813
But, i did not understand how they can get it working... as far as i did not find any source for the module :(
May you take a look ?

peter_robb 03-07-2004 02:12 PM

Well, I got my ASPIRE 1200 laptop screen going by selecting the vesa driver instead of savage or via...

Now just to play with the settings and get the resolution & TV-out worked out...

I'll have a look at that link and report back... :)

elchupacabra 03-07-2004 02:20 PM

Well yes, it works with Vesa driver a 1024x768, but without
"2D Hardware Acceleration", i mean poor Video Overlay quality.
and no TV out.

but u just learn me there's a way to get the tv out with the vesa driver , i ll do some reshearch on this way.

peter_robb 03-07-2004 02:52 PM

Ok, the patch exists in the cvs version of XFree86 @ http://www.XFree86.Org/cvs

The actual patch code is at http://bugs.xfree86.org/attachment.c...action=viewall

Choices are to use the cvs version of XFree86 and build it again, or to wait until XFree86-4.4 is released, which looks quite soon...

edit...

It IS available.. :) http://www.xfree86.org/#newrel

elchupacabra 03-07-2004 03:03 PM

Mate, big thx for your support
now i ll try to install the 4.4 :)

peter_robb 03-07-2004 03:12 PM

It's quite easy, type "make world"..

But you'll need quite a few extra header & -dev packages installed.
They will pop up in the make errors, but once installed you can continue from the last build point...

elchupacabra 03-07-2004 08:59 PM

Not so easy, hehe :)

i ve downloaded the 7 archives, and unpacked them into /usr/src/xc
then make world (no error)
make install (no error)
and configure Xfree.
At the first restart of X, X crashed because of somethink fucked up with my fonts.
Finaly i get a Xfree back by copying the fonts from a other machine running X
I got no glxinfo (error about a missing .so).
No tv out :( (but well configured)

Anyway it looks like i did something wrong somewhere ;)

peter_robb 03-10-2004 04:06 AM

Ok, I'll give it a try too.. hehe ;)


All times are GMT -5. The time now is 01:13 AM.