ASUS ROG Strix 17 G733CX (2022)

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

(Introductory paragraph goes here. Describe the hardware. It is okay to mention the hardware platforms friendliness to open source drivers. Optionally, it is nice provide a nice summary of why or why not a user would want to buy this hardware for use with Linux.)

Hardware

lspci

Do note that the following output has the RAID controller disabled in BIOS:

root #lspci
00:00.0 Host bridge: Intel Corporation Device 4637 (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-HX GT1 [UHD Graphics 770] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
00:14.3 Network controller: Intel Corporation Alder Lake-S PCH CNVi WiFi (rev 11)
00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #0 (rev 11)
00:15.3 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #3 (rev 11)
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
00:1a.0 PCI bridge: Intel Corporation Device 7ac8 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 7ac4 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #6 (rev 11)
00:1d.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #13 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a8c (rev 11)
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation GA103M [GeForce RTX 3080 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 2288 (rev a1)
02:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
03:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
03:01.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
03:02.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
03:03.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
04:00.0 USB controller: Intel Corporation Device 1134
38:00.0 USB controller: Intel Corporation Device 1135
6c:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5407
6d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
6e:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5407

Standard

Device Make/model Status Vendor ID / Product ID Kernel driver(s) Kernel version Notes
CPU Intel i9-12950HX Works N/A N/A 6.1.1 -
GPU NVIDIA GeForce RTX 3080 Ti Mobile Works N/A nvidia 6.1.1 -
Intel Corporation Alder Lake-HX GT1 [UHD Graphics 770] Works N/A i915 6.1.1 -
SSD Micron Technology Inc Device 5407 Works N/A nvme 6.1.1 Only one SSD is accessible on kernel < 6.0.0.
WiFi card Intel Corporation Alder Lake-S PCH CNVi WiFi (rev 11) Works N/A iwlwifi 6.1.1 -
Touchpad ASUE120A:00 Works 04F3:319B i2c-designware-pci 6.1.1 -
Audio Intel Corporation Alder Lake-S HD Audio Controller Works (see below) N/A snd-hda-intel 6.2.6 All four speakers work through workaround below. The headphones out works as expected.

Accessories

(Optional section. Describe any accessories that may be possible in this section. Anything from external plug-and-play LCD screens to computer docks.)

Device Make/model Status Vendor ID / Product ID Kernel driver(s) Kernel version Notes
Dock ThinkPad Pro Dock Not tested N/A N/A 3.18.9 Note example.

Installation

(Write the necessary steps to get Gentoo onto this system. Try to document any special step that each user will need to reproduce on their system. Includes getting special drivers or firmware from a manufacturer website, etc.)

Firmware

TODO

Kernel

Kernel configuration is fairly standard, and the typical options, as in the handbook, can be followed.

Touchpad

CONFIG_PINCTRL_ALDERLAKE, CONFIG_INPUT_EVDEV,

KERNEL Enabling support for the touchpad
Device Drivers  --->
    Input device support --->
        <*>  Event interface

    [*] Pin controllers  --->
        Intel pinctrl drivers  --->
            [*] Intel Alder Lake pinctrl and GPIO driver

Emerge

TODO

root #emerge --ask category/package

Configuration

Xorg

Xorg can be configured using the optimus-manager utility, which results in the following configuration. This uses the proprietary nvidia drivers, and would require a different configuration to work under nouveau.

FILE /etc/X11/xorg.conf.d/10-nvidia.conf
Section "Files"
	ModulePath "/usr/lib/nvidia"
	ModulePath "/usr/lib32/nvidia"
	ModulePath "/usr/lib32/nvidia/xorg/modules"
	ModulePath "/usr/lib32/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg"
	ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Screen 0 "integrated"
	Inactive "nvidia"
	Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:0:2:0"
	Option "DRI" "3"
EndSection

Section "Screen"
	Identifier "integrated"
	Device "integrated"
EndSection

Section "Device"
	Identifier "nvidia"
	Driver "nvidia"
	BusID "PCI:1:0:0"
	Option "Coolbits" "28"
EndSection

Section "Screen"
	Identifier "nvidia"
	Device "nvidia"
EndSection

Troubleshooting

Only one SSD is available at a time

Kernel versions < 6.0.0 may present with the issue of only one of the two SSDs being usable. This can be rectified by upgrading to a newer kernel version.

Graphical applications on X freeze unless in fullscreen

Many hardware accelerated applications, such as Kitty, may freeze when not in full screen when using a default Xorg configuration. This can be solved through a custom configuration tool, such as optimus-manager. See a working X.org configuration for NVIDIA Optimus graphics using the proprietary drivers that resolves this issue here.

Only two of four speakers work

Out of the box, only the two front speakers will work, but through hdajackretask (media-sound/alsa-tools), it is possible to configure all four speakers to work in a stereo configuration.

For this to work,the CONFIG_SND_HDA_INTEL driver must be compiled as a module.

Now create the following firmware file:

FILE /lib/firmware/hda-jack-retask.fw
[codec]
0x10ec0285 0x10431ca2 0

[pincfg]
0x12 0x90a60140
0x13 0x40000000
0x14 0x90170152
0x16 0x90170150
0x17 0x90170150
0x18 0x411111f0
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40663a45
0x1e 0x90170150
0x21 0x03211020

And finish by creating the following files in /etc/modprobe.d/. The reason the options are split between two files like this is to avoid breaking hdajackretask. For this reason, the name of the first file is significant, whereas the other can be arbitrarily named.

FILE /etc/modprobe.d/hda-jack-retask.conf
options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
FILE /etc/modprobe.d/sound.conf
options snd-hda-intel probe_mask=1

Having completed this, you should be able to reboot, and use all speakers in a stereo configuration. On the machine used to test this, PipeWire was able to work without issue.

That being said, it should be noted that this method has only been tested on one laptop, and if any other user has any success, I would strongly encourage them to amend this message to reflect that.

See also

External resources

(Optional section.)

  • (Link to external resources (outside the Wiki) using bullet points in this section. It is common for the information in this section to full sentences that are links.)

References

(Optional section. Remove this section if references are not used. This section is used to cite factual information. This information is found outside the Gentoo Wiki and used to back up truth claims. The actual references themselves still be littered throughout the main article.)