<colemickens> who knew accelerated video playback was so hard on rpi4!
<colemickens> I assumed it was easy at launch and its looking like it only became possible with upstream forks as of... days/week(s) ago.
<colemickens> (and I still don't have either method working for h265 or HEVC :( boo hoo)
zarel has quit [Ping timeout: 265 seconds]
zarel has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos-aarch64
asbachb has joined #nixos-aarch64
<asbachb> Anybody running kodi on rpi4?
<colemickens> asbachb: ^
<Irenes[m]> ooh, nixiosk is neat!
<asbachb> colemickens: mh. I try to run kodi on nixos.
asbachb has quit [Remote host closed the connection]
vika_nezrimaya has quit [Ping timeout: 256 seconds]
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos-aarch64
lopsided98 has quit [Ping timeout: 250 seconds]
FRidh has joined #nixos-aarch64
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
zupo has joined #nixos-aarch64
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
lopsided98 has joined #nixos-aarch64
zupo has joined #nixos-aarch64
asbachb has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
FRidh has quit [Quit: Konversation terminated!]
<asbachb> Do I get it right that https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi#Without_GPU defines a configuration for cpu graphics instead of gpu?
<srk> pretty much, fbdev is just a kernel framebuffer
<asbachb> srk: Thanks.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos-aarch64
vika_nezrimaya has joined #nixos-aarch64
<asbachb> Does it make sense to enable vc4-fkms-v3d.dtbo without x?
<asbachb> (On Raspberry Pi)
<asbachb> I get some cp: cannot stat 'bcm2708-rpi-0-w.dtb': No such file or directory.
zupo has joined #nixos-aarch64
vika_nezrimaya has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos-aarch64
asbachb has quit [Ping timeout: 240 seconds]
<clever> samueldr: e2fsprogs fails to build for armv7l on nixos-unstable
<thefloweringash> Builds for me
<clever> thefloweringash: what are you using as a builder? and which os?
<thefloweringash> An armv7l-linux vm on my aarch64-linux builder, nixos
<clever> thefloweringash: ah, i'm using single-user nix on raspbian rpi4
<clever> let me see if multi-user nix makes any diff...
vika_nezrimaya has quit [Read error: Connection reset by peer]
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos-aarch64
<clever> thefloweringash: tests still fail when nix-daemon is at play
<clever> m_hugefile: create a hugefile fs with a single huge file: failed
<thefloweringash> I’ve added it to my hydra, but due to misconfiguration (?) it’s not using the cache for most steps. Progress here: https://hydra.barbara.cons.org.nz/build/6341
vika_nezrimaya has joined #nixos-aarch64
<clever> thefloweringash: dns failure trying to load
<thefloweringash> It’s ipv6 only
<clever> ah, i turned v6 off because netflix is crazy
<thefloweringash> That sounds like an interesting story
<clever> thefloweringash: i'm using a v6 tunnel, so it behaves like a proxy, that exits in the "wrong" country
<thefloweringash> It’s ipv6 only because I haven’t figured out an easy way to publish it on v4, and I’m kinda lazy.
<clever> thefloweringash: netflix detects that v4 and v6 are in diff countries, and thinks i'm trying to bypass the region lockout, and blocks everything
<thefloweringash> Well that’s terrible :-(
<clever> and without root, you have no way to disable v6 on android
<clever> so you have to disable it network wide
<thefloweringash> Can you get a tunnel that exits in the right country?
<clever> maybe, but then i have to redo all my dns to use the new ip
<thefloweringash> I clicked the button on Cloudflare to make them proxy it through their origin, maybe it works now?
<thefloweringash> whenever I turn this on I just get handshake failures
<clever> [clever@amd-nixos:~]$ dig hydra.barbara.cons.org.nz A
<clever> thefloweringash: still no A records
<thefloweringash> I think I might have been bumping into 2 levels of sub domain and a single-level of wildcard. I’ve moved it to https://hydra.cons.org.nz/build/6341
<clever> code 200!
Thra11 has quit [Ping timeout: 264 seconds]
NickHu has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
goibhniu has quit [*.net *.split]
lorem_ipsum has quit [*.net *.split]
nbp has quit [*.net *.split]
misuzu has quit [*.net *.split]
claudiii has quit [*.net *.split]
NickHu has joined #nixos-aarch64
matthewbauer has joined #nixos-aarch64
lorem_ipsum has joined #nixos-aarch64
misuzu has joined #nixos-aarch64
goibhniu has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
nbp has joined #nixos-aarch64
claudiii has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
nbp has quit [Ping timeout: 240 seconds]
nbp has joined #nixos-aarch64
<thefloweringash> clever: it has the big green check mark now
<clever> thefloweringash: ok, thats weird, and you have the same $out as i do
<samueldr> clever: you were building on an aarch64 machine, right? was the kernel/userspace 32 bit?
<samueldr> [12:04:51] <clever> thefloweringash: ah, i'm using single-user nix on raspbian rpi4
<samueldr> I guess it was
<clever> samueldr: building on a 32bit rpi4
<clever> pi@raspberrypi:~ $ uname -a
<clever> Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
<{^_^}> https://github.com/NixOS/nixpkgs/pull/1270 (by vizanto, 6 years ago, closed): SmartOS package compile fixes
<samueldr> m_hugefile: create a hugefile fs with a single huge file: failed
<samueldr> ah, you had it cornered already
dtz has quit [Ping timeout: 246 seconds]
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos-aarch64
dtz has joined #nixos-aarch64
<clever> samueldr: the real question, is why that test fails for some and passes for others
zupo has joined #nixos-aarch64
<samueldr> check what hugefile does, and do it manually?
<samueldr> maybe your fs cannot accomodate?
<clever> samueldr: just from the name alone, it sounds like its using mkfs.ext4 to generate a disk image, then debugfs to poke around within it
<clever> so it shouldnt rely on the host fs
<samueldr> unless it fails to create that disk image
<samueldr> on that host fs
<clever> /dev/mmcblk0p2 on / type ext4 (rw,noatime)
<clever> Filesystem Size Used Avail Use% Mounted on
<clever> /dev/root 15G 8.6G 5.2G 63% /
<clever> e2fsprogs-1.45.5/tests/m_hugefile/script
<samueldr> I figure it's a sparse file, 4T
<clever> echo "mke2fs -F -T hugefile test.img 4T" > $OUT
<samueldr> yep, sparse as described at the top
<samueldr> what's the FS for raspbian?
* clever looks
* clever points up, ext4
<samueldr> right
<thefloweringash> Also ext4 here, but 100g free
<clever> root@raspberrypi:~# mke2fs -F -T hugefile test.img 4T
<clever> Could not write 510 blocks in inode table starting at 536870914: Invalid argument
<clever> mke2fs: Invalid argument while zeroing block 1073741808 at end of filesystem
<clever> it hard fails, when using the raspbian build of mke2fs
<clever> pwrite64(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2088960, 2199023263744) = -1 EFBIG (File too large)
<samueldr> heh
<clever> ftruncate64(3, 2199025360896) = -1 EFBIG (File too large)
<samueldr> I don't remember how, but you should dump the ext4 features the filesystem supports
<samueldr> likely you cannot put huge files in the one from raspbian
<clever> Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file dir_nlink extra_isize
<clever> root@raspberrypi:~# dumpe2fs /dev/mmcblk0p2
<clever> thefloweringash: what does yours say?
<clever> Block size: 4096
<clever> samueldr: i suppose a tmpfs on /tmp would bypass this as well...
<samueldr> plausible
<thefloweringash> Filesystem features: has_journal ext_attr resize_inode di
<thefloweringash> per large_file huge_file dir_nlink extra_isize metadata_csum
<thefloweringash> r_index filetype needs_recovery extent 64bit flex_bg sparse_su
<clever> thefloweringash: aha, the 64bit flag i think
<clever> i'm likely limited to 4 billion blocks of 4kb each
<clever> ish
<clever> thefloweringash: oh, you also have huge_file, while i have large_file
<clever> which is bigger? lol
<clever> huge_file
<clever> This ext4 feature allows files to be larger than 2 terabytes
<clever> in size.
<clever> aha, thats exactly how big my file wound up being
<clever> root@raspberrypi:~# TMPDIR=/run/ /nix/var/nix/profiles/per-user/pi/profile/bin/nix-build /nix/store/5p94hiadkjgg2hn5z1f4kk2hinvcxybx-e2fsprogs-1.45.5.drv
<samueldr> :/ tests that end up failing because of ambiant state
<clever> it passed with that!
<clever> samueldr: well, now we have something we can document, and maybe test for and skip that test, or report upstream?
<samueldr> report upstream, as they already test some configurations in the test script
<clever> samueldr: the pi is also getting pretty toasty, cant hold onto it anymore
<samueldr> :o
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos-aarch64
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos-aarch64
dongcarl has quit [Ping timeout: 260 seconds]
<clever> samueldr: neat
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has quit [Quit: WeeChat 2.7.1]
pbb has joined #nixos-aarch64
pbb has quit [Excess Flood]
pbb has joined #nixos-aarch64