<samueldr>
though I guess I'll first try "just" updating to latest nixos-unstable, getting it working, making a system closure to start from
bennofs__ has joined #nixos-aarch64
bennofs_ has quit [Ping timeout: 268 seconds]
cole-h has quit [Ping timeout: 265 seconds]
rajivr has joined #nixos-aarch64
orivej has joined #nixos-aarch64
apache8080 has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 240 seconds]
justan0theruser has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 250 seconds]
apache8080 has joined #nixos-aarch64
<dxb[m]>
domenkozar after booting to the image i'm seeing errors about the bluetooth hardware… tried ignoring them because i did get a shell, but then it fails to initialize the wifi driver interface when setting up wifi
justan0theruser has quit [Ping timeout: 250 seconds]
apache8080 has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 252 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-aarch64
apache8080 has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 265 seconds]
apache8080 has joined #nixos-aarch64
cole-h has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 252 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 252 seconds]
sphalerite has quit [Quit: WeeChat 2.9]
sphalerite has joined #nixos-aarch64
<domenkozar[m]>
dxb what's the output of ifconfig?
<domenkozar[m]>
and also if you can paste dmesg output somewhere
bpye has quit [Ping timeout: 268 seconds]
bpye has joined #nixos-aarch64
mvnetbiz_ has joined #nixos-aarch64
mvnetbiz_ has quit [Changing host]
orivej has joined #nixos-aarch64
<dxb[m]>
domenkozar i've unhooked everything now. my pis are normally headless and not easy to get to so i'll have to see if i can make more time today/tonight to troubleshoot. i also don't have an easy way to hook this thing up via ethernet so getting text output somewhere isn't going to be easy without wifi going. i did run `ip a` while it was in this state and can confirm the wireless nic is there and is indeed called
<dxb[m]>
`wlan0`. is there something specific i should be looking for in ifconfig or dmesg? if i can get back to it tonight i'll try looking over dmesg and see if i can find something interesting in there.
dev_mohe has joined #nixos-aarch64
<domenkozar[m]>
dxb: cool thanks. Note that if you make a typo when running wpa_supplicant you have to kill it first so it releases access to the interface before you reconfigure it again.
<domenkozar[m]>
That's all I can think of right now without going into details of what's the state on your rpi
dev_mohe has quit [Client Quit]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
HenrikK has joined #nixos-aarch64
<dxb[m]>
domenkozar i even re-downloaded and wrote the sd card and tried again to be sure
<domenkozar[m]>
With same result?
<domenkozar[m]>
dxb oh, you have to run it as root!
<domenkozar[m]>
sudo -i
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HenrikK has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 265 seconds]
<dxb[m]>
domenkozar: ah, i feel silly for not trying that lol
<dxb[m]>
i'll try to find some time to try again and will report back
<domenkozar[m]>
no problem, that's part of the tutorial to make sure common mistakes are accounted for
<domenkozar[m]>
I've revised the wording and moved the sudo -i bit to a better place
<domenkozar[m]>
thanks @dxb, much appreciated!
<dxb[m]>
i see it now... where was it before?
<domenkozar[m]>
it was at the end of the booting image section
<dxb[m]>
oh ok
<dxb[m]>
i'll try to read more thoroughly next time lol
<domenkozar[m]>
if linux was built using capabilities, then it could just warn it needs one to access wifi
<domenkozar[m]>
but let's not daydream :)
<dxb[m]>
i have some 3b or 3b+ models too (not sure which?)... i see it says this can be done with those too, but with tweaks. do you want me to try that too?
<domenkozar[m]>
yeah once we confirm that it works at least for 4, it would be great to try 3b(+)
<dxb[m]>
one thing that i think would be nice is some more information on how you got that hydra url for the image in case i want to go find some other image on there. maybe in case this document is outdated or if i wanted to try to grab an older image or something
zupo has joined #nixos-aarch64
<domenkozar[m]>
hmm, I like to keep tutorial focused on the goal and not give too much choice
<domenkozar[m]>
that's the opposite of the common tendency, but that makes them effective and testable :)
<domenkozar[m]>
I could start adding something like notes for such things, but I'm not sure that's really needed here, as the image should just make things work (or be updated for the tutorial itself)
<dxb[m]>
that makes sense, but it'd be nice to know why we're using that particular image, and like i said, if something were ever wrong with that link, i'd really have no idea where to go to find out where the latest is
<domenkozar[m]>
I hear you, let me try writing that up
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HenrikK has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
zupo has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vikanezrimaya has quit [Quit: Connection closed]
qyliss has quit [Quit: bye]
qyliss has joined #nixos-aarch64
<samueldr>
domenkozar[m]: I'll be trying your instructions as-they-are, now, and will check for fbdev at the same time
rajivr has quit [Quit: Connection closed for inactivity]
HenrikK has joined #nixos-aarch64
<domenkozar[m]>
Wohoooo :) Thanks
zupo has joined #nixos-aarch64
<samueldr>
it's small things (literally) like the micro HDMI connectors that makes it such a chore to test on the Pi 4
<clever>
half the micro-hdmi adapters i have, are rather bulky, and i cant use 2 at once
<clever>
but i recently got a micro to full cable, so the micro end is small enough to run dual-monitor
<samueldr>
yeah
<samueldr>
or worse
<samueldr>
bulky enough that you can't connect to HDMI0 while having power in type-c
<samueldr>
HDMI0 may or may have been required at some point
<clever>
thats the old advice, but ive found both work now
<samueldr>
I uh... can't test wi-fi
<samueldr>
because my network name is not something I can type
<samueldr>
┻━┻ミ\(≧ロ≦\)
<samueldr>
might be worth it, in the future, to include network-manager in the image instead, so a TUI can be used to select the network
<domenkozar[m]>
:D
<domenkozar[m]>
or name the SSID to be rpi inclusive :D
<samueldr>
it's not a raspberry pi issue!
<samueldr>
it's wpa_supplicant assuming ASCII for an SSID
<samueldr>
while the spec **clearly** states it's just bytes :)
<samueldr>
so any unicode, ascii, CP-whatever or ISO-whatever interpretations are... just that, interpretations
<samueldr>
but those instructions look fine enough, and I verified Wi-Fi *should* work by listing networks
<samueldr>
so even though it's technically untested, I have strong reasons to believe it works
<dxb[m]>
i used to set my ssid to something like `\x73\x73\x64\x69` ...... i had it like that for years but ultimately changed it because there were just too many times when i would specify the ssid in some command and it would interpret the hex bytes and it was too much of a pain in the ass to figure out whether it needed to be escaped, and if so, what was the appropriate way to escape it in whatever i'm currently having
<clever>
> You'll also have memory issues with only 512MB of RAM as it will assign 256MB to the CMA heap (all textures and resources to be displayed must be contiguous).
<{^_^}>
error: syntax error, unexpected WITH, expecting ')', at (string):494:32
<samueldr>
doing maths in <> is valid as per the spec (and it works)
<samueldr>
domenkozar[m]: how do you feel about having this as an option in the nixos-hardware repo for raspberry pi 4? something maybe turned off by default, that would configure modesetting and the device tree overlays accordingly
<samueldr>
(I'm also not sure about adding options in nixos-hardware, whether desirable or not... I would say it is desirable)
<domenkozar[m]>
Why have it off by default?
<samueldr>
less opinionated
<samueldr>
some users use the rpi4 headless
<samueldr>
either default annoys probably a sizeable chunk enough of our users
<domenkozar[m]>
It'd go for support all hardware by default, but submit a patch to turn things off
<samueldr>
I don't follow about "submit a patch"
<domenkozar[m]>
So that headless users can have a nixos option for it
<samueldr>
I still don't follow, "a patch" where?
<samueldr>
what I'd do is have those overlays as part of nixos-hardware
<domenkozar[m]>
A PR for nixos-hardware to support headless rpi4.
<samueldr>
the foundation doesn't turn it on by default, that's maybe a reason why turned off by default is better?
<samueldr>
oh, you merged the PR I see
<domenkozar[m]>
Time to sleep :)
<samueldr>
n/p
<domenkozar[m]>
Thanks for all the help!
<samueldr>
I'll open a PR, with the option set to off by default so we keep the "same defaults", but for using gpu accel with good defaults it'll be a simple option, which we can also use to configure things like using the modesetting videoDriver for X11
<samueldr>
and there's another option for opengl I still haven't looked into
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]