Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
sorry, that previous email contained xorg.log from another laptop. this is from my asus k50c with sis771/671: $ cat /var/log/Xorg.0.log [25.713] X.Org X Server 1.20.5 X Protocol Version 11, Revision 0 [25.714] Build Operating System: GNU GuixSD [25.714] Current Operating System: Linux antelope 5.1.10-gnu #1 SMP 1 x86_64 [25.714] Kernel command line: BOOT_IMAGE=/gnu/store/xavyip9kqsms2dd0v0xwpgid1s493fx9-linux-libre-5.1.10/bzImage --root=/dev/sda2 --system=/gnu/store/grn3j37fmlf60cdv90n2w9w11lamf441-system --load=/gnu/store/grn3j37fmlf60cdv90n2w9w11lamf441-system/boot modprobe.blacklist=pcspkr,snd_pcsp,bluetooth [25.714] Build Date: 01 January 1970 12:00:01AM [25.715] [25.715] Current version of pixman: 0.36.0 [25.715]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [25.715] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [25.716] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 18 17:20:13 2019 [25.757] (++) Using config file: "/gnu/store/gvkn9ywia7qh4z0fhqziwydv0gnpqrmi-xserver.conf" [25.757] (++) Using config directory: "/gnu/store/rh8hkpf4pnkcqfbiqh81ngmiwmbh0x9n-xorg.conf.d" [25.757] (==) Using system config directory "/gnu/store/2wbh7pp0sk7waq5rb666wz9z5ypr8qck-xorg-server-1.20.5/share/X11/xorg.conf.d" [25.761] (==) No Layout section. Using the first Screen section. [25.761] (==) No screen section available. Using defaults. [25.761] (**) |-->Screen "Default Screen Section" (0) [25.761] (**) | |-->Monitor "" [25.762] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [25.762] (**) Option "AllowMouseOpenFail" "on" [25.762] (==) Automatically adding devices [25.763] (==) Automatically enabling devices [25.763] (==) Automatically adding GPU devices [25.763] (==) Max clients allowed: 256, resource mask: 0x1f [25.787] (**) FontPath set to: /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/75dpi, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/100dpi, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/misc, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/cyrillic, /gnu/store/sm8dqm4wgpac90zsv3y8li378qwc16pg-font-misc-misc-1.1.2/share/fonts/X11/misc, /gnu/store/2wa88yyr6vlmyhqzb0js9wfvfnfw7c3f-font-adobe75dpi-1.0.3/share/fonts/X11/75dpi [25.788] (**) ModulePath set to "/gnu/store/5x9bkmlrpqhl85aw8ndv6mvhj7hna9fh-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers,/gnu/store/bwqk672yqa33xcij9df2jy1pgraabkin-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/jba0fsw626bbi1kw3v4knjpmhwmypkkq-xf86-video-amdgpu-19.0.1/lib/xorg/modules/drivers,/gnu/store/5v39hrqh5ask62skiynkz7gwivnzjh8w-xf86-video-ati-19.0.1/lib/xorg/modules/drivers,/gnu/store/w7nir2q57r5qxxyh2g9h68hndl3dw7xw-xf86-video-cirrus-1.5.3/lib/xorg/modules/drivers,/gnu/store/l9g2kq140sy0jr6c8g2zv60qzh11hbzd-xf86-video-intel-2.99.917-13.6afed33/lib/xorg/modules/drivers,/gnu/store/3sxb0gpx9ifigjgf6cx6lh1ddr8nhv9w-xf86-video-mach64-6.9.6/lib/xorg/modules/drivers,/gnu/store/pa3rbaidil0dw7p1dihx01kma7fcbs50-xf86-video-nouveau-1.0.16/lib/xorg/modules/drivers,/gnu/store/zl7xhp0vxzbgj3846c0lnxs6fmmnp22l-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/fiw1bmnzd2jnlmzjb3az7ni73m8346jk-xf86-video-sis-0.10.9/lib/xorg/modules/drivers,/gnu/store/5hrhmqlajwa07v0ia9dh7gp33nwyps33-xf86-input-libinpu [25.788] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [25.788] (II) Loader magic: 0x616d00 [25.788] (II) Module ABI versions: [25.788]X.Org ANSI C Emulation: 0.4 [25.788]X.Org Video Driver: 24.0 [25.788]X.Org XInput driver : 24.1 [25.789]X.Org Server Extension : 10.0 [25.791] (++) using VT number 7 [25.791] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [25.806] (--) PCI:*(1@0:0:0) 1039:6351:1043:19e2 rev 16, Mem @ 0xd000/268435456, 0xfe9e/131072, I/O @ 0xdc00/128, BIOS @ 0x/131072 [25.808] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [25.809] (II) LoadModule: "glx" [25.878] (II) Loading /gnu/store/2wbh7pp0sk7waq5rb666wz9z5ypr8qck-xorg-server-1.20.5/lib/xorg/modules/extensions/libglx.so [25.955] (II) Module glx: vendor="X.Org Foundation" [25.956]compiled for 1.20.5, module version = 1.0.0 [25.956]ABI class: X.Org Server Extension, version 10.0 [25.956] (==) Matched sis as autoconfigured
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Mark, Mark H Weaver wrote: Is this even the same driver? I don't understand the question. Same driver as what? Never mind, I guess we'll find out. Kind regards, T G-R signature.asc Description: PGP signature
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
# cat /var/log/Xorg.0.log [10.574] X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 [10.583] Build Operating System: GNU GuixSD [10.586] Current Operating System: Linux antelope 5.0.14-gnu #1 SMP 1 x86_64 [10.586] Kernel command line: BOOT_IMAGE=/gnu/store/v0ziysnm86c9bi8wh8pf6cckkdzqsyjf-linux-libre-5.0.14/bzImage --root=/dev/sda1 --system=/var/guix/profiles/system-116-link --load=/var/guix/profiles/system-116-link/boot modprobe.blacklist=pcspkr,snd_pcsp,bluetooth,ideapad_laptop [10.596] Build Date: 01 January 1970 12:00:01AM [10.600] [10.603] Current version of pixman: 0.36.0 [10.610]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [10.610] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [10.625] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 18 06:41:36 2019 [10.675] (++) Using config file: "/gnu/store/m4w8mr4crlxwsh1acc3255rvkr5l3xgf-xserver.conf" [10.679] (++) Using config directory: "/gnu/store/2mi80p4sj8a0xxddfgyzqh647rifgiix-xorg.conf.d" [10.682] (==) Using system config directory "/gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4/share/X11/xorg.conf.d" [10.692] (==) No Layout section. Using the first Screen section. [10.695] (==) No screen section available. Using defaults. [10.699] (**) |-->Screen "Default Screen Section" (0) [10.703] (**) | |-->Monitor "" [10.711] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [10.711] (**) Option "AllowMouseOpenFail" "on" [10.714] (==) Automatically adding devices [10.718] (==) Automatically enabling devices [10.721] (==) Automatically adding GPU devices [10.725] (==) Max clients allowed: 256, resource mask: 0x1f [10.771] (**) FontPath set to: /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/75dpi, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/100dpi, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/misc, /gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/cyrillic, /gnu/store/sm8dqm4wgpac90zsv3y8li378qwc16pg-font-misc-misc-1.1.2/share/fonts/X11/misc, /gnu/store/2wa88yyr6vlmyhqzb0js9wfvfnfw7c3f-font-adobe75dpi-1.0.3/share/fonts/X11/75dpi [10.796] (**) ModulePath set to "/gnu/store/w2xryn7vr8vd6mddqln9jhmmdc5x6y0n-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers,/gnu/store/6njzy2lv87fr9a9ay5cp205bqfssva74-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/d2wf4a3wby80053m7ijcly1ggbq4mcz5-xf86-video-amdgpu-19.0.1/lib/xorg/modules/drivers,/gnu/store/5prr3ix7i6lkjw36barc2hlh6ga1sx62-xf86-video-ati-19.0.1/lib/xorg/modules/drivers,/gnu/store/v454ijfrmyb0cd1a74mmz2yk03il8xsm-xf86-video-cirrus-1.5.3/lib/xorg/modules/drivers,/gnu/store/bw9l6744nmm3qa7i1smi91gql061dkj0-xf86-video-intel-2.99.917-13.6afed33/lib/xorg/modules/drivers,/gnu/store/yimnqfs9v6qf2k3i3psm1cv0dhm54qg3-xf86-video-mach64-6.9.6/lib/xorg/modules/drivers,/gnu/store/7rdfy1y6093cdqh3hk7scpx74fs2smpr-xf86-video-nouveau-1.0.16/lib/xorg/modules/drivers,/gnu/store/bgmya5sgd8q9vvj0wzrngmgx74ig5dkf-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/3h77x4bxb0lj876sy3i77l39ixc060yl-xf86-video-sis-0.10.9/lib/xorg/modules/drivers,/gnu/store/py75z016islwsdi116jca4mv07hzvrhb-xf86-input-libinpu [10.803] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [10.803] (II) Loader magic: 0x616d00 [10.803] (II) Module ABI versions: [10.803]X.Org ANSI C Emulation: 0.4 [10.803]X.Org Video Driver: 24.0 [10.803]X.Org XInput driver : 24.1 [10.803]X.Org Server Extension : 10.0 [10.812] (++) using VT number 7 [10.816] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [10.821] (II) xfree86: Adding drm device (/dev/dri/card0) [10.838] (--) PCI:*(0@0:2:0) 8086:0f31:17aa:3905 rev 14, Mem @ 0x9000/4194304, 0x8000/268435456, I/O @ 0x2050/8, BIOS @ 0x/131072 [10.843] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [10.843] (II) LoadModule: "glx" [10.907] (II) Loading /gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4/lib/xorg/modules/extensions/libglx.so [10.947] (II) Module glx: vendor="X.Org Foundation" [10.947]compiled for 1.20.4, module version = 1.0.0 [10.951]ABI class: X.Org Server Extension, version 10.0 [10.954] (==) Matched modesetting as autoconfigured driver 0 [10.958] (==) Matched fbdev as autoconfigured
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
zna...@disroot.org writes: > Mark, this is my lspci, lsmod, guix describe: Can you share the contents of your /var/log/Xorg.0.log ? That should show us which video driver(s) were loaded and any relevant error messages. Mark
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Tobias Geerinckx-Rice writes: > Mark H Weaver wrote: >> Guix already has 'xf86-video-sis', and it's already included in >> %default-xorg-modules in (gnu services xorg). So, now we just need >> to >> find out why it's not working. > > Is this even the same driver? I don't understand the question. Same driver as what? Mark
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Mark, this is my lspci, lsmod, guix describe: # lspci 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge) 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01) 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01) 00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) 00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) 00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller 00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03) 00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller 00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10) 02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01) # lsmod Module Size Used by fuse 114688 2 ccm20480 9 uvcvideo 98304 0 videobuf2_vmalloc 20480 1 uvcvideo videobuf2_memops 20480 1 videobuf2_vmalloc videobuf2_v4l2 24576 1 uvcvideo videobuf2_common 45056 2 videobuf2_v4l2,uvcvideo videodev 204800 3 videobuf2_v4l2,uvcvideo,videobuf2_common media 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common joydev 24576 0 usbmouse 16384 0 arc4 16384 2 ath9k 155648 0 ath9k_common 24576 1 ath9k ath9k_hw 479232 2 ath9k_common,ath9k coretemp 20480 0 ath32768 3 ath9k_common,ath9k,ath9k_hw mac80211 843776 1 ath9k snd_hda_codec_realtek 114688 1 snd_hda_codec_generic77824 1 snd_hda_codec_realtek ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek cfg80211 704512 4 ath9k_common,ath9k,ath,mac80211 snd_hda_intel 45056 3 snd_hda_codec 135168 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 90112 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hwdep 20480 1 snd_hda_codec snd_pcm 110592 3 snd_hda_intel,snd_hda_codec,snd_hda_core input_leds 16384 0 psmouse 151552 0 r8169 81920 0 serio_raw 20480 0 realtek20480 1 snd_timer 40960 1 snd_pcm snd86016 13 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm soundcore 16384 1 snd asus_laptop32768 0 sparse_keymap 16384 1 asus_laptop input_polldev 20480 1 asus_laptop video 45056 1 asus_laptop mac_hid16384 0 sis_agp16384 1 virtio_rng 16384 0 virtio_console 32768 0 virtio_net 57344 0 virtio_blk 20480 0 virtio_balloon 24576 0 virtio_pci 24576 0 virtio 16384 6 virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net virtio_ring32768 6 virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net isci 143360 0 libsas 81920 1 isci scsi_transport_sas 40960 2 isci,libsas pata_atiixp16384 0 pata_acpi 16384 0 nls_iso8859_1 16384 0 wp512 36864 0 serpent_generic32768 0 xts16384 0 dm_crypt 40960 0 hid_apple 16384 0 hid_generic16384 0 usbhid 53248 0 hid 131072 4 usbhid,hid_apple,hid_generic uas24576 0 usb_storage69632 1 uas ahci 40960 0 libahci32768 1 ahci sata_sis 16384 2 # guix describe Generation 2Jun 17 2019 08:50:09(current) guix 0bc010d repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 0bc010dacded4d89aa39f2d37fe75414b69b680e June 17, 2019 4:04 PM, "Mark H Weaver" wrote: > Hello, > > Tobias Geerinckx-Rice writes: > >> On a more positive note: have you looked at >> >> https://aur.archlinux.org/packages/xf86-video-sisimedia >> (or https://aur.archlinux.org/packages/xf86-video-sis)? > > Guix already has 'xf86-video-sis', and it's already included in >
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Mark H Weaver wrote: Guix already has 'xf86-video-sis', and it's already included in %default-xorg-modules in (gnu services xorg). So, now we just need to find out why it's not working. Is this even the same driver? Kind regards, T G-R signature.asc Description: PGP signature
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Mark, let's start. As I've read in links Tobias offered Sis 771/671 is not mentioned there, but many other versions are presented. Is it reason? If you say what exactly to type in my config [1] I'll do it. [1] http://termbin.com/ni3a June 17, 2019 4:04 PM, "Mark H Weaver" wrote: > Hello, > > Tobias Geerinckx-Rice writes: > >> On a more positive note: have you looked at >> >> https://aur.archlinux.org/packages/xf86-video-sisimedia >> (or https://aur.archlinux.org/packages/xf86-video-sis)? > > Guix already has 'xf86-video-sis', and it's already included in > %default-xorg-modules in (gnu services xorg). So, now we just need to > find out why it's not working. Maybe one of the other video modules > guesses that it can support the hardware, but it actually fails? In > that case, it might help to move 'xf86-video-sis' higher up in the list > of modules to try. > > Regards, > Mark
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Hello, Tobias Geerinckx-Rice writes: > On a more positive note: have you looked at > > https://aur.archlinux.org/packages/xf86-video-sisimedia/ > (or https://aur.archlinux.org/packages/xf86-video-sis/)? Guix already has 'xf86-video-sis', and it's already included in %default-xorg-modules in (gnu services xorg). So, now we just need to find out why it's not working. Maybe one of the other video modules guesses that it can support the hardware, but it actually fails? In that case, it might help to move 'xf86-video-sis' higher up in the list of modules to try. Regards, Mark
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Thank you, Tobias! I'll try to use that. As I understand I need to write driver package definition using Guix Manual #Defining-Packages. Is there some difficulties with driver packages? June 16, 2019 4:08 PM, "Tobias Geerinckx-Rice" wrote: > Ehlo Znavko, > > zna...@disroot.org wrote: > >> oops, not sure it is intel. > > SiS[0] is not Intel. They're a Taiwanese company whose graphics > division later became the ill-fated XGI for a while. > > Takes me back… :-) > >> here i've placed driver https://gitgud.io/znavko/sis771 > > As was to be expected, that's not free software (or even open > source) (or even source). > > You're probably breaking the law by even hosting that link: > there's no licence to be found anywhere, let alone one allowing > redistribution. > > This is why proprietary software sucks. > >> Can anybody write package definition ? > > Considering the fact that this is a 10-year-old binary blob for > use with >10-year old X.org, that it would be illegal to host the > origin unless you find a licence permitting that (unlikely), and > that it has 0% chance of ever making it into Guix proper, you're > very unlikely to find a volunteer to do this for you. And this > mailing list or any other Guix project channel would not be an > appropriate place to find them. Sorry. > > On a more positive note: have you looked at > > https://aur.archlinux.org/packages/xf86-video-sisimedia > (or https://aur.archlinux.org/packages/xf86-video-sis)? > > As you can see by the number of patches at that first link, > keeping such old hardware working with modern software presents > plenty of challenges—without adding those of binary blobs :-) > > T G-R > > [0]: https://en.wikipedia.org/wiki/Silicon_Integrated_Systems
Re: How to configure Xorg to use [proprietary] Sis 771 driver on Guix?
Ehlo Znavko, zna...@disroot.org wrote: oops, not sure it is intel. SiS[0] is not Intel. They're a Taiwanese company whose graphics division later became the ill-fated XGI for a while. Takes me back… :-) here i've placed driver https://gitgud.io/znavko/sis771 As was to be expected, that's not free software (or even open source) (or even source). You're probably breaking the law by even hosting that link: there's no licence to be found anywhere, let alone one allowing redistribution. This is why proprietary software sucks. Can anybody write package definition ? Considering the fact that this is a 10-year-old binary blob for use with >10-year old X.org, that it would be illegal to host the origin unless you find a licence permitting that (unlikely), and that it has 0% chance of ever making it into Guix proper, you're very unlikely to find a volunteer to do this for you. And this mailing list or any other Guix project channel would not be an appropriate place to find them. Sorry. On a more positive note: have you looked at https://aur.archlinux.org/packages/xf86-video-sisimedia/ (or https://aur.archlinux.org/packages/xf86-video-sis/)? As you can see by the number of patches at that first link, keeping such old hardware working with modern software presents plenty of challenges—without adding those of binary blobs :-) T G-R [0]: https://en.wikipedia.org/wiki/Silicon_Integrated_Systems signature.asc Description: PGP signature