Re: [gentoo-user] x11-terms/xterm loops error upon launch

2021-05-10 Thread Vitor Hugo Nunes dos Santos
On 5/9/21 9:08 PM, Vitor Hugo Nunes dos Santos wrote:
>
> Hi all,
>
> I just recently setup a new desktop with Gentoo.
>
> After the install and configuration of Xorg, I decided to 'startx' and
> open xterm in fvwm.
>
> Upon pressing the button to launch it, nothing came up. When closing
> fvwm, I saw the following message being printed ad nauseam to the screen:
>
> open ttydev: I/O error
>
> Online searches led me to inconclusive info on what could be the cause
> and fix for the issue.
>
> I'd be glad to provide info as required.
>
> Best regards,
>
> vhns 

Hi all,


I've decided to try another terminal emulator, in order to figure out
whether this was an xterm issue, an issue with my setup, or an issue
with fvwm.

Launching (or trying to, rather) x11-terms/st, gives me the following
error in dmesg:

[May10 21:17] traps: st[5846] general protection fault ip:7f92d0babff6
sp:7fffa63836a8 error:0 in libc.so[7f92d0b97000+63000]

I am not sure of what may be causing this, or how to fix it. Here
follows my emerge --info:

Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/musl,
gcc-10.2.0, musl-1.2.2-r2, 5.10.27-gentoovhns-desktop-iommu-r3 x86_64)
=
System uname:
Linux-5.10.27-gentoovhns-desktop-iommu-r3-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-libc
KiB Mem:    16316940 total,  15565188 free
KiB Swap:  0 total, 0 free
Timestamp of repository gentoo: Sun, 09 May 2021 01:00:01 +
Head commit of repository gentoo: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5
Head commit of repository KKona: d3d3554162168f6d994d2d8b7b239bcac56072cf

Timestamp of repository musl: Sat, 08 May 2021 23:20:00 +
Head commit of repository musl: 151175d3c2ebf6413a0711a4bf983b838753c25c

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:  5.0_p18::gentoo
dev-lang/perl:    5.30.3::gentoo
dev-lang/python:  3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-util/cmake:   3.18.5::gentoo
sys-apps/baselayout:  2.7::gentoo
sys-apps/openrc:  0.42.1-r1::gentoo
sys-apps/sandbox: 2.22::gentoo
sys-devel/autoconf:   2.69-r5::gentoo
sys-devel/automake:   1.16.2-r1::gentoo
sys-devel/binutils:   2.35.2::gentoo
sys-devel/gcc:    10.2.0-r5::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool:    2.4.6-r6::gentoo
sys-devel/make:   4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/musl:    1.2.2-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

KKona
    location: /var/db/repos/KKona
    sync-type: git
    sync-uri: git://github.com/absurdsec/gentoo-overlay.git
    masters: gentoo

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/musl.git
    masters: gentoo

vhns
    location: /var/db/repos/vhns
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH
PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT
XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox
merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs
protect-owned qa-unresolved-soname-deps sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"
FFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/;
INSTALL_MASK="charset.alias locale.alias"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl amd64 bzip2 cli crypt dri elogind iconv ipv6 libglvnd
libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl
tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
ALSA_CARDS="ali5451 

Re: [gentoo-user] I am thinking of buying Raspberry Pi 4 Model B 8GB with 7 or 10 inch touch screen display in June 2021

2021-05-10 Thread Peter Humphrey
On Sunday, 9 May 2021 22:53:17 BST Michael Jones wrote:
> On Sun, May 9, 2021 at 4:29 PM Nils Freydank 
> 
> wrote:
> > The Raspberry Pi image (stage3) seems to be unmaintained so far:
> > https://wiki.gentoo.org/wiki/Raspberry_Pi#gentoo-on-rpi3-64bit
> 
> There's a maintained image for 64bit raspberry pi's with this project:
> https://github.com/GenPi64

Pity it doesn't mention the Pi 400.

-- 
Regards,
Peter.






[gentoo-user] [OT] Hardware supporting PCIe bifurcation

2021-05-10 Thread Sid Spry
I can't see an easy way to find this. If you buy a board and look in the
manual sometimes it is there. Searching turns up a few boards that
have the settings exposed but aren't really what I'd want.

Ideally, small AMD board instead of a full sized Intel tower board.

Is anyone aware of a complete list similar to, say, the QEMU one listing
hardware that supports IOMMU groups?

Use is multiple NVMe SSD on a x16 slot without an active switch, among
other things.



Re: [gentoo-user] x11-terms/xterm loops error upon launch

2021-05-10 Thread Dr Rainer Woitok
Vitor,

On Sunday, 2021-05-09 21:08:15 -0300, Vitor Hugo Nunes dos Santos wrote:

> ...
> After the install and configuration of Xorg, I decided to 'startx' and
> open xterm in fvwm.
> 
> Upon pressing the button to launch it, nothing came up. When closing
> fvwm, I saw the following message being printed ad nauseam to the screen:
> 
> open ttydev: I/O error

No idea what's the cause, but I had success with a small script contain-
ing:

   fvwm --replace &
   while sleep 1 && ! ps -efu rainer | grep FvwmIconMan | grep -qv grep
   do :
   done
   sleep 1
   xterm -geometry 80x40+0+0 -xrm "*Page:0 0 0" &

This script is in turn started upon login  via Xfce's "Application Auto-
start" tab of the "Settings -> Session and Startup" menu.   If you don't
start "FvwmIconMan" in your "~/.fvwm/config" file, replace it in the ab-
ove "grep" command with a module you do start.

Hope that helps.

Sincerely,
  Rainer



[gentoo-user] Re: No-multilib media-libs/opencv-4.5.0 fails to install

2021-05-10 Thread Michael
On Thursday, 6 May 2021 19:25:11 BST you wrote:
> At some point in the install stage emerge tries to remove some python
> modules and fails:
> 
> ==
> rm: cannot remove 'modules/python3': No such file or directory
> ===
> 
> 
> Half way it complains about CPU optimisations:
> ==
> RuntimeError: NumPy was built with baseline optimizations:
> (SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42) but your machine doesn't support:
> (POPCNT).
> =
> 
> I've rebuilt numpy, but it made no difference.
> 
> In any case it continues beyond that point, only to fail at the tail end. 
> Log attached.
> 
> Any idea what's wrong and how to move beyond this blocker?

I decided to apply an ugly hack as a workaround, to allow me to install 
opencv.  Bug report here:

https://bugs.gentoo.org/788712


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] I am thinking of buying Raspberry Pi 4 Model B 8GB with 7 or 10 inch touch screen display in June 2021

2021-05-10 Thread Wols Lists
On 09/05/21 09:29, Turritopsis Dohrnii Teo En Ming wrote:
> Finally, does your Linux distribution support Raspberry Pi 4 Model B 8
> GB? Can I do 4K Ultra HD video editing on the Raspberry Pi 4 Model B 8
> GB? Like adding watermarks, and cutting away unwanted 4K scenes. Is
> there a good 4K video editing software for Linux?

Actually, for video editing, I would at least look at buying a cheaper
PC, and a couple of high-end graphics cards.

Make sure that the software you choose (including linux) can off-load
video operations to the graphics cards, they will provide much better
"bang for your buck" than ram and cpu, in that arena at least ...

Cheers,
Wol