x server

Fórumok

Helló!

Szeretnék grafikus felületet varázsolni a debianomra, de nem akar összejönni.

ezt a hibaüzenetet kapom:

(WW) VESA: No matching Device section for instance (BusID PCI:0:13:0) found
(WW) VESA: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) No deviced detected.

Fatal server error:
no screends found

A graf. kártyám tipusa: ATI Rage 128 Pro Ultra

Próbáltam ATI, illetve VESA driverrel is, nem sikerült működésre bírni.

Előre is köszi a segítséget.

Hozzászólások

Másold már be légyszi a /etc/X11/xf86config-4 -et, meg az lspci kimenetét, hátha abból okosabbak leszünk

lspci kimenete:

0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0d.0 VGA compatible unclassified device: Creative Labs SB Live! EMU10k1 (rev 08)
0000:00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF

XF86Config-4:

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xtt"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Rage Pro"
Driver "vesa"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Rage Pro"
Monitor "Generic Monitor"
DefaultDepth 8
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Próbáld megjegyzésbe tenni a Monitor HorizSync és VertRefresh sorait; állítsd át ati driver-re - nekem ugyanilyen kártyával megy gyönyörűen 24 bites színmélységgel. 1280x1024 -ben. Ja, és állítsd be jól azt a BusID-t. Azaz a "Device" szekcióba írd bele:
BusID "PCI:1:0:0"
legalábbis ha jól olvasom az lspci kimenetedet.
(Az már csk hab a tortán, hogy a hangkártyád is VGA-ként jelentkezik be :-) )

De mert XFree??? Xorg sztem sokkal fejlettebb, es tapasztalataim szerint jobb is. :)

Hangkártya eltávolítva.
Ismét sötét képernyőt kapok startx után, viszont most kilép a következő hibaüzenetekkel:

(WW) R128(0): No DFP detected
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!
(II) R128(0): [drm] removed 1 reserved context for kernel
(II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xd0991000 at 0x411f1000

Bocsesz, elírtam:

$ setpci -s 00:0d.0 CLASS_DEVICE=04,01

vagy ha azzal nem ok, akkor

$ setpci -s 00:0d.0 CLASS_DEVICE=04,01,00

viszont ha ezzel sem megy, akkor új kernelt kellene fordítani, aminek a forrásába a drivers/pci/quirks.c -be az

#include "pci.h"

után beteszed a következőt:


static void __init quirk_creative_sb_live_emu10k1(struct pci_dev *dev)
{
	dev->class = (dev->class & 0xFF) + (PCI_CLASS_MULTIMEDIA_AUDIO << 8);
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CREATIVE,PCI_DEVICE_ID_CREATIVE_EMU10K1,quirk_creative_sb_live_emu10k1);

Így talán működne. De ha ez nem megy, akkor próbáld ki, hogy az xfree86 helyett az x.org-gal menne-e, pl úgy hogy leszedsz egy live-cds disztrót ami x.orgot használ (pl. knoppix 5.0.1) és ha azzal megy a hang is, meg az X is, akkor tedd fel valahogy a debianodra az x.orgot, vagy használj valami olyan disztrót, amiben alapból az van. Ennél okosabb megoldást nem tudok.