You are not logged in.

#1 2022-09-13 12:40:25

alexispaz
Member
Registered: 2019-05-01
Posts: 21

Silicon Integrated Systems(SiS) video drivers

Hi,

I have an old computer that require video drivers for Silicon Integrated Systems(SiS). I can't find a `xf86-video-sis` package in common repos, nor in AUR. Wiki pages are archived, and other resources out of date. Does arch support this hardware today?

I have tried with vesa and fbdev without success.

Thank you,
Alexis.

Last edited by alexispaz (2022-09-13 12:41:25)

Offline

#2 2022-09-13 13:03:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,295
Website

Re: Silicon Integrated Systems(SiS) video drivers

I believe fbdev should support sis video.  What errors do you receive from attempts with fbdev?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-09-13 13:09:52

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,428

Re: Silicon Integrated Systems(SiS) video drivers

I used to maintain it in aur but couldn't get it to work with xorg 21.x , so I orphaned it.
No one took over and it was deleted not long ago.

You can find the latst aur version by cloning https://aur.archlinux.org/xf86-video-sis.git .

I do think no one has worked on it upstream since its last release in 2019, so getting it to work with latest xorg may be very hard.

archlinux32 does have a package for xf86-video-sisusb , no idea what hw it suppports.
https://www.archlinux32.org/packages/?q=xf86-video-sis


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2022-09-13 14:38:10

alexispaz
Member
Registered: 2019-05-01
Posts: 21

Re: Silicon Integrated Systems(SiS) video drivers

Trilby wrote:

I believe fbdev should support sis video.  What errors do you receive from attempts with fbdev?

When I was preparing the Xorg.log I realized that I had installed both, fbdev and vesa, at the same time. I removed vesa and fbdev start working "well" now.

However, resolution is 640x480 and I do not know how to change it. I tried with fbset, but there is only one mode:

cat /sys/class/graphics/fb0/modes
U:640x480p-73

I don´t know how to add a mode there... at least 600x800 would lead to an "usable" old computer.

Offline

#5 2022-09-13 14:57:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,295
Website

Re: Silicon Integrated Systems(SiS) video drivers

Lone_Wolf wrote:

archlinux32 does have a package for xf86-video-sisusb

That's in our repos too - but it seems to be usb graphics devices.

alexispaz wrote:

However, resolution is 640x480 and I do not know how to change it.

It's been a long time since I used fbdev, but I believe it just picks up the current frame buffer resolution.  So the goal would be to change the framebuffer before starting X.  One way to do so is with the relevant kernel command line graphics option.

Last edited by Trilby (2022-09-13 15:01:57)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2022-09-20 14:22:19

alexispaz
Member
Registered: 2019-05-01
Posts: 21

Re: Silicon Integrated Systems(SiS) video drivers

Trilby wrote:

It's been a long time since I used fbdev, but I believe it just picks up the current frame buffer resolution.  So the goal would be to change the framebuffer before starting X.  One way to do so is with the relevant kernel command line graphics option.

Well, I have tried adding the "video=..." settings in the grub config but nothing works. In the same wiki there is a "Warning: The method described below is somehow incomplete because e.g. Xorg does not take into account the resolution specified...".

I can´t figure out the correct modeline for my Xorg configuration. The only line it works is the that fbdev find itself:

Modeline "640x480" 30.72  640 672 752 832  480 484 488 504 -hsync -vsync -csync

Any other modeline I tried returns "test failed" in the Xorg.0.log.Calculating modes with "gtf" does not help, and actually does not gives the "640x480" line above, no matter what frequency I use, i.e.:

$ gtf 640 480 73
  # 640x480 @ 73.00 Hz (GTF) hsync: 36.57 kHz; pclk: 29.84 MHz
  Modeline "640x480_73.00"  29.84  640 664 728 816  480 481 484 501  -HSync +Vsync 

I can´t also get any display specification with the laptop brand and model. Do you know how can I get a modeline for higer resolution that actually works?

Last edited by alexispaz (2022-09-20 14:23:49)

Offline

#7 2022-09-20 14:26:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,568

Re: Silicon Integrated Systems(SiS) video drivers

I'm curious, what video adapter are you dealing with? SIS on an x86_64 system would be pretty rare.

Offline

#8 2022-09-20 14:37:32

alexispaz
Member
Registered: 2019-05-01
Posts: 21

Re: Silicon Integrated Systems(SiS) video drivers

Scimmia wrote:

I'm curious, what video adapter are you dealing with? SIS on an x86_64 system would be pretty rare.

It is very rare. It is an old laptop made in Argentina (the brand is Bangho, model M76X0S).

 
$ lspci | grep -iA5 vga
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller 

Offline

#9 2022-09-20 14:43:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,568

Re: Silicon Integrated Systems(SiS) video drivers

According to https://linux-hardware.org/index.php?id … -1734-1125, that requires CONFIG_DRM_SIS, which is not set in the standard Arch kernel.

Offline

#10 Today 16:44:58

alexispaz
Member
Registered: 2019-05-01
Posts: 21

Re: Silicon Integrated Systems(SiS) video drivers

I tried to compile the kernel with the build system but after including

CONFIG_DRM_SIS=m
CONFIG_FB_SIS=m

in the config file, compiling, installing and booting the custom kernel, Xorg says that "sis" module is not found. modprobe also do not find "sis".  Is there a way to check if the module is actually compiled/installed in the new kernel? (Let me know if full logs are needed).

Offline

#11 Today 17:45:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,568

Re: Silicon Integrated Systems(SiS) video drivers

What does it say exactly? There's the kernel modules that you should have, then there's the xorg ddx/modules, which were linked earlier. Totally separate things.

Offline

Board footer

Powered by FluxBB