# Se me olvido agregarlo justo después de la instalación de los controladores privativos. Ademas este foro tiene una regla estúpidamente absurda de que no puedes editar tus propias publicaciones pasado 15 minutos, el limite deberían ser 24 horas. como el foro de LinuxQuestion. Bueno al rato si esta vaina me deja borro el tema completo y lo republico en como debio quedar XD. Lo peor del caso es que la porqueria esta no me deja ni recuperar lo que habia escrito y tengo que volver a escribirlo todo ¬¬
Code: Select all
sudo suCode: Select all
cat << 'EOF' > /etc/X11/xorg.conf
# Configuración de Inukaze para tarjetas Nvidia
# En Debian, colocar en /etc/X11/xorg.conf
# En Manjaro mwhd, colocar en /etc/X11/mhwd.d/nvidia.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Option "Xinerama" "0"
EndSection
Section "Module"
Load "bitmap" # Permite usar tipografías de mapas de bits dentro del servidor gráfico
# Load "synaptics" # Permite utilizar dispositivos táctiles como TouchPad o pantallas, etc.
# Load "vbe" # Se usa para un modo VESA muy básico
# Load "int10" # Se usa para un modo VESA muy básico
# Load "type1" # Soporte de fuentes Type1
# Load "freetype" # Soporte de fuentes FreeType
# Ya es interno:
# Load "glx" # Carga automáticamente aunque no se especifique.
# Load "ddc" # Sondeo DDC del monitor
# Load "dbe" # Extensión de doble búfer
# Load "dri2" # Infraestructura de renderizado directo v2
# Load "extmod" # Extensiones comunes
# Load "record" # Extensión para grabar/probar eventos de X
EndSection
Section "ServerFlags"
Option "DontZap" "False" # Permite usar Ctrl+Alt+Backspace para cerrar las X
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "VIT (Toshiba Matsushita Display Technology Co., Ltd LCD-MONITOR)"
ModelName "190LM00006"
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 75.0
Option "DPMS" "TRUE"
# --- RESOLUCIONES 16:10 (Nativas / Proporcionales) ---
# 1400x900: La que mejor se ve según tus pruebas
Modeline "1400x900" 103.50 1400 1480 1624 1848 900 903 913 934 -hsync +vsync
# 1280x800: La viste bien
Modeline "1280x800" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
# --- RESOLUCIONES 4:3 (Tus favoritas y Emergencia) ---
# 1152x864: Tu mínima deseada 4:3 (a 75Hz y 60Hz)
Modeline "1152x864" 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync
# 1024x768: Emergencia / Clásica
Modeline "1024x768" 82.00 1024 1088 1192 1360 768 771 775 805 -hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 620"
# A partir de la versión de los controladores 304.88, el sistema se vuelve muy lento
# Aquí está el arreglo de lentitud:
# Forzar el nivel de rendimiento máximo para evitar tirones
Option "RegistryDwords" "PowerMizerEnable=0x1"
Option "RegistryDwords" "PerfLevelSrc=0x3322"
Option "RegistryDwords" "PowerMizerDefaultAC=0x1"
# Forzar a que la GPU escale la imagen
# Para evitar las distorsiones en la relación de aspecto
# Option "ConnectToDevice" "VGA-0" # Ignorada por el controlador (determinación automática)
# Option "FlatPanelProperties" "Scaling = Aspect-scaled" # Solo para conexiones digitales (DVI/HDMI)
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
# --- Configuración de Resoluciones ---
# Prioridad: 1400x900 (mejor visualización), seguida de 16:10 y 4:3 de emergencia.
Option "AllowIndirectGLXProtocol" "Off"
# Prueba de la resolución 1400x900 y esas propiedades con ForceFullCompositionPipeline
Option "metamodes" "VGA-0: 1400x900 +0+0 {ForceFullCompositionPipeline=On, ViewPortOut=1400x900+0+0, ResamplingMethod=Bilinear}, 1280x800 +0+0, 1152x864 +0+0, 1024x768 +0+0; 800x600 +0+0, 640x480 +0+0"
Option "TwinViewXineramaInfoOrder" "VGA-0"
# --- Rendimiento y Calidad Visual ---
Option "AllowSHMPixmaps" "True"
Option "AllowUnofficialGLXProtocol" "True"
Option "DamageEvents" "True"
# Option "ForceCompositionPipeline" "On" # Elimina el lagrimeo (Tearing) en los videos
# Option "ForceFullCompositionPipeline" "On" # Elimina el lagrimeo (Tearing) en los videos
Option "RenderAccel" "True"
Option "TripleBuffer" "False"
# Option "VideoRAM" "2097152" # Especifica la memoria de video, pero se determina automáticamente
# --- Opciones Especiales --- (Mantenidas por compatibilidad con GPUs antiguas)
# Option "CIOverlay" "True"
# Option "ConstrainCursor" "True"
# Option "Interactive" "True"
# Option "MultisampleCompatibility" "True"
# Option "OverlayDefaultVisual" "True"
# Option "TransparentIndex" "25"
Option "UseHotplugEvents" "True"
# Option "Overlay" "True" # Puede causar conflictos con compositores modernos
# --- Opciones Legadas / Compatibilidad ---
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"
Option "backingstore" "True"
Option "DPMS" "True"
Option "HWCursor" "True"
Option "NoPowerConnectorCheck" "True"
# Option "UseEdidFreqs" "True"
Option "DPI" "96 x 96"
# Cuando se actualizan los controladores privativos:
Option "BaseMosaic" "Off"
Option "Dac8Bit" "True"
Option "GLShaderDiskCache" "True"
Option "MultiGPU" "Off"
Option "nvidiaXineramaInfo" "True"
Option "SLI" "Off"
Option "Stereo" "0"
Option "UBB" "True"
# Nvidia 390.157 > Opciones no utilizadas o legadas
# Option "AddARGBVisuals" "True"
# Option "CursorShadow" "True"
# Option "DRI" "True"
# Option "NoLogo" "True"
# Option "NvAGP" "3"
# Option "TwinView" "0"
# Option "XAANoOffscreenPixmaps" "True"
# Option "InitializeWindowBackingPixmaps" "True"
# Option "UseEvents" "True"
SubSection "Display"
Depth 24
Modes "1400x900" "1280x800" "1152x720" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
# Option "DRI" "Enable" # Opción no reconocida en nvidia 390.157
Option "RandR" "Enable"
Option "RENDER" "Enable"
EndSection
Section "DRI"
Mode 0660
# Group "vglusers" # Solo para VirtualGL (incompatible con Nvidia oficial)
EndSection
EOFLo siguiente es completamente opcional : como yo uso la tty6 para usar guiones personalizados para lanzar videojuegos de antaño de windows usando wine 9.0.1, pero como eso suele implicar el reescalado forzado a 640x480 y/o dejar la pantalla completamente en negro, prefiero lanzar eso en la tty6 pero para que esto funcione debo hacer los siguientes cambios en mi sistema
Code: Select all
cp /etc/inittab /etc/inittab.original
cat << 'EOF' > /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Version: @(#)inittab 2.04 17/05/93 MvS
# 2.10 02/10/95 PV
# 3.00 02/06/1999 PV
# 4.00 04/10/2002 PV
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by: Patrick J. Volkerding, <volkerdi@slackware.com>
# Modified by: George Vlahavas <vlahavas~at~gmail~dot~com>
#
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11/Wayland with SDDM/KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
# Default runlevel. (Do not set to 0 or 6)
#id:1:initdefault:
#id:3:initdefault:
id:4:initdefault:
# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S
# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K
# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M
# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now
# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0
# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6
# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start
# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop
# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
#c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c5:12345:respawn:/sbin/agetty --autologin inukaze --noclear tty6 38400 linux
#c6:12345:respawn:/sbin/agetty 38400 tty6 linux
c6:12345:respawn:/sbin/agetty --autologin inukaze --noclear tty6 38400 linux
# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100
# Runlevel 4 also starts /etc/rc.d/rc.4 to run a display manager for X.
x1:4:respawn:/etc/rc.d/rc.4
# End of /etc/inittab
EOFCode: Select all
cat << 'EOF' > /etc/X11/Xwrapper.config
allowed_users=anybody
needs_root_rights=yes
EOF