-
andyf
# _XOPEN_SOURCE should not be defined for C++ on Solaris.
-
andyf
(ruby configure script)
-
megaTherion
interesting, why would C++ care
-
megaTherion
but probably rather a ruby quirk
-
megaTherion
can I disable vga text output somehow
-
rmustacc
Are you trying to have the primary console be something else, disable a console on the framebuffer, or do even more.
-
megaTherion
trying to test gpu passthrough
-
megaTherion
but I have to prevent the vgatext driver to attach to the primary gpu
-
rmustacc
Hmm. Probably you want to assign it to ppt, but I'm not sure the best way to accomplish that.
-
megaTherion
exacly, Im trying to assign it to ppt
-
megaTherion
normal passthru works, just tested that
-
megaTherion
I know that it basically works because I had this kind of configuration on proxmox with only a single gpu
-
megaTherion
so its more a question if bhyve lets me to do it or not
-
rmustacc
I've never really worked with passthru much. I know folks have done assignments of secondary GPUs before. But that's not a ton of help for you right now.
-
megaTherion
do you know how I can prevent the vgatext driver from loading/or attaching?
-
megaTherion
ok works, I've edited /etc/driver_aliases and removed vgatext, instead I took those lines and put them together with ppt in /etc/ppt_aliases (and /etc/ppt_matches)
-
vetal_
Any suggestion with "ModuleNotFoundError: No module named 'packaging.licenses'" ?)
-
megaTherion
vetal_: was that about building OmniOS?
-
vetal_
megaTherion: Yes
-
megaTherion
ah well actually I wanted to try building it myself
-
vetal_
-
megaTherion
vetal_: I get a different error, but also python related - something after PEP518 build and library/python-3/attrs-312
-
megaTherion
vetal_: oh right, I checked the log - its exacly the same
-
megaTherion
vetal_: have you tried builing in global or in a non-global zone?
-
vetal_
megaTherion: In global zone. As described here
omnios.org/dev/build_instructions
-
megaTherion
vetal_: ok I see, so this makes no difference - I did a local zone for this
-
andyf
It looks like one of the upstream dependencies has bumped the version of 'packaging' they need. I'll open a PR to fix the build in r52.
-
megaTherion
thanks
-
megaTherion
is it also possible to just recompile the kernel or do you really always need to build *everything*?
-
Woodstock
megaTherion: fyi, the specific bhyve changes to properly support gpu passthru have not been ported to illumos, so even if you assign your display device to ppt and pass it through to a VM, it likely won't work.
-
megaTherion
Woodstock: I see, thanks - as I understood it's not clear if it works on FreeBSD as well without the specific nvidia patch which aroused
-
richlowe
if I run `json_pp` (from pkg:/runtime/perl⊙5, surprisingly!) it always says `Duplicate specification "V" for option "v"`, regardless of the input (even /dev/null).
-
richlowe
is something getting case folded by surprise? there's not much there to give a clue as to what, even if it is.
-
megaTherion
Can I access data of a zone if it's not running?
-
m1ari
richlowe: that error seems to be coming from Getopt::Long as json_pp seems to have a -v and -V option.
-
m1ari
it looks like Getopt is defaulting to ignoring option case (I'm guessing it shouldn't) I don't know if that's due to some recent change somewhere or some bug (possibly in how perl or it's modules are built on omnios)
-
richlowe
It's apparently new since 5.40, I hope it's an issue in perl somewhere and not the locale data :\
-
hadfl
yeah, it's Getopt::Long 2.57 v. 2.54 (perl 5.40 v. 5.38) they added the warning
-
hadfl
i don't think we changed build options for perl so `ignore_case` would probably always have been in place
-
sommerfeld
megaTherion: generally yes if you're root in the global zone. details depend on what sort of zone it is.
-
sommerfeld
zonecfg -z $zonename info zonepath will tell you where.
-
sommerfeld
for bhyve/vm zones you can get at the virtualized disk images; native zones is just filesystem. if you add lofs mounts to the zone you can make the sharing easier.