Jump to content

Calamity1911

Member
  • Posts

    117
  • Joined

  • Last visited

Everything posted by Calamity1911

  1. Well, I did some research and I found some extra information, but I still don't have a solution. If someone stumbles across this forum post, it appears as if the scale video filter in FFMPEG ruins HDR mapping, and additionally FFMPEG was automatically trying to convert the bt2020 raw file to bt709 without tonemapping, which caused the washed out colors. Handbrake still works, but it's significantly slower. Hopefully they add proper support for AMD GPU video decoding.
  2. Hi All, TL;DR Do either the MKV container or MP4 container support 4K AV1 content with HDR10? I've been having issues getting it to work. More Details: Recently I've been backing up my own and my father's Blu Ray collections which consist of both regular Blu Rays and 4K/HDR Blu Rays. I haven't had any trouble with the regular Blu Rays yet, but lately I've noticed some strange issues with the 4K HDR ones. For some context, I recently got an AMD RX 7800XT which has support for both AV1 decoding and encoding. I decided I should try to compress the 80GB 4K Blu Rays using AV1 because why not! The movie I used as a test subject was my Dune 4K Blu Ray, which contained both Dolby Vision metadata and HDR10 metadata according to dovi_tools The 4K Blu Rays are encoded using HEVC/H265 which my graphics card should support for decoding, and starting with the 1.7.x builds of Handbrake, they also support AMF AV1 encoding so I gave that a try. I found out that Handbrake doesn't support AMF decoding at all, so I was limited to around 40fps by the CPU decoding. This wasn't that big of a problem personally, but still kinda irritating. So I used the FFMPEG command line executable since they support AMF decoding through both the existing DirectX 11 Video Acceleration API and the new Vulkan Video API. This did technically work, and I was now able to transcode at closer to 80fps! Although when I went back to play the 4K AV1 MP4s, VLC wasn't tone mapping the HDR properly and everything was washed out. Strange. I checked that the original media was tone mapped properly by VLC, which it was (not desaturated at least). I did a bit of research and found out that some people were reporting that the MP4 container doesn't support all of the metadata needed for HDR (which I eventually proved false... Sort of) so I retired the transcoding but now into an MKV file. Same problem, although the HDR10 metadata was being detected by VLC, just without tone mapping for some reason. So the AV1 MP4 didn't have the proper metadata and wasn't getting tone mapped, and the MKV had the correct metadata but still wasn't being tone mapped. I re-tried the same steps, but instead of AV1, I used HEVC so basically I was just compressing the original by reducing the bitrate. That time, both as an MP4 and MKV, the HDR10 metadata and tone mapping worked properly in VLC. I was able to use dovi_tools again to verify that HDR10 metadata was present in at least the AV1 MKV as well as the HEVC MKV and MP4, so I'm beginning to think it might be a problem with VLC. I tried using Handbrake anyway to create the 4K AV1 files instead of just FFMPEG and confirmed the same exact behavior; metadata was present for both codecs in and MKV container, but VLC didn't tonemap the AV1 video properly. I made sure VLC was updated, same with FFMPEG and Handbrake. Any insights would be welcome
  3. Thanks, that was a good resource! I made sure to download the aarch64-linux-gnu-gcc package for cross-compilation from my 64-bit WSL image (Ubuntu 22.04 LTS) and made sure to enable my desired features in the menuconfig. When actually performing the build, I get a few errors relating to GCC: aarch64-linux-gnu-gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’ aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mtp=cp15’ aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mfpu=vfp’ aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-msoft-float’ When I did a little bit of googling, it seems as if it's an issue with cross-compilation. Any tips/pointers? I have work in a little bit though so my response might be a bit delayed **EDIT** Rookie mistake, I specified ARCH=arm instead of ARCH=arm64. Specifying the latter seems to have fixed it
  4. Hi guys, this is a continuation of my thread over here. I purchased a Raspberry Pi Zero alternative and was looking into modifying a Linux distro with an up-to-date kernel. The manufacturer provides a couple distros based on the 5.10 and 6.1 kernel, but I was looking to build a 6.5 kernel and potentially use Debian 12 or some other distro with the Panfrost Mesa3D driver for the GPU included. I was able to get the DTS file from their github, but I have never built a kernel before. The u-boot source code is also available if that is needed. I don't really know where to start now that I have these. I know I should probably clone the most recent Linux kernel from Torvald's repo and insert the new DTS file, and I read a little bit about building a DTB from the DTS files. Beyond that, I have no idea what to do. Any tips or pointers would be appreciated
  5. I just hopped over to the OrangePi GitHub and lo and behold, under their Kernel 6.1 Linux branch, I found their official DTS for the OrangePi Zero 2W! I have absolutely no idea what to do now, but that's something I guess. Also, they refer to the processor as an Allwinner H616 in the DTS, but it's actually a H618. The only difference I found in reading is that the H618 has a larger L2 cache. Any pointers on what I should do now that I found the DTS?
  6. Sorry for the late updates everyone. It's approaching the end of the delivery window for the OrangePi Zero 2W and tracking still shows it sitting in California after arriving in the United States. I could be mistaken but I think they are extremely similar, maybe just the board layout is different. I found a post here claiming that the OrangePi Zero 3 booted on kernel 6.5-rc with minor tweaks, which could be good news if the board even arrives. If not, I might just get a name-brand Pi 4 4GB. Also I am finishing up college for computer engineering, but I have yet to compile a Linux kernel so I have absolutely no idea what to do in that regard. All of my experiences have been with lower level embedded systems programming so I haven't tinkered much with that kind of stuff. I know OrangePi's docs show how to compile the Linux kernel and a bootable image, but I think it uses a slightly older kernel. Ideally I'd get Debian 12 or similar working since the Panfrost Mesa3D driver for the Mali G30 on the SoC was incorporated in that release **EDIT** I should add I'd love to do some tinkering with building the kernel but I have absolutely no idea where to start. Since starting with Kernel 6.5 it seems like the H618 should boot, wouldn't that mean any Distro based on that kernel should just work or would the bootloader on the board not necessarily see the OS? Again, bear with me here, operating systems and kernels aren't my strong suits
  7. Well, I was able to find some documentation on OrangePi's github, although there is no mention of the Zero 2W as it was apparently released last month roughly when I ordered it. From what the specs say though, it seems similar in architecture to the Zero 2, as the Zero 2 uses an H616 where the 2W uses a H618 which are pretty similar afaik. I also found some of the official firmware bins in the orangepi github as well. I just need to do some more reading I guess.
  8. Hi All, this is my first post in quite awhile. I recently purchased an OrangePi Zero 2W and it should be arriving some time this week. Here's the official link for those interested. Anyway, the OrangePi website claims the board supports a whole host of different operating systems, but OrangePi just provides a somewhat sketchy shared Google Drive folder with the Linux ISOs that they list as compatible. I was wondering if anyone has any knowledge on re-spinning an ISO for an ARM SBC. I know the processor on the SBC I bought is an Allwinner H618 with 4GB RAM, but I don't know how to bundle the necessary drivers, or if the generic Ubuntu ARM ISO will work out of the box. Ideally, I'd like to use something pretty lightweight like the Lubuntu distro since I have had good luck with it on official Raspberry Pi boards, but that goes back to the same question; how to I include the necessary drivers or will they be available out of the box? It also looks like the GPIO for the OrangePI Zero 2W is pin-compatible with the Raspberry Pi, so GPIO drivers would also be nice since one of the features I occasionally use on name-brand Pi's is the UART console so that I can interface with the board without a network connection. Eventually I would also like to configure a self-hosted WiFi AP so that a client can connect directly to the SBC using something like VNC, but the UART console can do a similar thing but without a GUI. In summary, I guess what I'm looking for is some insight into bundling WiFi & GPIO drivers for my OrangePi Zero 2W into an already existing Linux ISO. Thanks for any input
  9. I did get a new adapter that just so happened to use the same chipset and now it is reporting a USB3 connection. I also switched to TrueNAS Core to host the NAS. When writing to the NAS, it still gets ~40MB/s but when reading, it gets ~80MB/s so it's definitely using USB3. That's good enough for now.
  10. Alright new issue. I got a new ethernet adapter and it definitely reports using USB3 instead of USB2. However, I determined that using lsusb -vvv on a ubuntu install. I switched over to TrueNAS Core to give it a shot, and now it seems like it's back to USB2 speeds. Give me a break. **EDIT** Now it seems to do 40MB/s writes but it can actually do 80MB/s reads to/from the NAS now? Sure, man. Good enough for me.
  11. Hi all, In one of my previous posts I was discussing some possible limitations of a Samba share I have set up for a home NAS. Basically, for black friday I got myself a WD 4TB external hard drive for use as a home NAS. I tried setting it up a couple ways. First though, I tested the disk's speed and I got about 200MB/sec sequential over its USB3 interface. I was also recently given an old laptop from a family member who recently upgraded. It's an "old" dell Inspiron 15, but I don't remember the exact model. It has a 6th gen i3 mobile chip in it which should be powerful enough to host a gigabit NAS. The first problem I found was that the on-board LAN port is only 10/100Mbit instead of gigabit. I happen to have a USB3 to ethernet adapter laying around, so I decided to try that. It definitely was faster than 10/100M LAN, but I was running into a different problem. Lubuntu and Kubuntu both were reporting only a USB2 link to the adapter, but still a USB3 link to the hard drive. Even more strange. So I then tested the gigabit ethernet adapter on my Dell XPS15, but on there it was able to get a full gigabit link. I tested that by setting up a network share hosted on the XPS and I was saturating a gigabit link. The one other thing I can think of is the fact that the gigabit adapter uses a USB C connector, but the old dell laptop doesn't have a type C port. I also have a few female USB C to male USB A adapters too, so I have been using those. I know they can do full USB 3 speeds as I use them occasionally on my desktop which doesn't have USB C. (Similar to these, but I cannot find the same exact brand I have laying around) At that point, I thought it could be the driver for the adapter. I was able to find a driver for the ethernet controller chip in the adapter I use, but the linux driver fails to compile due to a code error. I don't know very much C so I just gave up on that and installed Windows 10. Still having a USB 2 link to the adapter. At this point, I think it is most likely the USB 3 controller in the laptop's fault, but I don't know what I can do to fix that. Any advice would be greatly appreciated.
  12. I'm gonna have to eat my words here a bit. It turns out that on Linux, the adapter was only using a USB 2.0 link. My testing methodology for the Ethernet adapter was flawed. Either way, I tried the same dongle on a windows laptop, and it legitimately got gigabit speeds. I ensured that by setting up a windows folder share on the network and it got ~100MB/s. So I then looked into possibly updating the drivers for it on Linux, and I did find some Linux drivers but there were some compilation errors for the drivers. I gave up on Linux all together and then tried windows on the server. Still 40MB/s limit. No idea why at this point. I tried the Ethernet adapter in both of the laptop's USB3 ports to no avail. I have one more thing I can try tomorrow after my college classes.
  13. When I ran lsusb -vvv both the external drive and the gigabit adapter reported being connected over USB3. If I remember correctly, they actually reported USB3.10 but still, basically the same.
  14. I verified that the hard drive is indeed connected over USB3 by using lsusb -vvv and verified the gigabit connection to the local network.
  15. It's 40 megabytes, not bits. Sorry for any miscommunication. I made sure to connect both the gigabit ethernet adapter and the external drive to separate USB3 ports.
  16. Hello everyone. On Black Friday this year, I decided to treat myself to a 4TB external drive for use as a NAS. I have an old laptop (6th gen core i3 mobile, 12GB RAM) with a bad battery that I converted into a "home server," basically just installed Lubuntu on it. I also had to get a USB3 to Gigabit Ethernet adapter since the onboard LAN port was only 100Mbit, and speeds were initially 12MB/s because of it. I should also add that the external drive I purchased was capable of around 200MB/s when connected directly to a Windows 11 laptop. Over my houses 1Gbit networking, I am only getting ~40MB/s peak read and writes. That still is faster than my actual plan from my ISP, but it still is a good chunk slower than gigabit speeds. I also have it configured using Samba, as the desktops in the house use Windows. From the little bit of research I did, I found out that Samba can be pretty limited in terms of speed, but I was wondering if there is anything I could do to help with that bottleneck. I know there are other protocols for NASes, but I don't know which ones can be hosted on Linux and be used by a Windows client. Ideally I would be able to use Windows' "map a network drive" feature so I can have the NAS show as a Z:\ drive or something. Thanks for any input.
  17. So far it seems like you have a good starting point for a PC. Just make sure you get a Z-series motherboard to fully utilize the 10700K, as that is an overclockable chip. If you don't intend on overclocking, then IMO you could "downgrade" to a regular 10700 and save some money with whatever the step-down motherboard compared to a Z motherboard is. I don't remember all of Intel's motherboard specifications as I have used AMD for a few years, I just remember that Z was the top of the line, more or less.
  18. I recently decided to upgrade to a Dell XPS 15 (2020 model, i7 10750H) and it has a couple Thunderbolt 3 ports. I was just wondering if there are any docks that offer a couple of the USB 10gbps ports (C or A connectors) or maybe even the 20gbps port. I do already have a generic USB C dock I purchased awhile ago to try Samsung Dex, but that only uses a 5gbps connection with DP/HDMI alt mode or whatever it's called. I purchased the laptop after saving up over the summer for college, and some of the classes I am taking do require regular USB peripherals, and I have a Samsung external SSD that I backup my schoolwork to which uses the 10gbps standard, so ideally I could find a dock with at least one 10gbps port and a couple regular type A ports. *edit* I should also add that I don't really need any display outputs. I also just stumbled across Linus' Caldigit dock video, and it looks like the Soho dock would work, although it uses a 10gbps link to the PC which isn't ideal, but also isn't a deal breaker. Please let me know if you have any recommendations and thanks in advance
  19. It should be able to handle something like a RTX 3060, but the CPU would be my main worry. The i7 4770S is a low power chip, so it might struggle to keep up with anything more powerful. If you wanted to, you could start off with buying the graphics card, then save up some money to switch to either a more modern Intel processor or AMD processor and matching motherboard/RAM. Your power supply should be good enough to handle even an RTX 3070 so that can be saved for a future build/upgrade, as well as stuff like hard drives and solid state drives.
  20. Yesterday's patch notes Supposedly IronGate Studios added support for DNS connections to their Valheim Dedicated Server tool, but I do not know how to properly use that feature. I own a domain through Google Domains that I use to host some game servers on, mainly Minecraft for right now, but the big differences that I noticed from reading the Valheim Dedicated Server manual is that the server actually requires two ports (to be port forwarded at least) and both of those ports need TCP and UDP open. Setting up a domain for a Minecraft server was fairly straight forward as it only needed one port and only TCP, but I don't know how I would go about setting up another one for a Valheim server. And no, DNS is not mentioned in the dedicated server PDF. **EDIT** I should also note that the game does have a server browser, and for right now I have the server appearing on that browser, but my goal is to take it off that list and have my friends/other users only connect via the address I am trying to set up.
  21. Lately some of my streamer friends and I have been working on setting up a Factions server for content creation. Now we are going public. We have a temporary Discord set up for now, but we will work on integrating with the Factions plugin as soon as possible. We have a chest shop plugin, an economy plugin, and obviously a Factions plugin. We also have advanced teleport which adds tpa and homes. The Server IP is mc.calamityserver.net VPN connections are denied by default. https://discord.gg/tu7rXJXr
  22. I recently got a new motherboard and CPU, and once I went to get Windows 10 installed on it, the network drivers don't install. In device manager, it lists error code 10 ("This device cannot start. Code 10"). The motherboard I have is an MSI MAG B550M Bazooka, and the listed Ethernet chipset by them is the "Realtek RTL8111HN Gigabit LAN," but I also noticed that the device manager is reporting a Hardware ID for a regular RTL8111 or an RTL8168. Either way, I downloaded the listed Ethernet driver, and it claimed it successfully installed, so I rebooted. Nope. I used device manager to uninstall the driver, and then booted into safe mode to install the driver. Nope, still error code 10. I rebooted still in safe mode, and did the Have Disk method of installing drivers. The driver package given by MSI shows 2 options. Neither worked. Still error code 10. I did a little hunting online and saw that there might be a couple bad registry values, so I followed the guides. They had you go to something like HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\[some GUID for network adapters] and there should've been a couple entries you should delete, but they weren't there for me. I then tried some troubleshooting program from Realtek itself, and it didn't even see the GbE controller, but it found my USB Bluetooth adapter just fine. So I tried what should've been a universal installer from them that claimed to support both a bunch of RTL8111 versions and RTL8168 versions. Same error code, even repeating all steps. Then I caved and reinstalled windows and repeated the whole process, to no avail. If anyone has any info on what's going on, it would be greatly appreciated. If you need any more info, let me know. I might not get back to you right away because I've been working on this all day so far, and I need a bit of a break.
  23. The airflow in my case should be pretty decent, since I have the 240mm radiator at the front of my case pulling air in, and then I also just have my side panel off. I can try to watch VRM temps to see if that is the issue, I think HWInfo can monitor them. I'll post and update soon™
  24. yes chipset drivers installed, the most recent BIOS, and my system specs are on my profile. If you don't want to look there, Ryzen 7 2700X MSI B450M PRO VDH Max 16gb (2x 8gb) Corsair LPX DDR4 @ 2400mhz MSI Ventus RTX 2070 Super EVGA 550 G3 PSU
  25. I've had my current motherboard for almost a year now, and since I got it, the power delivery has been pretty unreliable. The model is MSI B450M Pro VDH Max. Basically, I first noticed it when I tried to enable Precision Boost Overdrive or whatever it's called, since I have an X series Ryzen chip. It would work normally most of the time, but as soon as something CPU intensive happened, the whole system would hard reboot. Hard reboot as in no bluescreen or errors reported in windows event viewer, just a black screen and then it would reboot. I tried a more powerful PSU, a 750 watt as opposed to my 550 watt, and that didn't help at all. I eventually figured out that it was just PBO acting up, so I disabled it. I went to manually overclock my CPU, and the same thing would happen, so at that point I figured it was the VRMs or power delivery or something. I reset everything back to normal/defaults, and I have been relatively fine since. Recently, though, I decided to reinstall Red Dead Redemption 2, which is a pretty intensive game as plenty of people know. There is one specific loading scene in a quest in Valentine that causes my system to do the same exact thing as it would do with PBO or overclocking, but now at default settings at stuff (albeit I have the high performance power mode selected in windows power management) So is this a problem with power delivery? The CPU never gets above 70 degrees C, so I doubt it's thermals. If it is power delivery, what should I do? I think the motherboard is still covered by the manufacturer's warranty, and I think I got one from the store I bought it from, too (MicroCenter). The downside should I have to do a store warranty is that the MicroCenter I got it from is like an hour's drive away. Any help is greatly appreciated
×