Debian Squeeze zacina si

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
kszyhu
Posty: 11
Rejestracja: 19 czerwca 2011, 17:44
Lokalizacja: Polska

Debian Squeeze zacina się po instalacji sterowników ATI

Post autor: kszyhu »

Cześć.
Używam Debiana Squeeze i mam kartę grafiki ATi Radeon HD3650 AGP.
Sterowniki zainstalowałem z repozytorium Debiana i mój problem polega na tym, że system się bardzo zacina. Podczas przeglądania stron w iceweaselu, maksymalizacji okien, minimalizacji wszystko działa tak jak poklatkowo.

Wersja sterowników 1.10.9.3
Wersja x.orga 1.7.5.8

Xorg.conf wygląda tak:

Kod: Zaznacz cały

Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Kod: Zaznacz cały

glxgears
podaje:

Kod: Zaznacz cały

14641 frames in 5.0 seconds = 2928.047 FPS
Czekam na propozycje jak rozwiązać problem tego zacinania się.

Pozdrawiam.
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Trzeba by się przyjrzeć logom serwera.

Kod: Zaznacz cały

less /var/log/Xorg.0.log
kszyhu
Posty: 11
Rejestracja: 19 czerwca 2011, 17:44
Lokalizacja: Polska

Post autor: kszyhu »

Log długi, tak więc przedstawiam link:

http://www.wklejto.pl/99891
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Nie podoba mi się ten /etc/X11/xorg.conf
Zrób nowy.

Kod: Zaznacz cały

su
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
xdmen=`cat /etc/X11/default-display-manager 2>/dev/null`
ddmen=`basename "$xdmen" 2>/dev/null`
/etc/init.d/"$ddmen" stop



W TTY logujesz sie jako root:

Kod: Zaznacz cały

root
X -configure
sed "s/radeon/fglrx/g" < /root/xorg.conf.new > /etc/X11/xorg.conf[font=monospace]
[/font]xdmen=`cat /etc/X11/default-display-manager 2>/dev/null`
ddmen=`basename "$xdmen" 2>/dev/null`
/etc/init.d/"$ddmen" start
kszyhu
Posty: 11
Rejestracja: 19 czerwca 2011, 17:44
Lokalizacja: Polska

Post autor: kszyhu »

Kod: Zaznacz cały

root@debian:/home/kszyhu# /etc/init.d/"$ddmen" start
bash: /etc/init.d/: jest katalogiem
a xorg

Kod: Zaznacz cały

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "extmod"
    Load  "dri2"
    Load  "record"
    Load  "dbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      410   230    # mm
    Identifier   "Monitor0"
    VendorName   "SAM"
    ModelName    "SMB1930N"
    HorizSync    30.0 - 61.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "CustomEDID"             # [<str>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ClockGating"            # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "ATOMTVOut"              # [<bool>]
        #Option     "R4xxATOM"               # [<bool>]
        #Option     "ForceLowPowerMode"      # [<bool>]
        #Option     "DynamicPM"              # [<bool>]
        #Option     "NewPLL"                 # [<bool>]
        #Option     "ZaphodHeads"            # <str>
    Identifier  "Card0"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV635 PRO AGP [Radeon HD 3650]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection
W prędkości działania nic się nie zmieniło.
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Teraz wygląda to lepiej.
Daj teraz log.
kszyhu
Posty: 11
Rejestracja: 19 czerwca 2011, 17:44
Lokalizacja: Polska

Post autor: kszyhu »

Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Wszystko jest tutaj w jak najlepszym porządku.

Pokaż

Kod: Zaznacz cały

lspci -k
kszyhu
Posty: 11
Rejestracja: 19 czerwca 2011, 17:44
Lokalizacja: Polska

Post autor: kszyhu »

Kod: Zaznacz cały

00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    Subsystem: ASUSTeK Computer Inc. Device 8129
    Kernel driver in use: agpgart-amd64
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0c.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
    Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
    Kernel driver in use: uhci_hcd
00:0c.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
    Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
    Kernel driver in use: uhci_hcd
00:0c.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
    Subsystem: VIA Technologies, Inc. USB 2.0
    Kernel driver in use: ehci_hcd
00:0d.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
    Subsystem: D-Link System Inc DFE-528TX 10/100 Fast Ethernet PCI Adapter
    Kernel driver in use: 8139too
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V Deluxe/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: sata_via
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: pata_via
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: uhci_hcd
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: uhci_hcd
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: uhci_hcd
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: uhci_hcd
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
    Kernel driver in use: ehci_hcd
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
    Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
    Subsystem: ASUSTeK Computer Inc. Asus P5VD1-X (AD1888 codec [SoundMax])
    Kernel driver in use: VIA 82xx Audio
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    Kernel driver in use: k8temp
01:00.0 VGA compatible controller: ATI Technologies Inc RV635 PRO AGP [Radeon HD 3650]
    Subsystem: Hightech Information System Ltd. Device 0028
    Kernel driver in use: fglrx_pci
01:00.1 Audio device: ATI Technologies Inc RV635 Audio device [Radeon HD 3600 Series]
    Subsystem: Hightech Information System Ltd. Device aa20
    Kernel driver in use: HDA Intel
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

No i widzisz już nieprawidłowość?
Kernel driver in use: fglrx_pci
Spróbuj użyć innego sterownika.

Kod: Zaznacz cały

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sed "s/fglrx/radeonhd/g" < /etc/X11/xorg.conf.old > /etc/X11/xorg.conf
rmmod fglrx
modprobe radeonhd
cd /etc/init.d/
xdmen=`cat /etc/X11/default-display-manager 2>/dev/null`
ddmen=`basename "$xdmen" 2>/dev/null`
$ddmen restart
ODPOWIEDZ