Re: Support for latest AMD GPU?
El 2019-06-18 00:42, Parker escribió: > I understand this is a "free as in speech" distro so there's no > proprietary blobs on here. I also have the latest AMD Vega 56 GPU. On > Debian, I had to install proprietary blobs to get it to work, but it's > also my understanding that AMD has free software drivers. But then > again, they could be throwing the “open source” label on the drivers > and just release some of the source but require blobs to compile. > > After all of that, I ask if Guix has good support for modern GPUs like > mine? Are there free drivers for my graphics card on here? Or will I > have to compile my own from the proprietary blobs? I'd prefer not to, > but I'll do it if I must. Hi Parker. As you say, probably they have shipped nonfree blobs with their source. You can only know that by checking the code. The first step is to downleoad the source and check the licenses and the read the source itself. It would be great if you could reverse engineer your video card's binary blobs. That would be the only step forward for you freedom and it would be an enourmous contribution. It is not an easy task. But if you start now, it would teach you a lot and advance free software. If you install the binary blobs only to get their functionality, you will only be backward steps. Commitment to freedom brings about much knowlegde. Functionality will not. Ĝis revido! Quiliro
Re: Using Python and GExiv2
On Mon, 17 Jun 2019 14:12:05 -0500 sirgazil wrote > Hi, > > I used to use a python script to clear image metadata in Debian: > > > import gi > gi.require_version("GExiv2", "0.10") > from gi.repository import GExiv2 > > > metadata = GExiv2.Metadata("/tmp/something.png") > metadata.clear() > > > I'm trying to make this work in the GNU system I installed with Guix, but I > haven't been able to. So far, I have installed the following packages with > guix: > > gobject-introspection 1.56.1 > python 3.70 > python-pygobject 3.28.3 > gexiv2 0.10.10 > > I've also added the output of "guix package --search-paths" to my > ".bash_profile". I undid this. I removed all those exports from my ".bash_profile". Now I get a different warning and error: $ python3 img-clear-metadata.py ** (process:1495): WARNING **: 13:11:20.340: Failed to load shared library 'libgexiv2.so.2' referenced by the typelib: libgexiv2.so.2: cannot open shared object file: No such file or directory Traceback (most recent call last): File "img-clear-metadata.py", line 7, in metadata = GExiv2.Metadata("/tmp/something.png") TypeError: GObject.__init__() takes exactly 0 arguments (1 given) > > I'm using this guix: > > $ LANG=C guix describe > Generation 3Jun 15 2019 09:49:31(current) > guix ddd401d > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: ddd401d28fb09f1f8ce96f2fc24226887a812412
Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)
Hi Giovanni, the problem is with your “services” field: (services (append (list … (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (use-substitutes? #t) (authorized-keys %authorized-guix-keys))) Note the indentation: modify-services returns a list and in your config that’s inside of “list”. “append” here only has one argument: a list that contains a list of services (among others). Pull out the modify-services expression, so that it becomes the second argument to “append”. -- Ricardo
Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)
Le Tue, 18 Jun 2019 16:53:51 +0200, Giovanni Biscuolo a écrit : > Hello Guix, > > I'm trying to reconfigure but I get this error: > > Since everytime I try to purposely add a syntax error or miss to add a > module guix correctly point that out, I doubt it depends on some error > in my config.scm... or am I wrong? > > Anyway, this is my slightly obfuscated config.scm: > > --8<---cut here---start->8--- > ; This is batondor > > (use-modules (gnu)) > (use-service-modules networking ssh mcron virtualization) > (use-package-modules linux) > > (define %authorized-guix-keys > ;; List of authorized 'guix archive' keys. > (list (local-file "keys/guix/OMISSIS.pub") > (local-file "keys/guix/OMISSIS.pub"))) > > (define gc-job > ;; Run 'guix gc' at 3AM every day. > #~(job '(next-hour '(3)) "guix gc -F 50G")) > > (define btrfs-job > ;; Run 'btrfs balance' every three days to make free space. > #~(job (lambda (now) >(next-day-from now (range 1 31 3))) > (string-append #$btrfs-progs "/bin/btrfs balance " > "start -dusage=50 -musage=70 /"))) > > ;; The actual machine > > (operating-system > (locale "en_US.utf8") > (timezone "Europe/Rome") > (keyboard-layout > (keyboard-layout "it" "nodeadkeys")) > (bootloader > (bootloader-configuration >(bootloader grub-efi-bootloader) >(target "/boot/efi") >(keyboard-layout keyboard-layout))) > (file-systems > (cons* (file-system > (mount-point "/") > (device > (uuid "26bd54ec-4e74-4b3a-96ff-58f2f34e4a1a" >'btrfs)) > (type "btrfs")) >(file-system > (mount-point "/boot/efi") > (device (uuid "7A61-DB20" 'fat32)) > (type "vfat")) >%base-file-systems)) > (host-name "batondor") > (users (cons* (user-account > (name "x") > (comment "X") > (group "users") > (home-directory "/home/x") > (supplementary-groups >'("wheel" "kvm" "netdev" "audio" "video"))) > %base-user-accounts)) > (packages > (append >(list (specification->package "nss-certs")) >%base-packages)) > > (services > (append >(list (service openssh-service-type > (openssh-configuration > (port-number 22) > (authorized-keys > `(("x" ,(local-file "keys/ssh/x.pub")) > >(service dhcp-client-service-type) > >(service ntp-service-type) > >(service qemu-binfmt-service-type > (qemu-binfmt-configuration > (platforms (lookup-qemu-platforms "arm" "aarch64")) > (guix-support? #t))) > >(service mcron-service-type > (mcron-configuration > (jobs (list gc-job btrfs-job > >(modify-services %base-services > (guix-service-type config => >(guix-configuration > (inherit config) > (use-substitutes? #t) > (authorized-keys > %authorized-guix-keys > --8<---cut here---end--->8--- The result of modify-services is a list, but reading your file, it seems you add it to the end of the (list ...) thing, which is not going to work: you're ending up with a list of lists. You can either put the modify-services form outside of that list: (service mcron-service-type (mcron-configuration - (jobs (list gc-job btrfs-job + (jobs (list gc-job btrfs-job) (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (use-substitutes? #t) (authorized-keys - %authorized-guix-keys + %authorized-guix-keys))) or replace the (append (list ...)) with a (cons* ...): (services - (append -(list (service openssh-service-type + (cons* (service openssh-service-type - %authorized-guix-keys + %authorized-guix-keys))) > > Am I missing something or did I found a bug? > > Thanks! Gio'. >
Re: Compiling Python 2.7.16
great thank you very much I'll check it 18 de junio de 2019 10:24, "Ricardo Wurmus" escribió: > ark...@disroot.org writes: > >> how can I have a workflow similar to the one with pyenv + virtualenv + >> emacs, using guix + emacs ..? > > You can use separate profiles: > > guix package --profile=/home/me/python2 \ > --install python2 python2-numpy” > > This will install the latest version of Python 2.7 together with a > matching variant of numpy into a profile at /home/me/python2. You can > “activate” the profile with > > export GUIX_PROFILE=/home/me/python2 > source $GUIX_PROFILE/etc/profile > > You can create as many separate profiles as you need. > > -- > Ricardo
Re: Compiling Python 2.7.16
ark...@disroot.org writes: > how can I have a workflow similar to the one with pyenv + virtualenv + > emacs, using guix + emacs ..? You can use separate profiles: guix package --profile=/home/me/python2 \ --install python2 python2-numpy” This will install the latest version of Python 2.7 together with a matching variant of numpy into a profile at /home/me/python2. You can “activate” the profile with export GUIX_PROFILE=/home/me/python2 source $GUIX_PROFILE/etc/profile You can create as many separate profiles as you need. -- Ricardo
guix system reconfigure: Wrong type argument in position 1 (expecting struct)
Hello Guix, I'm trying to reconfigure but I get this error: --8<---cut here---start->8--- ~$ sudo -i guix system reconfigure /etc/config.scm Backtrace: 14 (primitive-load "/root/.config/guix/current/bin/guix") In guix/ui.scm: 1620:12 13 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 12 (catch _ _ # …) 829:9 11 (catch _ _ # …) In guix/scripts/system.scm: 1325:8 10 (_) In guix/status.scm: 768:4 9 (call-with-status-report _ _) In guix/scripts/system.scm: 1181:4 8 (process-action _ _ _) In guix/store.scm: 623:10 7 (call-with-store _) 1800:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1197:13 5 (_ _) 890:18 4 (perform-action reconfigure #< kerne…> …) In gnu/system.scm: 865:19 3 (operating-system-derivation _) In gnu/services.scm: 738:6 2 (instantiate-missing-services _) In srfi/srfi-1.scm: 466:18 1 (fold # …) In gnu/services.scm: 739:27 0 (_ (#< type: #…> …) …) gnu/services.scm:739:27: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): (#< type: # value: #< motd: #< name: "motd" content: "This is the GNU operating system, welcome!\n\n" references: ()> allow-empty-passwords?: #t>> #< type: # value: #t> #< type: # value: (("tty1" . "LatGrkCyr-8x16") ("tty2" . "LatGrkCyr-8x16") ("tty3" . "LatGrkCyr-8x16") ("tty4" . "LatGrkCyr-8x16") ("tty5" . "LatGrkCyr-8x16") ("tty6" . "LatGrkCyr-8x16"))> #< type: # value: #< agetty: # tty: #f term: "vt100" baud-rate: #f auto-login: #f login-program: # "/bin/login"> login-pause?: #f eight-bits?: #f no-reset?: #f remote?: #f flow-control?: #f host: #f no-issue?: #f init-string: #f no-clear?: #f local-line: #f extract-baud?: #f skip-login?: #f no-newline?: #f login-options: #f chroot: #f hangup?: #f keep-baud?: #f timeout: #f detect-case?: #f wait-cr?: #f no-hints?: #f no-hostname?: #f long-hostname?: #f erase-characters: #f kill-characters: #f chdir: #f delay: #f nice: #f extra-options: ("-L")>> #< type: # value: #< mingetty: # tty: "tty1" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: #< mingetty: # tty: "tty2" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: #< mingetty: # tty: "tty3" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: #< mingetty: # tty: "tty4" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: #< mingetty: # tty: "tty5" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: #< mingetty: # tty: "tty6" auto-login: #f login-program: #f login-pause?: #f>> #< type: # value: (#< interface: "lo" ip: "127.0.0.1" netmask: #f gateway: #f provision: (loopback) requirement: () name-servers: ()>)> #< type: # value: #< syslogd: # "/libexec/syslogd"> config-file: #< name: "syslog.conf" content: "\n # Log all error messages, authentication messages of\n # level notice or higher and anything of level err or\n # higher to the console.\n # Don't log private authentication messages!\n *.alert;auth.notice;authpriv.none /dev/console\n\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none /var/log/messages\n\n # Like /var/log/messages, but also including \"debug\"-level logs.\n *.debug;mail.none;authpriv.none /var/log/debug\n\n # Same, in a different place.\n *.info;mail.none;authpriv.none /dev/tty12\n\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n\n # Log all the mail messages in one place.\n mail.* /var/log/maillog\n" references: ()>>> #< type: # value: #f> #< type: # value: #< guix: # build-group: "guixbuild" build-accounts: 10 authorize-key?: #t authorized-keys: (#< file: "keys/guix/roquette.mug.biscuolo.net.pub" absolute: #> name: "roquette.mug.biscuolo.net.pub" recursive?: #f select?: #> #< file: "keys/guix/renaissanceFIXME.mug.biscuolo.net.pub" absolute: #> name: "renaissanceFIXME.mug.biscuolo.net.pub" recursive?: #f select?: #>) use-substitutes?: #t substitute-urls: ("https://ci.guix.gnu.org;) chroot-directories: () max-silent-time: 0 timeout: 0 log-compression: bzip2 extra-options: () log-file: "/var/log/guix-daemon.log" http-proxy: #f tmpdir: #f>> #< type: # value: #< log-file: "/var/log/nscd.log" debug-level: 0 caches: (#< database: hosts positive-time-to-live: 43200 negative-time-to-live: 20 suggested-size: 211 check-files?: #t persistent?: #t shared?: #t max-database-size: 33554432 auto-propagate?: #t> #< database: services positive-time-to-live: 86400 negative-time-to-live: 3600 suggested-size: 211 check-files?: #t persistent?: #t shared?: #t max-database-size: 33554432 auto-propagate?: #t>) name-services: () glibc: #>> #< type: # value: #< udev: # rules: (# # # #)>>
Re: Compiling Python 2.7.16
I get it, I'm new to guix, so I think the question would be how can I have a workflow similar to the one with pyenv + virtualenv + emacs, using guix + emacs ..? __ Edison 18 de junio de 2019 9:02, "Ricardo Wurmus" escribió: > Hi Edison, > >> Hi, >> >> I'm trying to use this https://github.com/pyenv/pyenv >> >> Thanks > > Please keep the mailing list in Cc. > > Generally, I don’t think pyenv is going to be useful when you’re already > using Guix. > > In order to help you we need to have more information. Please provide > answers to my previous questions. Here they are for context: > >>> I'm trying to compile the version of python 2.7.16 >> >> How? >> >>> but I get the following error >>> >>> WARNING: The Python readline extension was not compiled. Missing the GNU >>> readline lib? >>> ERROR: The Python zlib extension was not compiled. Missing the zlib? >> >> What Guix command did you run to get this error? >> >>> I have installed those packages but when they die, they can not be located >> >> I don’t know what this means. > > -- > Ricardo
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: Compiling Python 2.7.16
Hi Edison, > Hi, > > I'm trying to use this https://github.com/pyenv/pyenv > > Thanks Please keep the mailing list in Cc. Generally, I don’t think pyenv is going to be useful when you’re already using Guix. In order to help you we need to have more information. Please provide answers to my previous questions. Here they are for context: >> I'm trying to compile the version of python 2.7.16 > > How? > >> but I get the following error >> >> WARNING: The Python readline extension was not compiled. Missing the GNU >> readline lib? >> ERROR: The Python zlib extension was not compiled. Missing the zlib? > > What Guix command did you run to get this error? > >> I have installed those packages but when they die, they can not be located > > I don’t know what this means. -- Ricardo
Re: Compiling Python 2.7.16
Hi, > I'm trying to compile the version of python 2.7.16 How? > but I get the following error > > WARNING: The Python readline extension was not compiled. Missing the GNU > readline lib? > ERROR: The Python zlib extension was not compiled. Missing the zlib? What Guix command did you run to get this error? > I have installed those packages but when they die, they can not be located I don’t know what this means. -- Ricardo
Configuring Xorg
What is the correct way of Using xorg options such as TearFree Rendering and setting up specific devices? I have to get the equivalent for the following xorg.conf entries: (intel igpu tearfree rendering) Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection (Graphics Tablet) Section "InputClass" Identifier "Tablet" Driver "wacom" MatchDevicePath "/dev/input/event*" MatchUSBID "256c:006e" EndSection -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: docker-compose not work
On Mon, 17 Jun 2019 03:27:30 +0200 Tobias Geerinckx-Rice wrote: > Edison, > > Edison Ibáñez wrote: > > I have tried to update the package as you can see in the paste > > > > https://bin.disroot.org/?d21a1c74236d7ebd#FlZ2iQxLIkrclC1O45wr7YuUI5bjBcjStwc710J6TWo= > > > > but I still have the same error. Tobias, thanks for fixing this. I merged and closed the bugs 36256 35779. Further note: The current docker_compose cannot use jsonschema 3.x, it must use 2.x. There is a bug-report and a pull-request about that, so it is expected to be compatible with the 3.x version soon: https://github.com/docker/compose/issues/6347 https://github.com/docker/compose/pull/6631 Björn pgpMsQVZeUpUI.pgp Description: OpenPGP digital signature
Support for latest AMD GPU?
I understand this is a "free as in speech" distro so there's no proprietary blobs on here. I also have the latest AMD Vega 56 GPU. On Debian, I had to install proprietary blobs to get it to work, but it's also my understanding that AMD has free software drivers. But then again, they could be throwing the “open source” label on the drivers and just release some of the source but require blobs to compile. After all of that, I ask if Guix has good support for modern GPUs like mine? Are there free drivers for my graphics card on here? Or will I have to compile my own from the proprietary blobs? I'd prefer not to, but I'll do it if I must. Parker -- Sent from my Android device with K-9 Mail. Please excuse my brevity.