Portál AbcLinuxu, 7. listopadu 2025 06:59
/usr/src/linux/.Musíš potom ukončit grafické prostředí(ctrl+alt+backspace, nebo příkaz: init 2, init 3, nevím, jak to má zařízený slack) a instalovat ovladače jen z konzole. Nastav těm driverům práva
chmod 755 ovladace.runPotom je spusť a jen potvrzuj :
./ovladace.runPak edituj konfigurační soubor grafického prostředí (nemusíš použít nano, můžeš použít třeba editor v mc):
nano -w /etc/X11/xorg.confZde ukážu takový vzorovější config, hlavní řádky zvírazním :
Section "dri"
Group 27 # video
Mode 0660
EndSection
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Option "XkbDisable"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,cz"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
Option "Name" "Logitech BT58"
Option "Vendor" "LOGITECH"
Option "Device" "/dev/input/mice"
Option "ZaxisMapping" "4 5"
Option "Buttons" "5"
EndSection
#Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/psaux"
# Option "ZaxisMapping" "4 5"
# Option "Buttons" "5"
#EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 30 - 96
VertRefresh 50 - 150
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
HorizSync 30 - 50
VertRefresh 60 - 60
Option "DPMS"
EndSection
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=514c
Screen 0
EndSection
#Section "Extensions"
# Option "Composite" "true"
#EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Celá ta za tmavená sekce ATI nemusí být vůbec takto dlouhá, je to starý pokusný config, možná by místo toho stačilo něco jako :
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
BusID "PCI:1:0:0" # vendor=1002, device=514c
Screen 0
EndSection
Aby ti jela akcelerace i pod normálním userem, tak musí být ve skupině video (Group 27, Mode 0660).
Když ti xka naběhnou a akcelerace nepůjde, tak jí vyzkoušej pod rootem.
Zdar Max
Proto jsem to tu vystavil, to tam musíš dopsat 

glxinfo | grep direct
Pokud ti to odpoví Yes, je všechno v pořádku.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.