q3bing

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by q3bing

  1. 4 hours ago, techhit said:

    I got it going with GPU acceleration.  I had to install the AMD APU driver from https://www.amd.com/en/support/apu/amd-ryzen-processors/amd-ryzen-9-mobile-processors-radeon-graphics/amd-ryzen-9-5900hx and select the "factory reset" option so that it would uninstall all previously installed display drivers.  Now I have GPU acceleration working!!!!  Gaming and 4K 60fps video playback is PERFECT!  I'm so happy.

     

    Did you change any IOMMU group to bind anything to VFIO? Thanks

  2. Just now, tola5 said:

    What you mean with you can get the vbios ? I got it I just boot up outside off unraid normal Windows and use gpuz

    Sendt fra min SM-G998B med Tapatalk
     

     

    I'm confused. Were you able to get vibos or not? I just got error message while trying GPU-Z.


    If you got the vbios, have you tried adding it to the vm? And can you share it pls? Thanks!

    • Like 1
  3. Yeah I've tried with multiple configs but all ended up with code 43 (seen from remote connection, no video output). btw 6.10 RC1 doesn't help.

     

    So I had to install Windows bare bone for regular usage, and also, unable to extract VBIOS with GPU-Z, so that route hasn't cleared either. 

     

    I guess it would be nice if Unraid could address this somehow in the near future.

  4. So I tried following your exact setup, and with Seabios, VNC works, and as soon as I switch to iGPU in the template, I cannot remote into the machine, logs seem to point to some kind of error from the gpu. (not going to bother you with the details here) 

     

    One thing is that my xml doesn't have the xvga='yes' bit. And it got automatically removed once I tried to manually add it there. Appreciate it if you have any idea how this is the case.

     

    And also I tried instead of Seabios with OVMF, which seem to work better for me. I was able to remote into the machine and see the "Microsoft Basic Adapter". But no luck getting HDMI output to work as well.

  5. 57 minutes ago, jsebright said:

    OK, so I couldn't resist having another go. This is what I've done and the issues

    Made sure the AMD Cezanne graphics and driver were uninstalled from the VM

    Added the GPU and audio to the VM

    Fiddled with the Advanced settings xml so that the passed through audio bus was the same as the graphics, and the function was 0x1 (sort of matching the devices pre-passthrough). This might not be necessary if we're not installing drivers.

    Booted up the VM.

    Black screens and nothing.

    But, I could remote desktop into the VM, so I did that and rebooted it.

    It came up with a screen.

    Made sure the keyboard & mouse was attached, and logged in.

    Rebooted - came up straight away with the screen. Changed the resolution to match the monitor, rebooted and it's still good.

    Shut it down, then rebooted and all fine.

    I even tried pausing the VM from unraid then starting it and that worked.

     

    So - quite successfull.

    But - I can only see one monitor and I have two plugged in (I think both connections are plugged in at the server anyway!).

    Display adapter in Device Manager shows "Microsoft Basic Display Adapter". Obviously not making the most of the chip, but it's perfectly usable.

     

    I'm not going to go further and try to install any driver updates as it's got a high probability of jamming something and the server might require a hard reboot.

    It's possible to get this far.

    Good luck!

     

     

    Thanks! Are you comfortable with sharing your xml, specifically the graphics snippet? I found that after setting the graphics card to "AMD Cezanne" and switching to xml mode, there's not even a graphics section as there would be if I go with VNC. Really new to this stuff so sorry about the detailed request!!

  6. 2 minutes ago, jsebright said:

    Can't remember exactly, but VM is Q35-5.1 (latest Q35 for 6.9.2) with SeaBIOS. I think that some time ago I had to move from i440fx to Q35 to get a GPU passthrough working.

    I've not tried much recently as I don't want to crash the machine again, but I think the first try I hadn't even done the VFIO binding.

    Tempted to have another try to see if I can get something basic working without the drivers that doesn't crash the system following a VM shutdown / startup. Will post back when I do that.

     

    Thanks a lot! Now at least I know there's a possibility to work, and I'll play around with some settings as well. 

    Looking forward to your update.

  7. 1 minute ago, jsebright said:

    Have just upgraded to this CPU with the aim of removing a graphics card and reducing power consumption, but still hoping to pass through to a Windows VM.

    Initial passthrough worked OK (I think). (I have not tried to mess with the GPU bios.) Then trying to install the drivers I had some problems. Driver install seemed to hang, then once I'd got round that (possibly), then I found that turning off the VM caused horrible problems with CPU usage going crazy and the system becoming unresponsive. A reboot was the only solution.

    Since then I've avoided this hoping that there will be some fixes in a new driver, or in 6.10 (not ready to try a beta build yet as I only have the one server). I have meddled with an Ubuntu VM, but couldn't get that to pass through. Am tempted to try doing a clean windows install to see what happens, but am wary of locking everything up again, also might try and see how I can get on without drivers as I'm not worried about gaming - just occasional desktop use.

    I hadn't considered dumping the bios might help as I haven't needed to go that route before with a stand alone (very old) AMD card that I passed through. 

    Don't really want to put the old card back in, but that thought has crossed my mind.

     

    Interested to follow this and see what progress is made.

     

    Can you pls provide some more detail of how you got passthrough to work on Windows VM initially (w.o drivers)? VM setup, specific tweaks, etc. I think we're in the same boat as in gaming is not really a big concern, and occasional desktop use is good enough. For me after setting up the vm, set the graphic to AMD Cezanne, along with its audio, the vm starts fine, but no signal comes out of HDMI output. 

     

    As for the driver issue I do remember seeing something similar to yours elsewhere, but with other setup of course. Think that's not an easy fix tho. 

     

    I did upgrade to 6.10 rc, and I can try out any ideas you have as well. btw it's (supposedly) quite easy to revert back to 6.9 as well according to tutorials, just so if you want to try it out.

  8. Just now, Econaut said:

    Have you tried using the GPU-Z utility in a windows boot with the 5700G? I think that should go pretty smoothly. I'll be getting to that point in a few weeks maybe but will post the bios I get if that helps.

    That'd be great. I did hear about the method, and since I'm currently running it headless as a file server, and don't have a spare drive to install Windows on bare-metal, so haven't tried it personally. Will sure do that if I got hands on an additional drive in the near future!

  9. 41 minutes ago, Econaut said:

    What have you tried so far? I am in the same situation except I haven't installed my 5700G yet. As I understand it, there are some steps to remove access of it to the main system and get it passed through to vfio. From there, it should populate in the GPU/Sound card slots when making a VM. If you are lucky it might just work.

     

    Yeah I tried the basics but was basically stuck at extracting the vbios. You can check out the thread here.

     

    https://forums.unraid.net/topic/100525-video-guide-how-to-easily-dump-a-vbios-from-any-gpu-directly-from-the-server-for-passthrough/page/3/?tab=comments#comment-1026177

  10. On 1/1/2021 at 8:57 AM, DrMucki said:

    Trying to dump a bios from a Ryzen 4650g APU was not possible. It was the only graphics in the system and was bound to the vfio,

    bit it still gave errors... is it possible to dump the vbios from An apu?

     

    Has anybody tried to do so? Can anybody help or provide a dump of a Ryzen 4650g APU?

     

    I added a VBIOS from my "old" AMD Radeon R7-370+ with 2GB

    AMD Radeon R7-370_2G.rom 121 kB · 0 downloads

     

    Same for Ryzen 5700G. Help appreciated!

  11. New to Unraid here. I've put together a new system with the newly released (DIY anyway) AMD Ryzen 7 5700G, and was wondering if there's a robust way of passing through the iGPU on vms. I've searched around and found few scattered info on similar questions, but no definitive answer.

    If it works I'm hoping to use the server as a side workstation, and probably some light gaming. So the iGPU would be adequately powerful. Currently with vnc is just not usable as a regular machine. Windows/Linux are both ok for me btw.

     

    Any help would be greatly appreciated!

    • Like 1