commit 395a23f2e331e59bc7ad01c6e0acedb59884fc83 Author: Fabio Date: Thu Jul 31 11:37:12 2025 +0200 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..9fbad81 --- /dev/null +++ b/README.md @@ -0,0 +1,97 @@ +### Debian 12 in Imac 2017 + +### Installare installer su pen drive + +caricare la versione iso di debian 12 e installarlo in una chiavetta utilizzando Balena-Etcher + +### Autorizzare lo user per lavorare come su (sudoers) + + su + nano /etc/sudoers + +inserire questa riga con user lo user che vuoi che abbia i privilegi di root + + user ALL=(ALL:ALL) ALL + +uscita da su + + exit + +### Installare sound su linux Debian 12 in un iMac 18.2 (late 2017) + + sudo apt-get install linux-headers-$(uname -r) + sudo apt install build-essential + sudo apt install git + git clone http://forgit.patachina.it/Fabio/snd-hda-codec-cs8409.git + cd snd-hda-codec-cs8409 + make + sudo make install + +fare il reboot + +deriva da [git link](https://github.com/egorenar/snd-hda-codec-cs8409) + +### Installare tutti i pacchetti per Debian 12 + +copiare il file per un backup + + sudo cp /etc/apt/sources.list . + +editare sources.list + + sudo nano /etc/apt/sources.list + +cancellare tutto e inserire + + deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware + # deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware + + deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware + # deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware + + deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware + # deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware + + deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware + # deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware + + deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware + # deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware + +fare update e upgrade + + sudo apt update + sudo apt upgrade + +installare mesa + + sudo apt-get install mesa-utils + +verificare con + + glxinfo + +con + + glxinfo | grep OpenGL + +dovrebbe risultare qualcosa del tipo + + OpenGL vendor string: Intel Open Source Technology Center # The manufacturer + OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop # The type of the chip + OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2 # The OpenGL version fully supported, here 3.3 thanks to Mesa 10.3.2 . + OpenGL core profile shading language version string: 3.30 # The GLSL version fully supported + +con il comando si verifica accellerazione 3D + + glxinfo | grep rendering + +dovrebbe dare + + direct rendering: Yes + +per vedere i frame per secondo + + glxgears -info + +