mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
add host yodaGaming
This commit is contained in:
parent
dad592f8bc
commit
52c24c85c8
69
NixOS.md
69
NixOS.md
@ -26,6 +26,7 @@ This document contains general notes about NixOS that are independent of my NixO
|
||||
* [Evaluate expressions](#evaluate-expressions)
|
||||
* [Escape strings](#escape-strings)
|
||||
* [Run AppImages](#run-appimages)
|
||||
* [Audio troubleshooting - Realtek ALC898 Audio Codec on ASRock Z77 Extreme 4](#audio-troubleshooting---realtek-alc898-audio-codec-on-asrock-z77-extreme-4)
|
||||
* [Graphic drivers](#graphic-drivers)
|
||||
* [Additional resources](#additional-resources)
|
||||
* [Nix Pills](#nix-pills)
|
||||
@ -669,6 +670,74 @@ nix-shell -p appimage-run
|
||||
appimage-run ~/Downloads/ubports-installer_0.10.0_linux_x86_64.AppImage
|
||||
```
|
||||
|
||||
## Audio troubleshooting - Realtek ALC898 Audio Codec on ASRock Z77 Extreme 4
|
||||
|
||||
TODO: I couldn't get the onboard audio to work.
|
||||
|
||||
- https://discourse.nixos.org/t/fixing-audio-on-asus-strix-scar-17-g733qs/12687
|
||||
- https://bbs.archlinux.org/viewtopic.php?id=147242
|
||||
- https://en.opensuse.org/SDB:Audio_troubleshooting#Script_to_run_to_obtain_detailed_information
|
||||
- https://nixos.wiki/wiki/ALSA#Other_hardware_specific_problems
|
||||
- https://bbs.archlinux.org/viewtopic.php?pid=1452128#p1452128
|
||||
|
||||
`aplay -L`
|
||||
```console
|
||||
null
|
||||
Discard all samples (playback) or generate zero samples (capture)
|
||||
pipewire
|
||||
PipeWire Sound Server
|
||||
default
|
||||
Default ALSA Output (currently PipeWire Media Server)
|
||||
hdmi:CARD=HDMI,DEV=0
|
||||
HDA ATI HDMI, HDMI 0 *
|
||||
HDMI Audio Output
|
||||
hdmi:CARD=HDMI,DEV=1
|
||||
HDA ATI HDMI, HDMI 1
|
||||
HDMI Audio Output
|
||||
hdmi:CARD=HDMI,DEV=2
|
||||
HDA ATI HDMI, HDMI 2
|
||||
HDMI Audio Output
|
||||
hdmi:CARD=HDMI,DEV=3
|
||||
HDA ATI HDMI, HDMI 3
|
||||
HDMI Audio Output
|
||||
hdmi:CARD=HDMI,DEV=4
|
||||
HDA ATI HDMI, HDMI 4
|
||||
HDMI Audio Output
|
||||
hdmi:CARD=HDMI,DEV=5
|
||||
HDA ATI HDMI, HDMI 5
|
||||
HDMI Audio Output
|
||||
```
|
||||
|
||||
`cat /proc/asound/cards`
|
||||
```console
|
||||
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
|
||||
HDA ATI HDMI at 0xf7b60000 irq 40
|
||||
```
|
||||
|
||||
`lspci -vnn | grep -A1 -i audio`
|
||||
```console
|
||||
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
|
||||
Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]
|
||||
--
|
||||
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
|
||||
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
|
||||
Flags: bus master, fast devsel, latency 0, IRQ 40
|
||||
```
|
||||
|
||||
`sudo lspci -vnn`
|
||||
```console
|
||||
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
|
||||
Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]
|
||||
Flags: fast devsel, IRQ 22
|
||||
Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
|
||||
Capabilities: [50] Power Management version 2
|
||||
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
|
||||
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
|
||||
Capabilities: [100] Virtual Channel
|
||||
Capabilities: [130] Root Complex Link
|
||||
Kernel modules: snd_hda_intel
|
||||
```
|
||||
|
||||
## Graphic drivers
|
||||
|
||||
Usually most of this should work out of the box on NixOS.
|
||||
|
@ -9,7 +9,7 @@
|
||||
../../modules/base-bios.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/ntfs.nix
|
||||
../../modules/ssh-fde-unlock.nix
|
||||
#../../modules/ssh-fde-unlock.nix
|
||||
../../modules/zsh.nix
|
||||
../../modules/nitrokey-gpg-smartcard.nix
|
||||
../../modules/ssh-client.nix
|
||||
@ -56,7 +56,6 @@
|
||||
boot.blacklistedKernelModules = [ "i915" ];
|
||||
boot.kernelParams = [ "i915.modeset=0" "radeon.si_support=0" "amdgpu.si_support=1" ];
|
||||
|
||||
|
||||
# List all available kernel versions:
|
||||
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
|
||||
# Default.
|
||||
|
Loading…
Reference in New Issue
Block a user