You are not logged in.

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

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

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: 29,523
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: 11,911

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: 23

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: 29,523
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: 23

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: 11,544

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: 23

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: 11,544

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 2022-10-03 16:44:58

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

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 2022-10-03 17:45:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

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

#12 2022-10-03 19:50:36

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

Re: Silicon Integrated Systems(SiS) video drivers

Very interesting.

$ lsmod | grep sis
sis190                 28672  0
sis_agp                16384  1
mii                    16384  1 sis190
sata_sis               16384  2
pata_sis               20480  1 sata_sis
$ modprobe sis
modprobe: FATAL: Module sis not found in directory /lib/modules/5.19.10-arch1-1-custom

Here the full Xorg.0.log

[    39.011] (--) Log file renamed from "/var/log/Xorg.pid-327.log" to "/var/log/Xorg.0.log"
[    39.061] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    39.061] Current Operating System: Linux dqtclap 5.19.10-arch1-1-custom #2 SMP PREEMPT_DYNAMIC Mon, 03 Oct 2022 13:05:30 +0000 x86_64
[    39.061] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-custom root=UUID=cff21db1-205a-4ae5-a544-ccbd7bc06398 rw loglevel=3 quiet
[    39.061]  
[    39.061] Current version of pixman: 0.40.0
[    39.061] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    39.061] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    39.062] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct  3 15:59:17 2022
[    39.157] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    39.175] (==) No Layout section.  Using the first Screen section.
[    39.175] (==) No screen section available. Using defaults.
[    39.175] (**) |-->Screen "Default Screen Section" (0)
[    39.175] (**) |   |-->Monitor "<default monitor>"
[    39.176] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    39.176] (==) Automatically adding devices
[    39.176] (==) Automatically enabling devices
[    39.176] (==) Automatically adding GPU devices
[    39.176] (==) Automatically binding GPU devices
[    39.176] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    39.210] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    39.210] 	Entry deleted from font path.
[    39.210] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    39.211] 	Entry deleted from font path.
[    39.211] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    39.211] 	Entry deleted from font path.
[    39.211] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    39.211] 	Entry deleted from font path.
[    39.211] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    39.211] 	Entry deleted from font path.
[    39.211] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    39.211] 	Entry deleted from font path.
[    39.211] (==) FontPath set to:
	
[    39.211] (==) ModulePath set to "/usr/lib/xorg/modules"
[    39.211] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    39.211] (II) Module ABI versions:
[    39.211] 	X.Org ANSI C Emulation: 0.4
[    39.211] 	X.Org Video Driver: 25.2
[    39.211] 	X.Org XInput driver : 24.4
[    39.211] 	X.Org Server Extension : 10.0
[    39.213] (++) using VT number 1

[    39.216] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    39.224] (--) PCI:*(1@0:0:0) 1039:6351:1558:0801 rev 16, Mem @ 0xc0000000/268435456, 0xd8000000/131072, I/O @ 0x00009000/128, BIOS @ 0x????????/131072
[    39.224] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    39.224] (II) LoadModule: "glx"
[    39.250] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    39.385] (II) Module glx: vendor="X.Org Foundation"
[    39.385] 	compiled for 1.21.1.4, module version = 1.0.0
[    39.386] 	ABI class: X.Org Server Extension, version 10.0
[    39.386] (==) Matched sis as autoconfigured driver 0
[    39.386] (==) Matched modesetting as autoconfigured driver 1
[    39.386] (==) Matched fbdev as autoconfigured driver 2
[    39.386] (==) Matched vesa as autoconfigured driver 3
[    39.386] (==) Assigned the driver to the xf86ConfigLayout
[    39.386] (II) LoadModule: "sis"
[    39.386] (WW) Warning, couldn't open module sis
[    39.386] (EE) Failed to load module "sis" (module does not exist, 0)
[    39.386] (II) LoadModule: "modesetting"
[    39.387] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    39.432] (II) Module modesetting: vendor="X.Org Foundation"
[    39.432] 	compiled for 1.21.1.4, module version = 1.21.1
[    39.432] 	Module class: X.Org Video Driver
[    39.432] 	ABI class: X.Org Video Driver, version 25.2
[    39.432] (II) LoadModule: "fbdev"
[    39.432] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    39.444] (II) Module fbdev: vendor="X.Org Foundation"
[    39.444] 	compiled for 1.21.1.1, module version = 0.5.0
[    39.444] 	Module class: X.Org Video Driver
[    39.444] 	ABI class: X.Org Video Driver, version 25.2
[    39.445] (II) LoadModule: "vesa"
[    39.445] (WW) Warning, couldn't open module vesa
[    39.445] (EE) Failed to load module "vesa" (module does not exist, 0)
[    39.445] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    39.445] (II) FBDEV: driver for framebuffer: fbdev
[    39.445] (EE) open /dev/dri/card0: No such file or directory
[    39.445] (WW) Falling back to old probe method for modesetting
[    39.445] (EE) open /dev/dri/card0: No such file or directory
[    39.445] (II) Loading sub module "fbdevhw"
[    39.445] (II) LoadModule: "fbdevhw"
[    39.446] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    39.458] (II) Module fbdevhw: vendor="X.Org Foundation"
[    39.458] 	compiled for 1.21.1.4, module version = 0.0.2
[    39.459] 	ABI class: X.Org Video Driver, version 25.2
[    39.459] (EE) Unable to find a valid framebuffer device
[    39.459] (WW) Falling back to old probe method for fbdev
[    39.459] (II) Loading sub module "fbdevhw"
[    39.459] (II) LoadModule: "fbdevhw"
[    39.459] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    39.459] (II) Module fbdevhw: vendor="X.Org Foundation"
[    39.459] 	compiled for 1.21.1.4, module version = 0.0.2
[    39.459] 	ABI class: X.Org Video Driver, version 25.2
[    39.459] (II) FBDEV(2): using default device
[    39.459] (EE) Screen 0 deleted because of no matching config section.
[    39.459] (II) UnloadModule: "modesetting"
[    39.459] (EE) Screen 0 deleted because of no matching config section.
[    39.459] (II) UnloadModule: "fbdev"
[    39.459] (II) UnloadSubModule: "fbdevhw"
[    39.460] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    39.460] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    39.460] (==) FBDEV(0): RGB weight 888
[    39.460] (==) FBDEV(0): Default visual is TrueColor
[    39.460] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    39.460] (II) FBDEV(0): hardware: VESA VGA (video memory: 1216kB)
[    39.460] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    39.460] (II) FBDEV(0): checking modes against framebuffer device...
[    39.460] (II) FBDEV(0): checking modes against monitor...
[    39.460] (II) FBDEV(0): Virtual size is 640x480 (pitch 640)
[    39.460] (**) FBDEV(0):  Built-in mode "current": 30.7 MHz, 36.9 kHz, 73.3 Hz
[    39.460] (II) FBDEV(0): Modeline "current"x0.0   30.72  640 672 752 832  480 484 488 504 -hsync -vsync -csync (36.9 kHz b)
[    39.460] (==) FBDEV(0): DPI set to (96, 96)
[    39.460] (II) Loading sub module "fb"
[    39.460] (II) LoadModule: "fb"
[    39.460] (II) Module "fb" already built-in
[    39.460] (**) FBDEV(0): using shadow framebuffer
[    39.460] (II) Loading sub module "shadow"
[    39.460] (II) LoadModule: "shadow"
[    39.460] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    39.465] (II) Module shadow: vendor="X.Org Foundation"
[    39.465] 	compiled for 1.21.1.4, module version = 1.1.0
[    39.465] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    39.465] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    39.491] (==) FBDEV(0): Backing store enabled
[    39.492] (==) FBDEV(0): DPMS enabled
[    39.493] (II) Initializing extension Generic Event Extension
[    39.493] (II) Initializing extension SHAPE
[    39.494] (II) Initializing extension MIT-SHM
[    39.494] (II) Initializing extension XInputExtension
[    39.507] (II) Initializing extension XTEST
[    39.507] (II) Initializing extension BIG-REQUESTS
[    39.507] (II) Initializing extension SYNC
[    39.508] (II) Initializing extension XKEYBOARD
[    39.508] (II) Initializing extension XC-MISC
[    39.508] (II) Initializing extension SECURITY
[    39.509] (II) Initializing extension XFIXES
[    39.509] (II) Initializing extension RENDER
[    39.510] (II) Initializing extension RANDR
[    39.510] (II) Initializing extension COMPOSITE
[    39.511] (II) Initializing extension DAMAGE
[    39.511] (II) Initializing extension MIT-SCREEN-SAVER
[    39.511] (II) Initializing extension DOUBLE-BUFFER
[    39.512] (II) Initializing extension RECORD
[    39.512] (II) Initializing extension DPMS
[    39.512] (II) Initializing extension Present
[    39.512] (II) Initializing extension DRI3
[    39.512] (II) Initializing extension X-Resource
[    39.513] (II) Initializing extension XVideo
[    39.513] (II) Initializing extension XVideo-MotionCompensation
[    39.513] (II) Initializing extension GLX
[    39.513] (II) AIGLX: Screen 0 is not DRI2 capable
[    42.344] (II) IGLX: Loaded and initialized swrast
[    42.344] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    42.344] (II) Initializing extension XFree86-VidModeExtension
[    42.344] (II) Initializing extension XFree86-DGA
[    42.345] (II) Initializing extension XFree86-DRI
[    42.345] (II) Initializing extension DRI2
[    42.643] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    42.643] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    42.643] (II) LoadModule: "libinput"
[    42.643] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    42.703] (II) Module libinput: vendor="X.Org Foundation"
[    42.703] 	compiled for 1.21.1.3, module version = 1.2.1
[    42.703] 	Module class: X.Org XInput Driver
[    42.703] 	ABI class: X.Org XInput driver, version 24.4
[    42.703] (II) Using input driver 'libinput' for 'Power Button'
[    42.706] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 24 paused 0
[    42.706] (**) Power Button: always reports core events
[    42.706] (**) Option "Device" "/dev/input/event3"
[    42.769] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    42.769] (II) event3  - Power Button: device is a keyboard
[    42.770] (II) event3  - Power Button: device removed
[    42.770] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    42.770] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    42.772] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    42.772] (II) event3  - Power Button: device is a keyboard
[    42.773] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    42.773] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    42.773] (II) Using input driver 'libinput' for 'Video Bus'
[    42.776] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 27 paused 0
[    42.776] (**) Video Bus: always reports core events
[    42.776] (**) Option "Device" "/dev/input/event6"
[    42.778] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    42.778] (II) event6  - Video Bus: device is a keyboard
[    42.779] (II) event6  - Video Bus: device removed
[    42.779] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:0b/LNXVIDEO:00/input/input10/event6"
[    42.779] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    42.781] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    42.782] (II) event6  - Video Bus: device is a keyboard
[    42.783] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    42.783] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    42.783] (II) Using input driver 'libinput' for 'Power Button'
[    42.785] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 28 paused 0
[    42.785] (**) Power Button: always reports core events
[    42.785] (**) Option "Device" "/dev/input/event0"
[    42.787] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    42.787] (II) event0  - Power Button: device is a keyboard
[    42.787] (II) event0  - Power Button: device removed
[    42.787] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    42.788] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    42.790] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    42.790] (II) event0  - Power Button: device is a keyboard
[    42.791] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[    42.791] (II) No input driver specified, ignoring this device.
[    42.791] (II) This device may have been added with another device file.
[    42.792] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    42.792] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    42.792] (II) Using input driver 'libinput' for 'Sleep Button'
[    42.794] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 29 paused 0
[    42.794] (**) Sleep Button: always reports core events
[    42.794] (**) Option "Device" "/dev/input/event1"
[    42.796] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    42.796] (II) event1  - Sleep Button: device is a keyboard
[    42.796] (II) event1  - Sleep Button: device removed
[    42.796] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[    42.796] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    42.798] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    42.798] (II) event1  - Sleep Button: device is a keyboard
[    42.800] (II) config/udev: Adding input device HDA SIS966 Mic (/dev/input/event8)
[    42.800] (II) No input driver specified, ignoring this device.
[    42.800] (II) This device may have been added with another device file.
[    42.801] (II) config/udev: Adding input device HDA SIS966 Headphone (/dev/input/event9)
[    42.801] (II) No input driver specified, ignoring this device.
[    42.801] (II) This device may have been added with another device file.
[    42.802] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    42.802] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    42.802] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    42.804] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 30 paused 0
[    42.804] (**) AT Translated Set 2 keyboard: always reports core events
[    42.804] (**) Option "Device" "/dev/input/event4"
[    42.806] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    42.806] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    42.807] (II) event4  - AT Translated Set 2 keyboard: device removed
[    42.807] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    42.807] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    42.809] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    42.809] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    42.811] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[    42.811] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    42.811] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    42.813] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 31 paused 0
[    42.813] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    42.813] (**) Option "Device" "/dev/input/event7"
[    42.815] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    42.817] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    42.817] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[    42.818] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input14/event7"
[    42.818] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    42.819] (**) Option "AccelerationScheme" "none"
[    42.819] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    42.819] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    42.819] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    42.821] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    42.823] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    42.824] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    42.824] (II) No input driver specified, ignoring this device.
[    42.824] (II) This device may have been added with another device file.
[    42.825] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    42.825] (II) No input driver specified, ignoring this device.
[    42.825] (II) This device may have been added with another device file.
[   917.251] (II) Axis 0x1 value 1252 is outside expected range [1256, 4600]
See https://wayland.freedesktop.org/libinput/doc/1.21.0/absolute_coordinate_ranges.html for details
[   921.427] (**) Option "fd" "24"
[   921.427] (II) event3  - Power Button: device removed
[   921.428] (**) Option "fd" "27"
[   921.428] (II) event6  - Video Bus: device removed
[   921.428] (**) Option "fd" "28"
[   921.428] (II) event0  - Power Button: device removed
[   921.428] (**) Option "fd" "29"
[   921.429] (II) event1  - Sleep Button: device removed
[   921.429] (**) Option "fd" "30"
[   921.429] (II) event4  - AT Translated Set 2 keyboard: device removed
[   921.429] (**) Option "fd" "31"
[   921.429] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[   921.432] (II) systemd-logind: got pause for 13:71
[   921.432] (II) systemd-logind: got pause for 13:67
[   921.432] (II) systemd-logind: got pause for 13:70
[   921.432] (II) systemd-logind: got pause for 13:68
[   921.432] (II) systemd-logind: got pause for 13:65
[   921.432] (II) systemd-logind: got pause for 13:64
[   937.668] (II) UnloadModule: "libinput"
[   937.668] (II) systemd-logind: releasing fd for 13:71
[   937.683] (II) UnloadModule: "libinput"
[   937.683] (II) systemd-logind: releasing fd for 13:68
[   937.696] (II) UnloadModule: "libinput"
[   937.696] (II) systemd-logind: releasing fd for 13:65
[   937.709] (II) UnloadModule: "libinput"
[   937.709] (II) systemd-logind: releasing fd for 13:64
[   937.722] (II) UnloadModule: "libinput"
[   937.723] (II) systemd-logind: releasing fd for 13:70
[   937.733] (II) UnloadModule: "libinput"
[   937.734] (II) systemd-logind: releasing fd for 13:67
[   937.755] (II) Server terminated successfully (0). Closing log file. 

Offline

#13 2022-10-03 20:31:04

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

Re: Silicon Integrated Systems(SiS) video drivers

The sis "error" in the xorg log is fine - there is no sis xorg driver, you want to use fbdev.

But you apparently may need to kernel module to be able to set better framebuffer resolutions.  But your modproble command error is not surprising either as I wouldn't expect the module to be called "sis".  I suspect it's "sis_drv", though you can check what's actually available:

find /lib/modules/5.19.10-arch1-1-custom -type f -name '*sis*'

Once found, I suspect you'd want to not just load this module at runtime (I don't know offhand how to change the framebuffer resolution at run time, or if that is even possible); you'll want to include the sis_drv or whatever it may be called in your initramfs so you can specify a framebuffer resolution on the kernel line.

Also the lsmod output is not illuminating.  There are other - completely unrelated kernel modules - with "sis" in their names.

Last edited by Trilby (2022-10-03 20:35:23)


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

Offline

#14 2022-10-03 21:26:51

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

Re: Silicon Integrated Systems(SiS) video drivers

Thanks. The find command gives:

/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/input/touchscreen/sis_i2c.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/input/touchscreen/resistive-adc-touch.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/char/agp/sis-agp.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/hwmon/sis5595.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/md/persistent-data/dm-persistent-data.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/ata/sata_sis.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/ata/pata_sis.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/video/fbdev/sis/sisfb.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/i2c/busses/i2c-sis630.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/i2c/busses/i2c-sis96x.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/i2c/busses/i2c-sis5595.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/net/ethernet/sis/sis900.ko.zst
/lib/modules/5.19.10-arch1-1-custom/kernel/drivers/net/ethernet/sis/sis190.ko.zst
/lib/modules/5.19.10-arch1-1-custom/build/include/uapi/drm/sis_drm.h
/lib/modules/5.19.10-arch1-1-custom/build/include/uapi/video/sisfb.h
/lib/modules/5.19.10-arch1-1-custom/build/include/video/sisfb.h
/lib/modules/5.19.10-arch1-1-custom/build/scripts/coccinelle/free/pci_free_consistent.cocci 

So I guess the module name is "sisfb", right? So I added this module in "/etc/mkinitcpio.conf" and run "mkinitcpio -p linux-custom" and the module is there after boot. Then, I added "video=1024x768-16" in the kernel line via /etc/default/grub and grub-mkconfig, but it didn't work. May be is related with the "Xorg does not take into account the resolution specified..." warning that I highlighted in yellow above? Should I try to set an Xorg configuration?

Offline

#15 2024-02-22 00:25:25

mattpark
Member
Registered: 2024-02-22
Posts: 1

Re: Silicon Integrated Systems(SiS) video drivers

alexispaz wrote:

Very interesting.

$ lsmod | grep sis
sis190                 28672  0
sis_agp                16384  1
mii                    16384  1 sis190
sata_sis               16384  2
pata_sis               20480  1 sata_sis
$ modprobe sis
modprobe: FATAL: Module sis not found in directory /lib/modules/5.19.10-arch1-1-custom

It's pretty simple. The module build by that kernel option isn't called sis, it's called sisfb. I recommend early loading it, by adding

MODULES = (... sisfb? ...)

to your /etc/mkinitcpio.conf
But using this graphics card poses tons of problems, some of which I am currently trying to solve, and I feel like I'm really near the final solution, I have a SiS 771 on an ASUS K50C btw

Offline

#16 2024-02-22 08:58:25

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Silicon Integrated Systems(SiS) video drivers

1. Please don't necrobump
2. The OP figured that

So I guess the module name is "sisfb", right? So I added this module in "/etc/mkinitcpio.conf" and run "mkinitcpio -p linux-custom" and the module is there after boot.

3. The pending (? it's been a while) problem seems to be the X11 server, @alexispaz, if this is still a problem, please post an xorg log.

Offline

Board footer

Powered by FluxBB