<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Setting up Intel GPU passthrough on Proxmox LXC containers	</title>
	<atom:link href="https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/feed/" rel="self" type="application/rss+xml" />
	<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/</link>
	<description>Trying to learn just a bit!</description>
	<lastBuildDate>Mon, 30 Dec 2024 18:11:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>
		By: SKAL		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-2501</link>

		<dc:creator><![CDATA[SKAL]]></dc:creator>
		<pubDate>Thu, 03 Oct 2024 08:39:06 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-2501</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-269&quot;&gt;Thiago Crepaldi&lt;/a&gt;.

I&#039;ve tried on and UNprivileged container and it does not work :-(. On a Priviliged one works as charm ...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-269">Thiago Crepaldi</a>.</p>
<p>I&#8217;ve tried on and UNprivileged container and it does not work :-(. On a Priviliged one works as charm &#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Enabling Hardware Transcoding for the BeeLink N100 on a Debian 12 Container using Proxmox &#8211; Vastagon Blog		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-847</link>

		<dc:creator><![CDATA[Enabling Hardware Transcoding for the BeeLink N100 on a Debian 12 Container using Proxmox &#8211; Vastagon Blog]]></dc:creator>
		<pubDate>Tue, 16 Jul 2024 20:08:22 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-847</guid>

					<description><![CDATA[[&#8230;] I followed: Setting up Intel GPU passthrough on Proxmox LXC containers &#8211; Geek is the Way! [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] I followed: Setting up Intel GPU passthrough on Proxmox LXC containers &#8211; Geek is the Way! [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Miguel		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-349</link>

		<dc:creator><![CDATA[Miguel]]></dc:creator>
		<pubDate>Wed, 13 Mar 2024 18:24:48 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-349</guid>

					<description><![CDATA[Hi, with this can I use hdmi output from intel nuc to TV from lxc or only is igpu passtrhoug for use igpu on lxc?]]></description>
			<content:encoded><![CDATA[<p>Hi, with this can I use hdmi output from intel nuc to TV from lxc or only is igpu passtrhoug for use igpu on lxc?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Doug		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-319</link>

		<dc:creator><![CDATA[Doug]]></dc:creator>
		<pubDate>Thu, 28 Dec 2023 23:11:28 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-319</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-318&quot;&gt;Doug&lt;/a&gt;.

Erp, slight error. The gid owning /dev/dri/renderD128 on my system is actually 103 (the &quot;render&quot; group on my host) and that’s the gid I mapped in my example. Not 128. Just pretend I wrote &quot;103&quot; everywhere I wrote &quot;128&quot;. Sorry for the confusion. 

Here’s a quick screenshot to show that it does work, though. :)

https://share.icloud.com/photos/04dB23TqfkJxbacHStjOl9cAQ]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-318">Doug</a>.</p>
<p>Erp, slight error. The gid owning /dev/dri/renderD128 on my system is actually 103 (the &#8220;render&#8221; group on my host) and that’s the gid I mapped in my example. Not 128. Just pretend I wrote &#8220;103&#8221; everywhere I wrote &#8220;128&#8221;. Sorry for the confusion. </p>
<p>Here’s a quick screenshot to show that it does work, though. 🙂</p>
<p><a href="https://share.icloud.com/photos/04dB23TqfkJxbacHStjOl9cAQ" rel="nofollow ugc">https://share.icloud.com/photos/04dB23TqfkJxbacHStjOl9cAQ</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Doug		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-318</link>

		<dc:creator><![CDATA[Doug]]></dc:creator>
		<pubDate>Thu, 28 Dec 2023 22:45:39 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-318</guid>

					<description><![CDATA[You *can* use Intel GPU within an unprivileged container, and this method can be simplified a little bit. I’ve been using mine with an unprivileged Emby container for quite a long time. You do, of course, have to map a gid in addition to allowing the devices. That’s the point of unprivileged, and you’ll have the peace of mind of improved host security. 

You do not need the card0 device or the post-hook script unless you feel you really need the vainfo or intel_gpu_top tools available from within the container itself. They aren’t needed for ffmpeg within the container to access the GPU, transcoding to work, or for the software and GPU to just do their thing. Troubleshooting tools within the container are useful, but not necessary. 

Assuming you have installed the appropriate packages on the host, as detailed here, the driver package within the container, and the gid for the device on your host is the same as the example (gid 128), this will work in an unprivileged container’s config file:

unprivileged: 1
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0 0
lxc.idmap: g 0 100000 106
lxc.idmap: g 106 103 1
lxc.idmap: g 107 100107 1893

Note that I don’t bother mapping uid 226, because gid 128 has the same rw access to the device as uid 226, so why bother?

I also have the nesting and fuse options enabled that I need for other things, and I don’t think they are needed for transcoding, but mentioning theme here just in case.]]></description>
			<content:encoded><![CDATA[<p>You *can* use Intel GPU within an unprivileged container, and this method can be simplified a little bit. I’ve been using mine with an unprivileged Emby container for quite a long time. You do, of course, have to map a gid in addition to allowing the devices. That’s the point of unprivileged, and you’ll have the peace of mind of improved host security. </p>
<p>You do not need the card0 device or the post-hook script unless you feel you really need the vainfo or intel_gpu_top tools available from within the container itself. They aren’t needed for ffmpeg within the container to access the GPU, transcoding to work, or for the software and GPU to just do their thing. Troubleshooting tools within the container are useful, but not necessary. </p>
<p>Assuming you have installed the appropriate packages on the host, as detailed here, the driver package within the container, and the gid for the device on your host is the same as the example (gid 128), this will work in an unprivileged container’s config file:</p>
<p>unprivileged: 1<br />
lxc.cgroup2.devices.allow: c 226:128 rwm<br />
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0 0<br />
lxc.idmap: g 0 100000 106<br />
lxc.idmap: g 106 103 1<br />
lxc.idmap: g 107 100107 1893</p>
<p>Note that I don’t bother mapping uid 226, because gid 128 has the same rw access to the device as uid 226, so why bother?</p>
<p>I also have the nesting and fuse options enabled that I need for other things, and I don’t think they are needed for transcoding, but mentioning theme here just in case.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Grunchy		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-285</link>

		<dc:creator><![CDATA[Grunchy]]></dc:creator>
		<pubDate>Thu, 24 Aug 2023 16:02:42 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-285</guid>

					<description><![CDATA[OK: first of all, I have found this only works with &quot;privileged&quot; container.
That&#039;s &quot;Unprivileged container?&quot; selection cleared.

In Proxmox, configure the container with the following extra lines:
# nano /etc/pve/lxc/100.conf
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.autodev: 1

When you log in to the container as root, create a new file:
# nano mount_hook.sh
mkdir -p /dev/dri
mknod -m 666 /dev/dri/card0 c 226 0
mknod -m 666 /dev/dri/renderD128 c 226 128

# chmod +x mount_hook.sh

crontab -e
(select 1 for nano editor)
Add this line:
@reboot /root/mount_hook.sh

After that, do:
# apt-get update
# apt-get install -y intel-media-va-driver # or whatever driver you need
# apt-get install -y vainfo intel-gpu-tools # tools to verify/debug installation
# reboot

At this point I was able to go:
# vainfo
error: can&#039;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
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

Finally works!]]></description>
			<content:encoded><![CDATA[<p>OK: first of all, I have found this only works with &#8220;privileged&#8221; container.<br />
That&#8217;s &#8220;Unprivileged container?&#8221; selection cleared.</p>
<p>In Proxmox, configure the container with the following extra lines:<br />
# nano /etc/pve/lxc/100.conf<br />
lxc.cgroup2.devices.allow: c 226:0 rwm<br />
lxc.cgroup2.devices.allow: c 226:128 rwm<br />
lxc.autodev: 1</p>
<p>When you log in to the container as root, create a new file:<br />
# nano mount_hook.sh<br />
mkdir -p /dev/dri<br />
mknod -m 666 /dev/dri/card0 c 226 0<br />
mknod -m 666 /dev/dri/renderD128 c 226 128</p>
<p># chmod +x mount_hook.sh</p>
<p>crontab -e<br />
(select 1 for nano editor)<br />
Add this line:<br />
@reboot /root/mount_hook.sh</p>
<p>After that, do:<br />
# apt-get update<br />
# apt-get install -y intel-media-va-driver # or whatever driver you need<br />
# apt-get install -y vainfo intel-gpu-tools # tools to verify/debug installation<br />
# reboot</p>
<p>At this point I was able to go:<br />
# vainfo<br />
error: can&#8217;t connect to X server!<br />
libva info: VA-API version 1.10.0<br />
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so<br />
libva info: Found init function __vaDriverInit_1_10<br />
libva info: va_openDriver() returns 0<br />
vainfo: VA-API version: 1.10 (libva 2.10.0)<br />
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics &#8211; 21.1.1 ()<br />
vainfo: Supported profile and entrypoints<br />
      VAProfileMPEG2Simple            : VAEntrypointVLD<br />
      VAProfileMPEG2Main              : VAEntrypointVLD<br />
      VAProfileH264Main               : VAEntrypointVLD<br />
      VAProfileH264Main               : VAEntrypointEncSliceLP<br />
      VAProfileH264High               : VAEntrypointVLD<br />
      VAProfileH264High               : VAEntrypointEncSliceLP<br />
      VAProfileJPEGBaseline           : VAEntrypointVLD<br />
      VAProfileJPEGBaseline           : VAEntrypointEncPicture<br />
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD<br />
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP<br />
      VAProfileVP8Version0_3          : VAEntrypointVLD<br />
      VAProfileHEVCMain               : VAEntrypointVLD<br />
      VAProfileHEVCMain10             : VAEntrypointVLD<br />
      VAProfileVP9Profile0            : VAEntrypointVLD<br />
      VAProfileVP9Profile2            : VAEntrypointVLD</p>
<p>Finally works!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Grunchy		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-284</link>

		<dc:creator><![CDATA[Grunchy]]></dc:creator>
		<pubDate>Wed, 23 Aug 2023 21:39:25 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-284</guid>

					<description><![CDATA[I think the problem is with this construct:
# nano /var/lib/lxc/100/mount_hook.sh
mkdir -p ${LXC_ROOTFS_MOUNT}/dev/dri
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/card0 c 226 0
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/renderD128 c 226 128

Specifically, I think there is no such variable: ${LXC_ROOTFS_MOUNT}

So I changed &quot;/var/lib/lxc/100/mount_hook.sh&quot; to this:
mkdir -p /ZFS/subvol-100-disk-0/dev/dri
mknod -m 666 /ZFS/subvol-100-disk-0/dev/dri/card0 c 226 0
mknod -m 666 /ZFS/subvol-100-disk-0/dev/dri/renderD128 c 226 128

Proxmox still won&#039;t start up the container, and it gives the same error message &quot;Failed to run autodev hooks&quot;.

So I disabled that hook altogether:
# nano /etc/pve/lxc/100.conf
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.autodev: 1
#lxc.hook.autodev: /var/lib/lxc/100/mount_hook.sh

NOW the container can boot, but if I go
# ls -lh /dev/dri
ls: cannot access &#039;/dev/dri&#039;: No such file or directory

So, from the shell in my Linux container:
#mkdir -p /dev/dri
#mknod -m 666 /dev/dri/card0 c 226 0
#mknod -m 666 /dev/dri/renderD128 c 226 128

All of a sudden here we go:
# ls -lh /dev/dri
total 0
crw-rw-rw- 1 root root 226,   0 Aug 23 20:58 card0
crw-rw-rw- 1 root root 226, 128 Aug 23 20:58 renderD128

# vainfo
error: can&#039;t connect to X server!
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.15 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.3 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

# lspci -v
00:02.0 VGA compatible controller: Intel Corporation Whiskey Lake-U GT1 [UHD Graphics 610] (rev 02) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 1
        Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 90000000 (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)
        Kernel driver in use: i915

So there&#039;s some issue with the way this &quot;autodev hooks&quot; is written, there&#039;s a mystery surrounding this Proxmox container variable &quot;${LXC_ROOTFS_MOUNT}&quot; that doesn&#039;t seem to work.

I wonder what the solution is?]]></description>
			<content:encoded><![CDATA[<p>I think the problem is with this construct:<br />
# nano /var/lib/lxc/100/mount_hook.sh<br />
mkdir -p ${LXC_ROOTFS_MOUNT}/dev/dri<br />
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/card0 c 226 0<br />
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/dri/renderD128 c 226 128</p>
<p>Specifically, I think there is no such variable: ${LXC_ROOTFS_MOUNT}</p>
<p>So I changed &#8220;/var/lib/lxc/100/mount_hook.sh&#8221; to this:<br />
mkdir -p /ZFS/subvol-100-disk-0/dev/dri<br />
mknod -m 666 /ZFS/subvol-100-disk-0/dev/dri/card0 c 226 0<br />
mknod -m 666 /ZFS/subvol-100-disk-0/dev/dri/renderD128 c 226 128</p>
<p>Proxmox still won&#8217;t start up the container, and it gives the same error message &#8220;Failed to run autodev hooks&#8221;.</p>
<p>So I disabled that hook altogether:<br />
# nano /etc/pve/lxc/100.conf<br />
lxc.cgroup2.devices.allow: c 226:0 rwm<br />
lxc.cgroup2.devices.allow: c 226:128 rwm<br />
lxc.autodev: 1<br />
#lxc.hook.autodev: /var/lib/lxc/100/mount_hook.sh</p>
<p>NOW the container can boot, but if I go<br />
# ls -lh /dev/dri<br />
ls: cannot access &#8216;/dev/dri&#8217;: No such file or directory</p>
<p>So, from the shell in my Linux container:<br />
#mkdir -p /dev/dri<br />
#mknod -m 666 /dev/dri/card0 c 226 0<br />
#mknod -m 666 /dev/dri/renderD128 c 226 128</p>
<p>All of a sudden here we go:<br />
# ls -lh /dev/dri<br />
total 0<br />
crw-rw-rw- 1 root root 226,   0 Aug 23 20:58 card0<br />
crw-rw-rw- 1 root root 226, 128 Aug 23 20:58 renderD128</p>
<p># vainfo<br />
error: can&#8217;t connect to X server!<br />
libva info: VA-API version 1.15.0<br />
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so<br />
libva info: Found init function __vaDriverInit_1_14<br />
libva info: va_openDriver() returns 0<br />
vainfo: VA-API version: 1.15 (libva 2.12.0)<br />
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics &#8211; 22.4.3 ()<br />
vainfo: Supported profile and entrypoints<br />
      VAProfileMPEG2Simple            : VAEntrypointVLD<br />
      VAProfileMPEG2Main              : VAEntrypointVLD<br />
      VAProfileH264Main               : VAEntrypointVLD<br />
      VAProfileH264Main               : VAEntrypointEncSliceLP<br />
      VAProfileH264High               : VAEntrypointVLD<br />
      VAProfileH264High               : VAEntrypointEncSliceLP<br />
      VAProfileJPEGBaseline           : VAEntrypointVLD<br />
      VAProfileJPEGBaseline           : VAEntrypointEncPicture<br />
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD<br />
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP<br />
      VAProfileVP8Version0_3          : VAEntrypointVLD<br />
      VAProfileHEVCMain               : VAEntrypointVLD<br />
      VAProfileHEVCMain10             : VAEntrypointVLD<br />
      VAProfileVP9Profile0            : VAEntrypointVLD<br />
      VAProfileVP9Profile2            : VAEntrypointVLD</p>
<p># lspci -v<br />
00:02.0 VGA compatible controller: Intel Corporation Whiskey Lake-U GT1 [UHD Graphics 610] (rev 02) (prog-if 00 [VGA controller])<br />
        DeviceName: Onboard &#8211; Video<br />
        Subsystem: Intel Corporation Device 2212<br />
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 1<br />
        Memory at a0000000 (64-bit, non-prefetchable) [size=16M]<br />
        Memory at 90000000 (64-bit, prefetchable) [size=256M]<br />
        I/O ports at 3000 [size=64]<br />
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]<br />
        Capabilities: [40] Vendor Specific Information: Len=0c<br />
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00<br />
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-<br />
        Capabilities: [d0] Power Management version 2<br />
        Capabilities: [100] Process Address Space ID (PASID)<br />
        Capabilities: [200] Address Translation Service (ATS)<br />
        Capabilities: [300] Page Request Interface (PRI)<br />
        Kernel driver in use: i915</p>
<p>So there&#8217;s some issue with the way this &#8220;autodev hooks&#8221; is written, there&#8217;s a mystery surrounding this Proxmox container variable &#8220;${LXC_ROOTFS_MOUNT}&#8221; that doesn&#8217;t seem to work.</p>
<p>I wonder what the solution is?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Grunchy		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-283</link>

		<dc:creator><![CDATA[Grunchy]]></dc:creator>
		<pubDate>Wed, 23 Aug 2023 17:46:24 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-283</guid>

					<description><![CDATA[I tried something else (since this could be a &quot;blacklist&quot; issue):

# lspci -v
00:02.0 VGA compatible controller: Intel Corporation Device 3ea1 (rev 02) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 1
        Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 90000000 (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)
        Kernel driver in use: i915
        Kernel modules: i915

So, I tried this:
# echo &quot;blacklist i915&quot; &#062;&#062; /etc/modprobe.d/blacklist.conf
# update-initramfs -u -k all
# reboot

Funny thing, lspci -v gives the same &quot;Kernel driver in use: i915&quot; (despite being &quot;blacklisted&quot;) and same error with the Ubuntu 22.04 LXC.

run_buffer: 322 Script exited with status 1
lxc_setup: 4445 Failed to run autodev hooks
do_start: 1272 Failed to setup container &quot;100&quot;
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2107 Failed to spawn container &quot;100&quot;
TASK ERROR: startup for container &#039;100&#039; failed

I guess I&#039;ll try again with &quot;privileged&quot; LXC? Anybody else getting anywhere?]]></description>
			<content:encoded><![CDATA[<p>I tried something else (since this could be a &#8220;blacklist&#8221; issue):</p>
<p># lspci -v<br />
00:02.0 VGA compatible controller: Intel Corporation Device 3ea1 (rev 02) (prog-if 00 [VGA controller])<br />
        DeviceName: Onboard &#8211; Video<br />
        Subsystem: Intel Corporation Device 2212<br />
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 1<br />
        Memory at a0000000 (64-bit, non-prefetchable) [size=16M]<br />
        Memory at 90000000 (64-bit, prefetchable) [size=256M]<br />
        I/O ports at 3000 [size=64]<br />
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]<br />
        Capabilities: [40] Vendor Specific Information: Len=0c<br />
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00<br />
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-<br />
        Capabilities: [d0] Power Management version 2<br />
        Capabilities: [100] Process Address Space ID (PASID)<br />
        Capabilities: [200] Address Translation Service (ATS)<br />
        Capabilities: [300] Page Request Interface (PRI)<br />
        Kernel driver in use: i915<br />
        Kernel modules: i915</p>
<p>So, I tried this:<br />
# echo &#8220;blacklist i915&#8221; &gt;&gt; /etc/modprobe.d/blacklist.conf<br />
# update-initramfs -u -k all<br />
# reboot</p>
<p>Funny thing, lspci -v gives the same &#8220;Kernel driver in use: i915&#8221; (despite being &#8220;blacklisted&#8221;) and same error with the Ubuntu 22.04 LXC.</p>
<p>run_buffer: 322 Script exited with status 1<br />
lxc_setup: 4445 Failed to run autodev hooks<br />
do_start: 1272 Failed to setup container &#8220;100&#8221;<br />
sync_wait: 34 An error occurred in another process (expected sequence number 4)<br />
__lxc_start: 2107 Failed to spawn container &#8220;100&#8221;<br />
TASK ERROR: startup for container &#8216;100&#8217; failed</p>
<p>I guess I&#8217;ll try again with &#8220;privileged&#8221; LXC? Anybody else getting anywhere?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Grunchy		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-282</link>

		<dc:creator><![CDATA[Grunchy]]></dc:creator>
		<pubDate>Wed, 23 Aug 2023 07:31:26 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-282</guid>

					<description><![CDATA[Funny I got the same error &quot;failed to run autodev hooks&quot;. Unprivileged, same as the rest.

run_buffer: 322 Script exited with status 1
lxc_setup: 4445 Failed to run autodev hooks
do_start: 1272 Failed to setup container &quot;100&quot;
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2107 Failed to spawn container &quot;100&quot;
TASK ERROR: startup for container &#039;100&#039; failed

Setup:
# cat /etc/pve/lxc/100.conf
arch: amd64
cores: 2
features: nesting=1
hostname: Datto
memory: 6144
nameserver: 1.1.1.1
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.254,hwaddr=62:FF:A2:38:8E:03,ip=192.168.1.30/24,type=veth
ostype: ubuntu
rootfs: ZFS:subvol-100-disk-0,size=150G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.autodev: 1
lxc.hook.autodev: /var/lib/lxc/100/mount_hook.sh]]></description>
			<content:encoded><![CDATA[<p>Funny I got the same error &#8220;failed to run autodev hooks&#8221;. Unprivileged, same as the rest.</p>
<p>run_buffer: 322 Script exited with status 1<br />
lxc_setup: 4445 Failed to run autodev hooks<br />
do_start: 1272 Failed to setup container &#8220;100&#8221;<br />
sync_wait: 34 An error occurred in another process (expected sequence number 4)<br />
__lxc_start: 2107 Failed to spawn container &#8220;100&#8221;<br />
TASK ERROR: startup for container &#8216;100&#8217; failed</p>
<p>Setup:<br />
# cat /etc/pve/lxc/100.conf<br />
arch: amd64<br />
cores: 2<br />
features: nesting=1<br />
hostname: Datto<br />
memory: 6144<br />
nameserver: 1.1.1.1<br />
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.254,hwaddr=62:FF:A2:38:8E:03,ip=192.168.1.30/24,type=veth<br />
ostype: ubuntu<br />
rootfs: ZFS:subvol-100-disk-0,size=150G<br />
swap: 512<br />
unprivileged: 1<br />
lxc.cgroup2.devices.allow: c 226:0 rwm<br />
lxc.cgroup2.devices.allow: c 226:128 rwm<br />
lxc.autodev: 1<br />
lxc.hook.autodev: /var/lib/lxc/100/mount_hook.sh</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Uninvited		</title>
		<link>https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-274</link>

		<dc:creator><![CDATA[Uninvited]]></dc:creator>
		<pubDate>Sun, 04 Jun 2023 00:26:30 +0000</pubDate>
		<guid isPermaLink="false">https://geekistheway2252.live-website.com/?p=2028#comment-274</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-270&quot;&gt;Kaman&lt;/a&gt;.

Same issue on an unprivileged container. Haven&#039;t tried this with privileged.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/#comment-270">Kaman</a>.</p>
<p>Same issue on an unprivileged container. Haven&#8217;t tried this with privileged.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 46/103 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Minified using Disk
Database Caching using Redis

Served from: geekistheway.com @ 2026-10-30 09:12:17 by W3 Total Cache
-->