• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • I haven’t made a bridge to a VM before today, or made a bridge with Network Manager. That being said, I was able to persuade Network Manger to get a bridge working, and there are a few things I can note:

    • When you setup the bridge, the host network interface should become a slave to the bridge. This means that the physical network interface should not have an IP Address, and your bridge should now be where you configure the host’s IP address.

      • After you start the VM, you should be able to run ip link | grep 'master br0' on the host, and it should display 2 interfaces which are slaves to br0. One for the physical ethernet interface, one for the VM (vnet). And it should only list your ethernet interface when the VM is off.
    • The RedHat tutorial does not show the bridge and the host having different IP addresses, the RedHat tutorial shows the bridge and the guest having different IP addresses. Actually, no, the RedHat tutorial shows the libvirt NAT bridge, not even the bridge that the tutorial describes creating… If you set the IP address of virbr0, I don’t know what happens.

    • If your VM’s network adapter is connected to the host’s bridge, then you should be able to log into your VM and set a static IP address.

    I had a lot of problems getting Network Manager to actually use my ethernet interface as a slave for the bridge. Here’s what worked for me, though:

    nmcli con show
    nmcli con down 'Wired Connection 1'
    nmcli con modify 'Wired Connection 1' connection.autoconnect no
    nmcli con add type bridge con-name br0 ifname br0
    nmcli connection add type bridge-slave ifname enp7s0 master br0
    nmcli con modify br0 connection.autoconnect yes
    nmcli con modify bridge-slave-enp7s0 connection.autoconnect yes
    nmcli con modify br0 ipv4.method manual ipv4.addresses 172.16.0.231/24 bridge.stp no
    sudo systemctl restart NetworkManager.service
    nmcli con show
    ip addr
    
    • Instead of enp7s0, you’d use enp1s0 I guess.
    • Above, I manually set my bridge IP address to a static address because my ethernet interface is wired directly to another computer, so no DHCP for me. If you have DHCP on your ethernet network, you probably don’t need to set “ipv4.method” or “ipv4.addresses”.
    • I set “bridge.stp” to “no” because my network doesn’t have any redundant paths, and the stp process seems to take like 25 seconds before I can use the bridge network.

    After that, I can go into “Virtual Machine Manger”, set my VM’s NIC’s Network Source to “Bridge device…”, Device name to"br0", boot my VM, login to my VM, configure my VM’s ip address. And then I can connect to the VM’s IP address from the physical ethernet network.




  • Completely tangential tip, but in the very-limited video editing I’ve done recently: I’ve used Davinci Resolve, rendered as .mov, and then used ffmpeg to render to my actual desired format. e.g. h264 w/ aac audio so I can upload to Youtube:

    ffmpeg -i input.mov -c:v libopenh264 -profile:v high -c:a aac -pix_fmt yuv420p output.mp4

    I do think that finding the right flags to pass to ffmpeg is a cursed art. Do I need to specify the video profile and the pix_fmt? I don’t know; I thought I did when I adventured to collect these flags. Though maybe it’s just a reflection of the video-codec horrors lurking within all video rendering pipelines.

    edit: there may also be nvidia-accelerated encoders, like h264_nvenc, see ffmpeg -codecs 2>/dev/null | grep -i 'h\.264'. I’m not sure if the profile:v and pix_fmt options apply to other encoders or just libopenh264.



  • vole@lemmy.worldtoAnime@lemmy.mlWinter 2024 anime calendar
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Shows for Winter 2024 on my radar, that I am interested in watching:

    • Classroom of the Elite: first two seasons were fun, looking forward to season 3
    • Bottom-tier Character Tomozaki: first season was OK, I’m interested in where the story will go
    • Mato Seihei no Slave: I vaguely recall someone saying there was something good about the source material
    • MASHLE: first season was OK, I’m not very interested in S2, I might binge it when the season is complete
    • Blue Exorcist: oh, another season. It’s been a while. I remember liking the first season and being confused at the start of the second season (it’s about 6 years between each season, so maybe I just forgot some important details. From a S2 MAL review: “the season does not follow the end of season 1. Episodes 18-25 were not canon and accordingly, they do not exist in season 2”, I didn’t know this, so maybe that was my problem)
    • The Dangers in My Heart: first season was fantastic, excited for the second season
    • A Sign of Affection: the source material is rated highly on MAL, I’ll give it a shot
    • Banished from the Hero’s Party: First season was OK
    • TSUKIMICHI: I liked the first season, looking forward to the second season
    • The Foolish Angel Dances with the Devil: I saw the PV, I’ll give it a shot
    • Cherry Magic!: The source material is rated well on MAL, I’ll give it a shot
    • The Witch and the Beast: The source material is rated well on MAL, I’ll give a shot
    • The Weakest Tamer Began a Journey to Pick Up Trash: WILDCARD, I dunno, it sounds like absolute trash from the title, but I think I’ll give it a shot anyways

  • Boushoku no Berserk was fairly enjoyable! It is kinda trash, but it’s good trash: there’s an actual plot, the main characters are fairly likeable and fairly believable (even if the villians are like “hahaha, watch me be evil!”) and have a touch of depth. The struggles that the MC has to deal with are actually interesting. The animation and sound design is of acceptable quality throughout. The voice acting was pretty good!

    7/10: guilty pleasure for those of us who like these kinds of shows. I generally know what I’m getting into when I see the promotional art and description for these kinds of shows; Boushoku no Berserk meets or exceeds those expections.

    Also Eris: “whoops, I guess I shouldn’t have gone along with Envy’s scheme.” A change of heart… but why? Because Fate won? lol. I guess just leave it up to the viewers imagination because the actual explanation would probably not be worth watching.