Nejde grafika - přepnutí do konzole nemožné [vyřešeno]

Založil antkrc, 07. 01. 2012, 11:58:18

Předchozí téma - Další téma

antkrc

Ahoj všem. Snažím se nainstalovat Debiana 6.0 na starý notebook TravelMate 220 (druhá nálepka označuje jako TravelMate225x)
128 MB SDRAM
mobile intel celeron 1.33 GHz
14.1" XGA TFT LCD
HDD 20 GB

Kolegovi, kterému se to snažím nainstalovat jde hlavně o to, aby mu fungoval web. prohlížeč a mohl si přehrát písničky.

Instalace probíhá bez problému (vybrané prostředí LXDE) - po restartu se spustí grub. Potvrdím Entrem a naskočí šedá obrazovka. Ani není možné se přihlásit do konzole.

Zkusil jsem tedy nainstalovat Debiana bez grafického prostředí. Instalace bez problému. Po restartu a spuštění grubu mi naskočila konzole. Doinstaloval jsem lxde grafické prostředí. Spustil jsem příkaz startx a naskočila mi grafika. Počítač běžel kupodivu docela svižně. Prohlédl jsem si pár web. stránek a zkusil jsem restart. Opět po spuštění systému šedý monitor a do konzole nemožný přístup.

Opakoval jsem to s tím, že se podívám co píšou, dříve než budu restartovat, v /etc/X11/xorg.conf - tento soubor tam bohužel není. Upřímně řečeno, nevěděl bych jistě co tam mám v tom souboru přepsat, ale Vám by to mohlo pomoci.

Předem děkuji za návrhy a pomoc s tímto problémem. Tonda

Petr Slunský

Dobrá zpráva je, že ti počítač jel v konzoli aspoň jednou :)

co je tam vlastně za grafiku? pošli sem výstup z lspci.
jaké tam běží jádro?
snaží se GRUB přepnout do framebufferu?

xorg.conf dnes již není nezbytný. Můžeš jej vyrobit z konzole, za předpokladu, že Xka nejsou nastartovaná příkazem
X -configure
jako superuživatel (root, nebo pomocí sudo). Pokud by ti Xka běžela, je potřeba poslat výstup na jiný display příkazem
X -configure :1

Debian

antkrc

Nenašel jsem kde se zde dávají přílohy takže foto s lspci a uname -r je na tomto odkaze.
http://www.uloz.to/12372028/vypis-jpg

Citacesnaží se GRUB přepnout do framebufferu?
Po restartu se napíše hláška vítejte v GRUBu poté naskočí standartní výběr - buď potvrdím entrem nebo do pár sekund se spustí sám první výběr. Poté naskočí šedá obrazovka za pár sekund problikne a vypadá to jako by se chtěla spustit grafika. Bohužel zase naskočí šedý monitor. CTRL+ALT+F1 .. F2 ... nepřepnou do příkazové konzole - maximálně problikne obrazovka.

Díky za zájem Tonda

petrbian

Zkusil bych vypnout KMS, buď v konfiguračním souboru /etc/modprobe.d/i915-kms.conf, nebo při startu Grubu:
Stisknout "e", pro editaci, vybrat kernel, znovu "e" napsat:
i915.modeset=0
Stisknout Enter a "b".

Další typy zde:
https://wiki.archlinux.org/index.php/Intel#KMS_.28Kernel_Mode_Setting.29

antkrc

Teď jsem znova doinstaloval grafiku a výpis příkazu X -configure :1
root@debian:~# X -configure :1

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.29-dsa-ia32 i686 Debian
Current Operating System: Linux debian 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=4791ebf8-f18a-407f-ab2b-c639a1fda275 ro quiet
Build Date: 19 February 2011  02:37:36PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Jan  1 13:15:19 2002
List of video drivers:
openchrome
ark
neomagic
vmwlegacy
tdfx
savage
chips
i740
vmware
ati
sis
siliconmotion
nv
i128
mga
cirrus
trident
rendition
voodoo
apm
geode
tseng
nouveau
mach64
ztv
sisusb
r128
s3virge
radeon
s3
intel
fbdev
vesa
vmware: Please ignore above "FATAL: Module vmwgfx not found."
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
root@debian:~#


Výpis z /root/xorg.conf.new
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
Screen      1  "Screen1" RightOf "Screen0"
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  "dri2"
Load  "dbe"
Load  "glx"
Load  "record"
Load  "extmod"
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"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Monitor"
Identifier   "Monitor1"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
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     "AccelMethod"        # [<str>]
        #Option     "DRI"                # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "VideoKey"            # <i>
        #Option     "FallbackDebug"      # [<bool>]
        #Option     "Tiling"              # [<bool>]
        #Option     "Shadow"              # [<bool>]
        #Option     "SwapbuffersWait"    # [<bool>]
        #Option     "XvMC"                # [<bool>]
        #Option     "XvPreferOverlay"    # [<bool>]
        #Option     "DebugFlushBatches"  # [<bool>]
        #Option     "DebugFlushCaches"    # [<bool>]
        #Option     "DebugWait"          # [<bool>]
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82830 CGC [Chipset Graphics Controller]"
BusID       "PCI:0:2:0"
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     "AccelMethod"        # [<str>]
        #Option     "DRI"                # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "VideoKey"            # <i>
        #Option     "FallbackDebug"      # [<bool>]
        #Option     "Tiling"              # [<bool>]
        #Option     "Shadow"              # [<bool>]
        #Option     "SwapbuffersWait"    # [<bool>]
        #Option     "XvMC"                # [<bool>]
        #Option     "XvPreferOverlay"    # [<bool>]
        #Option     "DebugFlushBatches"  # [<bool>]
        #Option     "DebugFlushCaches"    # [<bool>]
        #Option     "DebugWait"          # [<bool>]
Identifier  "Card1"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82830 CGC [Chipset Graphics Controller]"
BusID       "PCI:0:2:1"
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

Section "Screen"
Identifier "Screen1"
Device     "Card1"
Monitor    "Monitor1"
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


Poté je tam ještě zmínka o /usr/share/X11/xorg.conf.d" které se skládá ze tří částí - slepil jsem je do jedné složky
#
xorg.conf.d/10-evdev.conf
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection


xorg.conf.d/20-evdev.conf

Section "InputClass"
Identifier "Wacom class"
# WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
# so for now just let it fall through and be picked up by evdev instead.
# MatchProduct "Wacom|WALTOP|WACOM"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
Driver "wacom"
Option "ForceDevice" "ISDV4"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
Identifier "Wacom N-Trig class"
MatchProduct "HID 1b96:0001"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection



xorg.conf.d/50-evdev.conf

Section "InputClass"
Identifier "Wacom class"
# WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
# so for now just let it fall through and be picked up by evdev instead.
# MatchProduct "Wacom|WALTOP|WACOM"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
Driver "wacom"
Option "ForceDevice" "ISDV4"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
Identifier "Wacom N-Trig class"
MatchProduct "HID 1b96:0001"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection




Poslední vmware: Please ignore above "FATAL: Module vmwgfx not found." bude asi to nejzávažnější - nenašlo to k nainstalování. Nevím tedy co s tím.

CitaceZkusil bych vypnout KMS
Jdu to zkusit a když to nevyjde - nová instalace zatím bez grafického prostředí.

Děkuji Tonda


antkrc

CitaceZkusil bych vypnout KMS
Tak to zabralo. Mockrát děkuji. Tonda

petrbian

Není zač. Hlavně že se problém podařilo vyřešit. :)