LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-03-2021, 07:35 AM   #1
kainaat
LQ Newbie
 
Registered: Mar 2021
Posts: 6

Rep: Reputation: Disabled
Unhappy Unbind GPU/Reset GPU


Hello,

I am doing software testing on Intel GPU and i915 driver. I am using Intel NUC 9 CoffeeLake, Ubuntu 20.04 LTS and using Intel GVT-g to passthrough iGPU to VM and host.

As during testing, something can crash, I wish to reset the i915 driver and GPU. For this I do the following steps:
1. Remove the vGPU
2. Remove kvmgt
3. stop the X server
4. Unbind the GPU
5. Remove the i915
6. Load the i915 driver (This loads the GPU back as well)
7. start the X server
8. Load kvmgt and create vGPU

Please note: During this process, no VM had been spawned so vGPU was free.

In Kernel 5.4.0-59, I had a non-deterministic issue with modprobe i915 leading to a kernel bug as follows:

[53021.184248] BUG: unable to handle page fault for address: 00000000000fe248
[53021.184251] #PF: supervisor read access in kernel mode
[53021.184252] #PF: error_code(0x0000) - not-present page



In Kernel 5.11.0-rc7 I am having a deterministic issue with the step unbinding the GPU. It leads to "segmentation fault" and the dmesg logs is as shown:

[ 133.006604] general protection fault, probably for non-canonical address 0x3b5a596b612093f7: 0000 [#1] SMP NOPTI
[ 133.006618] CPU: 13 PID: 1920 Comm: bash Tainted: G U 5.11.0-051100rc7-generic #202102072330
[ 133.006630] Hardware name: Intel(R) Client Systems NUC9i9QNX/NUC9i9QNB, BIOS QXCFL579.0044.2020.0617.1537 06/17/2020
[ 133.006638] RIP: 0010:snd_soc_tplg_component_remove+0x8f/0x290 [snd_soc_core]


Any help is appreciated!

Also, Is there any other way as well that I could reset the i915 driver and reset the GPU without rebooting the machine?
 
  


Reply



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
How to unbind/rebind paths over sshfs without disconnect/reconnecting the network BryanFRitt Linux - Networking 1 05-12-2019 12:17 AM
Temporary "unbind" WiFi interface mackowiakp Linux - General 4 03-24-2015 02:54 AM
Prevent reset of network settings reset after cable unplug Mega-X Linux - Networking 5 01-02-2013 04:58 PM
USB modem safely remove fails. manually unbind help needed deepclutch Linux - Hardware 1 04-30-2012 10:45 AM
Install ruby gems - connection reset, connection reset..... deco81 Linux - Software 1 06-16-2010 04:47 PM

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

All times are GMT -5. The time now is 12:46 AM.

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
Open Source Consulting | Domain Registration