Lenovo ThinkStation P360 Tiny (i5-12600 Alder Lake with Intel UHD Graphics 770)

Note that i5-12600 is a desktop processor. It only has P cores (no E cores unlike other versions) and it has Intel UHD Graphics 770 (instead of Intel Iris Xe Graphics that laptops have).
I do not have the optional dedicated GPU.
For reference, I believe this system is pretty much the same as “Lenovo ThinkCentre M70s Gen 3”

I have limited knowledge about Linux and it’s the first time that I try Qubes OS.
I’ve been able to try a couple of basic solutions, but I haven’t managed to make the graphics work smoothly.

Remarks

Ethernet card
The onboard Intel Ethernet card I219-LM did not work after the fresh install. The following error appeared:
“Start failed: internal error: Unable to reset PCI device 0000:00:1f.6”
After that, a similar error appeared when trying to start sys-net and sys-firewall.
I found that the error referred to the onboard Intel Ethernet card.

I managed to disable the Intel Ethernet card following the instructions here:

echo -n “1” > /sys/bus/pci/devices/0000:00:1f.6/remove

Fortunately, the computer has an optional “Realtek RTL8125” that seemed to work after disabling the intel card, so I managed to use the Realtek card.

Once I had network connectivity, I managed to upgrade the kernel from 5.15.52-1.fc32 to 5.15.78-1.fc32
I think that the kernel upgrade enabled the wireless card (Intel AX211) because now I can see the available networks, but I have not tested its performance.

Graphics
During installation, the GUI was very slowly, although still usable (with a lot of patience).

After installation was completed, the graphics slowness problem persisted.
However, I have not seen any artifacts in the screen as other people reported in the past.

The kernel upgrade from 5.15.52-1.fc32 to 5.15.78-1.fc32 has not helped to solve the issue, and the slowness persists, making the system unusable for other things than troubleshooting.

Attachments

---
layout:
  'hcl'
type:
  'mini pc'
hvm:
  'yes'
iommu:
  'yes'
slat:
  'yes'
tpm:
  'unknown'
remap:
  'yes'
brand: |
  LENOVO
model: |
  30FACTO1WW
bios: |
  M4GKT21A
cpu: |
  12th Gen Intel(R) Core(TM) i5-12600
cpu-short: |
  FIXME
chipset: |
  Intel Corporation Device [8086:4650] (rev 05)
chipset-short: |
  FIXME
gpu: |
  Intel Corporation Device [8086:4690] (rev 0c) (prog-if 00 [VGA controller])
gpu-short: |
  FIXME
network: |
  Intel Corporation Device 7af0 (rev 11)
  Intel Corporation Ethernet Connection (17) I219-LM (rev 11)
  Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
memory: |
  32449
scsi: |

usb: |
  1
versions:

- works:
    'FIXME:yes|no|partial'
  qubes: |
    R4.1
  xen: |
    4.14.5
  kernel: |
    5.15.78-1
  remark: |
    FIXME
  credit: |
    FIXAUTHOR
  link: |
    FIXLINK

---


Extract from lspci


00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4690] (rev 0c) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: Lenovo Device [17aa:330e]
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [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 modules: i915

00:14.3 Network controller [0280]: Intel Corporation Device [8086:7af0] (rev 11)
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation Device [8086:0090]
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at 600113c000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [80] MSI-X: Enable- Count=16 Masked-
	Capabilities: [100] Latency Tolerance Reporting
	Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
	Kernel driver in use: pciback
	Kernel modules: iwlwifi

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (17) I219-LM [8086:1a1c] (rev 11)
	DeviceName: Onboard - Ethernet
	Subsystem: Lenovo Device [17aa:330e]
	Flags: fast devsel, IRQ 17
	Memory at 4fa00000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: pciback
	Kernel modules: e1000e

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
	Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Device [1642:8189]
	Flags: bus master, fast devsel, latency 0, IRQ 17
	I/O ports at 3000 [size=256]
	Memory at 4f800000 (64-bit, non-prefetchable) [size=64K]
	Memory at 4f810000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable+ 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
	Capabilities: [d0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Virtual Channel
	Capabilities: [168] Device Serial Number **
	Capabilities: [178] Transaction Processing Hints
	Capabilities: [204] Latency Tolerance Reporting
	Capabilities: [20c] L1 PM Substates
	Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
	Kernel driver in use: pciback
	Kernel modules: r8169

1 Like

Small update:

By running

sudo qubes-dom0-update --enablerepo=qubes-dom0-unstable kernel-latest kernel-latest-dev

I managed to upgrade the kernel to version 6.0.8-1 (not sure if this is the right command, but it worked)

After the kernel upgrade, the slowness in the graphics was solved.
However, the artifacts in the screen that other people reported appeared. A lot of them.

I tried to apply some of the fixes mentioned in other posts, but I ended up crashing the whole GUI.

I guess the fixes are going in the right direction, but I will have to wait for a new version of Qubes OS adapted to the hardware.

Thanks!