Skip to content

Instantly share code, notes, and snippets.

@adampetrovic
Last active November 18, 2021 20:30
Show Gist options
  • Save adampetrovic/2a898637ceb02783b39dc09f07470f7b to your computer and use it in GitHub Desktop.
Save adampetrovic/2a898637ceb02783b39dc09f07470f7b to your computer and use it in GitHub Desktop.
EDIT: Now fixed with the latest Plex Server v1.25.0.5246 -- i7-1165G7 TigerLake GT2 [Iris Xe Graphics] segfault using lxc and passthrough GPU on proxmox 7. The following happens after about 10 minutes of transcoding on a plex server running in a docker container within LXC. See https://forums.plex.tv/t/anyone-have-been-able-to-hw-transcode-on-an…
[ 8238.497867] i915 0000:00:02.0: [drm] Resetting vcs1 for preemption time out
[ 8238.504252] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:4:4ab6fff5, in Plex Transcoder [224824]
[ 8239.165883] i915 0000:00:02.0: [drm] Resetting vecs0 for preemption time out
[ 8239.166591] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8239.167282] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:8:2cffbffd, in Plex Transcoder [227665]
[ 8241.565903] i915 0000:00:02.0: [drm] Resetting vcs0 for preemption time out
[ 8241.566619] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8241.567338] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:4:2ffffffd, in Plex Transcoder [227668]
[ 8249.855124] i915 0000:00:02.0: [drm] GPU HANG: ecode 12:4:4ab6fff5, in Plex Transcoder [224824]
[ 8249.956638] i915 0000:00:02.0: [drm] Resetting vcs1 for stopped heartbeat on vcs1
[ 8249.957187] i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on vcs1
[ 8250.263853] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.264570] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.265276] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.266490] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.267196] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.289359] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.290074] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.290779] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.291993] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.292698] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.321346] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.322061] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.322766] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.323980] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.324688] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.365331] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.366044] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.366750] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.367963] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.368668] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.369173] i915 0000:00:02.0: [drm] *ERROR* Failed to reset chip
[ 8250.369175] i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_reset+0x2be/0x2e0 [i915]
[ 8250.675982] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.676701] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.677407] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.678621] i915 0000:00:02.0: [drm] *ERROR* vcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.679326] i915 0000:00:02.0: [drm] *ERROR* vecs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
[ 8250.679854] i915 0000:00:02.0: [drm] Plex Transcoder[227668] context reset due to GPU hang
[ 8250.679865] i915 0000:00:02.0: [drm] Plex Transcoder[224824] context reset due to GPU hang
[ 8250.679881] i915 0000:00:02.0: [drm] Plex Transcoder[227665] context reset due to GPU hang
[ 8250.781950] Plex Media Serv[227229]: segfault at 0 ip 0000000000000000 sp 00007f92c0860838 error 14
[ 8250.781958] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8275.859312] Plex Media Serv[229545]: segfault at 0 ip 0000000000000000 sp 00007f0939e8dca8 error 14
[ 8275.859320] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8303.304816] Plex Media Serv[230073]: segfault at 0 ip 0000000000000000 sp 00007f8b7bff7ca8 error 14
[ 8303.304824] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8305.822936] Plex Media Serv[230638]: segfault at 0 ip 0000000000000000 sp 00007f57498baab8 error 14
[ 8305.822945] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8335.975944] Plex Media Serv[230786]: segfault at 0 ip 0000000000000000 sp 00007f4b0c66bca8 error 14
[ 8335.975956] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8400.657466] Plex Media Serv[231370]: segfault at 0 ip 0000000000000000 sp 00007f500fa44ca8 error 14
[ 8400.657474] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8404.542372] Plex Media Serv[232393]: segfault at 0 ip 0000000000000000 sp 00007f43a5b5aca8 error 14
[ 8404.542380] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8410.803593] Plex Media Serv[232654]: segfault at 0 ip 0000000000000000 sp 00007fd5b3aa2ca8 error 14
[ 8410.803601] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8425.823692] Plex Media Serv[232904]: segfault at 0 ip 0000000000000000 sp 00007f9ccdec4ca8 error 14
[ 8425.823701] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8428.032530] Plex Media Serv[233290]: segfault at 0 ip 0000000000000000 sp 00007fd59dd33ab8 error 14
[ 8428.032541] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8441.613951] Plex Media Serv[233443]: segfault at 0 ip 0000000000000000 sp 00007f73d64ebca8 error 14
[ 8441.613959] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8448.691512] Plex Media Serv[233840]: segfault at 0 ip 0000000000000000 sp 00007faa0882cca8 error 14
[ 8448.691522] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8458.801054] Plex Media Serv[234064]: segfault at 0 ip 0000000000000000 sp 00007f799acd6ca8 error 14
[ 8458.801064] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8461.028943] Plex Media Serv[234380]: segfault at 0 ip 0000000000000000 sp 00007fcd40e16ab8 error 14
[ 8461.028951] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8477.974401] Plex Media Serv[234631]: segfault at 0 ip 0000000000000000 sp 00007fc745320ca8 error 14
[ 8477.974409] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8511.167516] Plex Media Serv[235118]: segfault at 0 ip 0000000000000000 sp 00007f4ba4443ca8 error 14
[ 8511.167525] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8519.149924] Plex Media Serv[235666]: segfault at 0 ip 0000000000000000 sp 00007f713748bca8 error 14
[ 8519.149932] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8521.640746] Plex Media Serv[235863]: segfault at 0 ip 0000000000000000 sp 00007fbf2a71dca8 error 14
[ 8521.640754] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8523.836803] Plex Media Serv[236132]: segfault at 0 ip 0000000000000000 sp 00007f033325dca8 error 14
[ 8523.836812] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8534.876892] Plex Media Serv[236354]: segfault at 0 ip 0000000000000000 sp 00007f32d5270ca8 error 14
[ 8534.876899] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8655.030086] Plex Media Serv[238173]: segfault at 0 ip 0000000000000000 sp 00007fb56ab71e58 error 14
[ 8655.030096] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8657.847834] vainfo[238379]: segfault at 0 ip 0000000000000000 sp 00007fff1f99a228 error 14 in vainfo[55af8effd000+2000]
[ 8657.847844] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8664.974286] Plex Media Serv[238305]: segfault at 0 ip 0000000000000000 sp 00007f34f3b29ca8 error 14
[ 8664.974295] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8666.304691] Plex Media Serv[238637]: segfault at 0 ip 0000000000000000 sp 00007f8ddccfdca8 error 14
[ 8666.304703] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8667.596516] Plex Media Serv[238751]: segfault at 0 ip 0000000000000000 sp 00007fb773ac5ca8 error 14
[ 8667.596526] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8669.036135] vainfo[238903]: segfault at 0 ip 0000000000000000 sp 00007ffc48cad598 error 14 in vainfo[5579fe271000+2000]
[ 8669.036145] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 8680.481646] vainfo[239154]: segfault at 0 ip 0000000000000000 sp 00007fffedc61e38 error 14 in vainfo[5606128d9000+2000]
[ 8680.481656] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
Ubuntu 21.04 (GNU/Linux 5.11.22-4-pve x86_64) (running in Proxmox LXC)
intel-media-va-driver:amd64 21.1.1+dfsg1-1
plexmediaserver 1.24.5.5173-8dcc73a59
root@px1:~# vainfo
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
Segmentation fault
00:02.0 VGA compatible controller: Intel Corporation TigerLake GT2 [Iris Xe Graphics] (rev 01) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Intel Corporation Iris Xe Graphics
Flags: bus master, fast devsel, latency 0, IRQ 178, IOMMU group 1
Memory at 603c000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment