Page 1 of 1

How to make SIS741 video driver work in Puppy 3.01?

Posted: Mon 12 Nov 2007, 13:44
by Vaklin
Puppy version 3.01
Motherboard Intel D201GLY with integrated SIS video controller.
Kernel 2.6.23.1
The question. Has somebody positive results with SIS video driver inside the standard kernel? My Xorg works with many "noise" on the screen. I tried to add original driver from www.sis.com, but with no success. It's precompiled for redhat, and for 2.4.x.x. kernels. How to use it with 2.6. kernel? Or where can get worked driver for kernel 2.6.x.x.?

Posted: Mon 12 Nov 2007, 16:06
by wingruntled
Vaklin
You could try to add the sis-agp module. Goto Menu > Sytem > Bootmanager
and "add module" "sis-agp" in the left window. Just keep scrolling it's way down the list.
Hope this works for you.

You will need to reboot.

Posted: Mon 12 Nov 2007, 16:23
by veronicathecow
Hi Vaklin you might be interested in this thread where I am telling my woes of using the D201GLY2 which also have tearing of the display. Vesa work okay though on mine.
http://www.murga-linux.com/puppy/viewtopic.php?t=22038
Cheers
Tony

Posted: Mon 12 Nov 2007, 18:51
by Vaklin
Thank's for the replies. Respect to the price of this board, it works just fine. The problems I can figure in the next points.
1. Doesn't work Xorg. Xvesa works fine. Just driver problem. Have somebody an idea how to change kernel version in sis_drv.o and make from it .ko? sis_agp doesn't solve anything in this case. It is for another controllers.
2. Bluetooth stack. As wrote in www.blueZ.org bluez module should be inside the every kernel source. Unfortunately, I didn't find it in 2.6.21.7 (native Puppy 3.01 kernel) as well in last kernel source (2.6.23.1 from kernel.org) Trying to patch it with vluez-kernel-2.1 give me some errors. Will see why.
3. All another works just fine (for now).

Final adventage is to prepare full functinaly cheap carputer.

So, will ask for some software. Maybe someone has see over the internet suitable software:
1. Nokia Symbian phone software which drive all phone functions from the computer via Bluetooth. Of course, voice redirecting is not necessary. For this I have bluetooth headset.
2. GPS software with trace generating capabilities.
3. LED panel schematic with drivers and software.

------------------------

Some bad news. As I see over the Internet, bluez works only with kernels 2.4.x.x. For kernel 2.6. we should use bluetooth LKM. But ... how to use my dongle with this module I still can't find.

Posted: Sun 18 Nov 2007, 10:27
by tempestuous
Vaklin wrote:Have somebody an idea how to change kernel version in sis_drv.o and make from it .ko? sis_agp doesn't solve anything in this case. It is for another controllers.
sis_drv.so is an Xorg driver, not a kernel module.
See my post about the SiS Xorg driver here -
http://www.murga-linux.com/puppy/viewto ... 277#154277

The "sis-agp" module supports SiS northbridge chipsets on motherboards. This kernel module is required to support ANY AGP graphics device which is connected to the motherboard ... inlcuding any onboard graphics devices built into the motherboard.
Without this kernel module loaded, almost certainly the Xorg driver will not work.
Vaklin wrote:bluez module should be inside the every kernel source. Unfortunately, I didn't find it in 2.6.21.7 (native Puppy 3.01 kernel)
Puppy 3.00/3.01 definitely contains the bluetooth kernel modules. They are:
bcm203x
bfusb
bluecard_cs
bpa10x
bt3c_cs
btuart_cs
dtl1_cs
hci_uart
hci_usb
hci_vhci

But the BlueZ libraries/utilities/firmware still need to be added. Get them here -
http://www.murga-linux.com/puppy/viewto ... 474#115474

The pre-patched Puppy 3.00 kernel source is avalable at Ted Dog's site (as mentioned on the download page) -
http://puptrix.org/sources/kernel-2.6.21.7-pup300/
You will also find the Puppy 3.00 kernel configuration file there: DOTconfig-K2.6.21.7-8SEPT07.

Posted: Fri 23 Nov 2007, 20:10
by Vaklin
Thank you for the help.

Todays news:
Xorg - success!
Bluetooth connection to GPS and Nokia - success!
WEB camera - success!
LabJack - success!

Still looking for a small patch for Nokia OS9.1 ...

Posted: Sat 24 Nov 2007, 01:57
by tempestuous
Vaklin wrote:Xorg - success!
Please tell us which SiS Xorg driver you used;
one of the Thomas Winischhofer binaries?
or the SuSE 10.2 version?

Posted: Sat 24 Nov 2007, 04:28
by MU
I have a sis 650 chipset, onboard in my notebook.
It works fine so far with the standarddrivers, though an old problem is, that dri is not supported.
/var/log/Xorg.0.log: Chipset SIS650/M650/651/740 found

In my /etc/X11/xorg.conf I have
Driver "sis" #card0driver
This was detected correctly by xorgwizard.

Thomas winishofer has noted on his homepage, that these chips do not have and never will have dri-support.

However it is usable.

The OpenGL atlantis screensaver (whales and sharks) works with reasonable framerates on a 1 Gigahertz Intel celeron at 1024x768x24 in Puppy 3.

Descent2 is a bit too slow in 800x600.
But I wonder that OpenGL works now, with Xorg 6.8.2 OpenGL based applications often simply crashed because of the missing dri.

3DCC shows 10 frames per second.
So you will not be able to play doomsday at reasonable framerates.
Tuxracer is too slow, maybe other resolutions are playable.
At least fast enough to grab some of the herrings.
I will not try again, as it kills X when I quit.

Mark

Posted: Sat 24 Nov 2007, 04:45
by wingruntled
MU
I found that I get far better performance with my onboard SIS video if I lower the color down to 16K instead of 24K.

Posted: Sat 24 Nov 2007, 18:38
by Vaklin
tempestuous wrote:
Vaklin wrote:Xorg - success!
Please tell us which SiS Xorg driver you used;
one of the Thomas Winischhofer binaries?
or the SuSE 10.2 version?

I have used SIS driver which is in Puppy 3.01 live CD. Who makes it I don't know. Really, I want to use this computer with small touchscreen LCD monitor with resolution 800x480x16. Here all is fine. Still have noise in 1024x768x16. I don't know how to explain better what I see on the screen. Some small white pixels on half screen distance right when I start something with black background. But, ... my high spirit was kicked. Some strange problems appears with stream video. Depends of the size of the player's screen a part of the bottom end is all in vertical lines. Also, Xorg is definitely slowly than Xvesa, especially for this board. I decide to use Xvesa, but here comes next challenge. Xvesa (which is in Puppy 3.01) doesn't support desired resolution by me. The Internet says another. If someone can help me to start Xvesa in 800x480x16 or x24 I'll be very thankful!

Posted: Sun 25 Nov 2007, 15:32
by tempestuous
Vaklin wrote:I have used SIS driver which is in Puppy 3.01 live CD.
I suggest you try the alternative SiS Xorg drivers I mentioned in the other post regarding Intel D201GLY -
http://www.murga-linux.com/puppy/viewto ... 277#154277
these alternative versions are the Thomas Winischhofer binaries, or SuSE 10.2 version.
Xorg is a more powerful Xserver than Xvesa, and you should not encounter a performance penalty unless you are using a really old Pentium1.

Posted: Sun 25 Nov 2007, 19:49
by Vaklin
As I think, the problem isn't on the processor, but somewhere on the video chpiset and shared video memory. Where I can download the driver subjected by you?

Posted: Sun 25 Nov 2007, 20:29
by MU
Vaklin,
http://www.bexa.org/pup/tempestuous/sis ... use.tar.gz

extract with xarchive.
copy the 2 files to /usr/X11R7/lib/xorg/modules/drivers

restart X.

Mark

Posted: Sun 25 Nov 2007, 20:46
by MU
and you can try to increase speed:

edit /etc/X11/xorg.conf

before the last line

Code: Select all

#PuppyHardwareProfile=SiS
add this:

Code: Select all

Section "Extensions"
        Option "Composite" "Enable"
        Option "RENDER" "Enable"
EndSection
This can speed up screen-rendering.

But 3D applications might be slower then.

This option can be also set with this program:
http://www.murga-linux.com/puppy/viewtopic.php?t=23457

Mark

Posted: Mon 26 Nov 2007, 06:00
by Vaklin
Thank you. No more blickes on the screen, no more defects in video streem, but another set of problems comes with these drivers. Video streem can't scale to full screen. This is not a major problems if rest of the screen, where no video in xine windowd, lights with disgusting blue.

Solution?

Posted: Mon 26 Nov 2007, 10:10
by MU
did you try different video-out drivers?
In gxine you can set them in:
file - configure - preferences - advanced - video.

I can play a 1024x768 avi without problems in fullscreen-mode with sis 650 on a 1 Ghz Intel celeron.
Gxine uses automatic driver, in mplayer I use "xv".
Mark

Posted: Mon 26 Nov 2007, 20:13
by Vaklin
Great! Blue was kicked out. Now is perfect black.
driver xv;
device.xv_autopaint_colorkey checked;
device.xv_colorkey to black;

Now only one "small" problem. Video output doesn't want to resize to full screen. output.disable_scaling is unchecked.

Posted: Mon 26 Nov 2007, 20:26
by MU
gxine was known to have problems with fullscreen in the past, though I think this was fixed meanwhile.
It would however be a good idea to try mplayer, too.
Maybe that works also fullscreen with your card.
http://dotpups.de//dotpups/Multimedia/Mplayer-1.0rc1/

Mark

Posted: Mon 26 Nov 2007, 22:50
by Béèm
I have good results with the vlc player.
Rich function set.
It can be found in the Puppy Software Installer (P.S.I.
Just search for vlc.

Posted: Tue 27 Nov 2007, 06:07
by Vaklin
I'm using xine. I should prepare my own skin for it. Is this possible in VLC?