LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-26-2016, 04:08 PM   #1
Cascadoo
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Rep: Reputation: Disabled
M5A97 R2.0 - GPU passthrough


Hi, I wanted to attempt a GPU passthrough on the Asus M5a97 R2.0 (https://www.asus.com/Motherboards/M5...pecifications/) motherboard using either mint or kubuntu.

The board consists of 2 PCIe 2.0 slots, a 16x and a 4X. The issue I am having is trying to set the GPU on the 4x slot as the primary adapter for the host OS and use the GPU on the 16X as the pass through device for guest VM.

No matter what I try, the board defaults to the GPU on the 16x as the primary graphics adapter.The only option I found in the BIOS pertaining to this is "Initiate Graphic Adapter = PEG/PCI or PEG/PCI". Changing this doesn't seem to make a difference.

I saw from forums that people had success with GPU pass through on this board but they didn't mention which PCIe slot was used to perform the pass through. Did anyone have any experience/ success with using the 16x slot to perform the GPU pass through.

*wasn't sure if to post this in the hardware or Virtualization forum.
 
Old 07-28-2016, 05:09 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
Welcome to LQ!

I'd start with disabling the output for host OS. See How to force enabling or disabling a connector?
 
Old 08-07-2016, 01:25 PM   #3
Cascadoo
LQ Newbie
 
Registered: Jul 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Unfortunately I am having no luck with this. I also tried black listing the GPU on the 16X slot based on guides I found online (eg: http://www.se7ensins.com/forums/thre...-vfio.1371980/) but also had no luck.

I have an AMD r9 390 on the 16x slot and a Nvidia 610 on the 4x slot. I have a dual input monitor where the AMD card is connected to the HDMI input of the monitor and the Nvidia card connected to the VGA input of the monitor. I wanted to have the 390 used as the pci passthrough on KVM to a windows guest while the nvidia 610 would be used for the linux host.

I have been attempting this on both KDE mint 17.3 and Kubuntu 16.04. Currently using Kubuntu for this and given the current issues with AMD drivers and the latest Ubuntu version, I have about 10s to hit clt+alt+F1 before the display crashes. This is the only way I can make any changes to the system.

Once Kubuntu boots I can switch between the 2 inputs, the main desktop on the 390(DVI) and the extended on the 610(VGA) for a short while before the display crashes. No matter what I try, the DVI(R9 390)remains active. At one point running "dmesg | grep pci-stubs" show the 390 being claimed but the HDMI(390) display still worked when this happened????

I guess what I can try as a test is to probably try to pass the Nvida 610 on to a guest and see if that works. If I am successful with that, I am guessing that i have to use the device on the 4x slot to perform a pci pass through, well at least for a GPU ayway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU passthrough on kernel 4.5.0 merlininthewood Debian 9 05-30-2016 03:41 PM
KVM GPU Passthrough won't work marthakaber Linux - Software 1 08-04-2015 05:08 PM
[SOLVED] Checking compatibility of a ASUS M5A97 R2.0 of Fedora 22 pinaki Linux - Hardware 2 06-14-2015 08:26 AM
ASUS M5A97 motherboard satimis Linux - Hardware 8 11-13-2012 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration