Jump to content
dvd.collector

Graphics card reset issue (AMD)?

12 posts in this topic Last Reply

Recommended Posts

I've created a new windows 10 vm and am passing through my AMD RX480x graphics card.

 

It works fine the first time, but after shutting down the vm, the vm will not start a second time without rebooting the whole tower.

 

From reading around I can see this might be a "reset bug", but more applicable to Nvidia than AMD cards?   Regardless, does anyone have a solution?

Share this post


Link to post

You can try to safely remove the card the same way you do with a USB drive. Then shut it down through the webgui. 

I have three RX480 and I didn't have any problems rebooting some versions of unraid ago, so it might be something in qemu/libvirt that changed. 

Share this post


Link to post

You have never safely removed a USB drive?

There is an icon of a thumb drive on the right side of the task bar. Clicking this will give you a pop-up with some devices to remove. 

Share this post


Link to post

I don't have this icon unless a USB drive is plugged in??  Even when I plug in a USB drive, it only shows me the USB drive.  I'd never heard of "ejecting" a graphics card, hence me asking :)

 

Screen Shot 02-15-18 at 04.34 PM.JPG

Edited by dvd.collector

Share this post


Link to post

Have you installed the virtio drivers and guest agent? 

 

This is how it looks here when clicking the USB icon.

eject.PNG

Edited by saarg

Share this post


Link to post

OK thanks, I see them now.

 

I don't suppose you know any way to script the eject do you?  Google shows me how to script eject of a drive letter, but not a device.

Share this post


Link to post
On 2/17/2018 at 4:01 AM, tjb_altf4 said:

 

Thank you for this

 

Just wanted to add on to this since it didn't cover restart's.

 

https://stackoverflow.com/questions/101647/how-to-schedule-a-task-to-run-when-shutting-down-windows

 

"For those who prefer using the Task Scheduler, it's possible to schedule a task to run after a restart / shutdown has been initiated by setting the task to run after event 1074 in the System log in the Event Viewer has been logged. However, it's only good for very short task, which will run as long as the system is restarting / shutting down, which is usually only a few seconds.

  • From the Task Scheduler:

    Begin the task: On an event
    Log: System
    Source: USER32
    EventID: 1074

Oz Edri"

 

That's Start, Run "taskschd.msc",

Create basic task

Give it a name, Click next

 

Trigger: When a specific even is logged; Click next

 

Log: System   (you can type S, then down arrow x3 should get you there too)

Source: USER32  (not sure if its case sensitive, but I used all caps)

Event ID: 1074; Click next  (1074 is the log for shutdown's and restarts)

 

Action: Start a program; Click next

 

Program/script: Select your disable .bat file from the first url.  Leave "Add arguments" and "Start in" blank. Click next

 

Verify the information is correct then click Finish.

 

 

Can only confirm working on win10x64 w/ rx460  multiple reboots and restarts have all worked flawlessly.  I however have not had the chance for a windows update to fully "test" it, but I think it would still work.

Share this post


Link to post
On 2/18/2018 at 10:04 PM, Danica Sarain said:

Can only confirm working on win10x64 w/ rx460  multiple reboots and restarts have all worked flawlessly.  I however have not had the chance for a windows update to fully "test" it, but I think it would still work.

Haven't tested it, but from your documentation, I would bet $5 on working, for Windows 8/8.1 systems.  As for Windows updates I think that is appended to end of shutdown routines, so I too would think that would work.  If it doesn't work, that would be some interesting errors. :-)

 

My two wooden-nickels of theory-crafting. 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.