[gentoo-user] Video card settings for Intel UHD 630?

2021-06-08 Thread Walter Dnes
  My current machine has VIDEO_CARDS="intel i965" in make.conf.  My new
machine, under "lspci -v", shows...

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (rev 03) 
(prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Dell UHD Graphics 630
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at d000 (64-bit, non-prefetchable) [size=16M]
Memory at c000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c [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)

  What are the recommended settings in make.conf, and the kernel, etc?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] HDD standby (hdparm/hd-idle) not working with kernel newer than 5.4.72

2021-06-08 Thread thomas.laton
On my main system (up-to-date gentoo), I use hd-idle to send my HDDs to standby 
after a certain amount of time. Disks are SATA HDDs in non-RAID operation - 
4xHGST, 1xWDC, 1xSamsung - same behavior for all.

Up to kernel version 5.4.72 this worked perfectly fine. If I use any kernel 
greater than 5.4.* the disks stay up perpetually. I tried with versions 5.6.4, 
5.7.6, 5.8.14, 5.11.6 and 5.12.8. Same for hdparm. I think something is 
accessing the disks (I checked with a command I cannot recall right now).

To be clear, if I boot with 5.4.72, everything works as expected. If, on the 
same system without any changes, I boot into a later kernel - no standby.

For context: I use my system as desktop and NAS simultaneously. The disks which 
are rarely accessed are sent to sleep quickly and the ones accessed more 
frequently have a longer timeout. Depending on the active/standby state of all 
disks, I then send the whole system to sleep.

[gentoo-user] gdm is running Xwayland, what about startx?

2021-06-08 Thread Adam Carter
I've noticed that my gdm system is running /usr/bin/Xwayland instead of
/usr/bin/Xorg, so I infer that Gentoo devs, or upstream, are preferring it
now.

Can i try Xwayland with startx?

pstree shows the execution paths as below. Inscrutable to me and
interesting that they're so different.

gdm: systemd -> gnome-shell -> Xwayland
startx: startx -> xinit -> X (AND in parallel) gnome-session -> gnome-shell