GNU/Linux >> LINUX-Kenntnisse >  >> Debian

Debian – Debian auf Kaby-Lake-Rechner installieren:Schwierigkeiten mit X.org?

Ich habe erst kürzlich einen neuen PC gekauft und kann das Debian-System nicht richtig installieren. Jetzt werde ich Ihnen meine Konfiguration und meinen Status auf die ausführlichste Weise mitteilen:

PC:

  • CPU:i7 7700K (Kaby Lake mit Intel HD Graphics 630)
  • MB:MSi Z270 SLI PLUS
  • RAM:Kingston HYPER 2 x 8 GB RAM bei 2400 MHz (12CL)
  • SSD:Intel 600 256 GB

DISTRO:

Debian GNU/Linux 8.7 Jessie

Nach der Installation des Systems startete das Betriebssystem ordnungsgemäß, der xserver lief jedoch nur in niedriger Auflösung (1024×768).

Ich nahm an, dass es sich um ein Treiberproblem handelt, also habe ich einige Treiber von dieser Seite ohne Erfolg installiert, dann habe ich einige neue Kernel ausprobiert:

  • 3.16.43X
  • 3.18.20 X
  • 4.1.39X
  • 4.4.59X
  • 4.9.20 M
  • 4.10.8 M
  • 4.11-rc5M

Beim Kernel mit dem Zeichen X (siehe oben) war die Situation die gleiche wie beim ursprünglichen Kernel 3.16.0-4 , jedoch mit denen mit M-Zeichen, war anders:Es sah so aus, als ob es mit einer korrekten Auflösung gestartet wurde, jedoch stürzte xserver in /var/log/Xorg.0.log ab Es gab eine Nachricht:

Bildschirme gefunden, aber keiner hat eine verwendbare Konfiguration

und dann

Schwerwiegender Serverfehler:Keine Bildschirme gefunden

Ich habe versucht, einige xorg zu ändern Konfigurationen oder einige Einstellungen im i915-Modul, aber ohne Erfolg

Jede Hilfe wäre willkommen

Vielen Dank!

BEARBEITEN:

Nachdem Sie alle manuell installierten Kernel entfernt haben, installieren Sie Kernel 4.9 von jessie-backports und entfernen Sie xserver-xorg-video-intel Treiber, der Befehl:

grep EE /var/log/Xorg.0.log

wird zurückkehren

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.670] (EE) Failed to load module "intel" (module does not exist, 0)
[     2.671] (EE) open /dev/dri/card0: No such file or directory
[     2.671] (EE) open /dev/dri/card0: No such file or directory
[     2.672] (EE) open /dev/fb0: No such file or directory
[     2.672] (EE) open /dev/fb0: No such file or directory
[     2.672] (EE) Screen 0 deleted because of no matching config section.
[     2.672] (EE) Screen 0 deleted because of no matching config section.
[     2.672] (EE) Screen 0 deleted because of no matching config section.
[     2.672] (EE) Device(s) detected, but none match those in the config file.
[     2.672] (EE) 
[     2.672] (EE) no screens found(EE) 
[     2.672] (EE) 
[     2.672] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     2.672] (EE) 
[     2.672] (EE) Server terminated with error (1). Closing log file.

BEARBEITEN 2:

die gesamte /var/log/Xorg.0.log :

[     2.630] X Protocol Version 11, Revision 0
[     2.630] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[     2.630] Current Operating System: Linux Bobor 4.9.0-0.bpo.2-amd64 #1 SMP Debian 4.9.13-1~bpo8+1 (2017-02-27) x86_64
[     2.630] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-0.bpo.2-amd64 root=UUID=97e2dfda-29d2-44b4-ac08-80ea49496bb6 ro quiet
[     2.630] Build Date: 11 February 2015  12:32:02AM
[     2.630] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[     2.630] Current version of pixman: 0.32.6
[     2.630]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     2.630] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.630] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  9 19:23:09 2017
[     2.631] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     2.632] (==) No Layout section.  Using the first Screen section.
[     2.632] (==) No screen section available. Using defaults.
[     2.632] (**) |-->Screen "Default Screen Section" (0)
[     2.632] (**) |   |-->Monitor "<default monitor>"
[     2.632] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[     2.632] (==) Automatically adding devices
[     2.632] (==) Automatically enabling devices
[     2.632] (==) Automatically adding GPU devices
[     2.634] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     2.634]    Entry deleted from font path.
[     2.636] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[     2.636] (==) ModulePath set to "/usr/lib/xorg/modules"
[     2.636] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.636] (II) Loader magic: 0x559d23f1ed80
[     2.636] (II) Module ABI versions:
[     2.636]    X.Org ANSI C Emulation: 0.4
[     2.636]    X.Org Video Driver: 18.0
[     2.636]    X.Org XInput driver : 21.0
[     2.636]    X.Org Server Extension : 8.0
[     2.637] (--) PCI:*(0:0:2:0) 8086:5912:1462:7a59 rev 4, Mem @ 0xde000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     2.637] (II) LoadModule: "glx"
[     2.638] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     2.644] (II) Module glx: vendor="X.Org Foundation"
[     2.644]    compiled for 1.16.4, module version = 1.0.0
[     2.644]    ABI class: X.Org Server Extension, version 8.0
[     2.644] (==) AIGLX enabled
[     2.644] (==) Matched intel as autoconfigured driver 0
[     2.644] (==) Matched modesetting as autoconfigured driver 1
[     2.644] (==) Matched fbdev as autoconfigured driver 2
[     2.644] (==) Matched vesa as autoconfigured driver 3
[     2.644] (==) Assigned the driver to the xf86ConfigLayout
[     2.644] (II) LoadModule: "intel"
[     2.645] (WW) Warning, couldn't open module intel
[     2.645] (II) UnloadModule: "intel"
[     2.645] (II) Unloading intel
[     2.645] (EE) Failed to load module "intel" (module does not exist, 0)
[     2.645] (II) LoadModule: "modesetting"
[     2.645] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     2.646] (II) Module modesetting: vendor="X.Org Foundation"
[     2.646]    compiled for 1.16.4, module version = 0.9.0
[     2.646]    Module class: X.Org Video Driver
[     2.646]    ABI class: X.Org Video Driver, version 18.0
[     2.646] (II) LoadModule: "fbdev"
[     2.646] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[     2.646] (II) Module fbdev: vendor="X.Org Foundation"
[     2.646]    compiled for 1.15.99.904, module version = 0.4.4
[     2.646]    Module class: X.Org Video Driver
[     2.646]    ABI class: X.Org Video Driver, version 18.0
[     2.646] (II) LoadModule: "vesa"
[     2.646] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     2.646] (II) Module vesa: vendor="X.Org Foundation"
[     2.646]    compiled for 1.15.99.904, module version = 2.3.3
[     2.646]    Module class: X.Org Video Driver
[     2.646]    ABI class: X.Org Video Driver, version 18.0
[     2.646] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     2.646] (II) FBDEV: driver for framebuffer: fbdev
[     2.646] (II) VESA: driver for VESA chipsets: vesa
[     2.646] (++) using VT number 7

[     2.647] (EE) open /dev/dri/card0: No such file or directory
[     2.647] (WW) Falling back to old probe method for modesetting
[     2.647] (EE) open /dev/dri/card0: No such file or directory
[     2.647] (II) Loading sub module "fbdevhw"
[     2.647] (II) LoadModule: "fbdevhw"
[     2.647] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     2.647] (II) Module fbdevhw: vendor="X.Org Foundation"
[     2.647]    compiled for 1.16.4, module version = 0.0.2
[     2.647]    ABI class: X.Org Video Driver, version 18.0
[     2.647] (EE) open /dev/fb0: No such file or directory
[     2.647] (WW) Falling back to old probe method for fbdev
[     2.647] (II) Loading sub module "fbdevhw"
[     2.647] (II) LoadModule: "fbdevhw"
[     2.647] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     2.647] (II) Module fbdevhw: vendor="X.Org Foundation"
[     2.647]    compiled for 1.16.4, module version = 0.0.2
[     2.647]    ABI class: X.Org Video Driver, version 18.0
[     2.647] (EE) open /dev/fb0: No such file or directory
[     2.647] vesa: Ignoring device with a bound kernel driver
[     2.647] (WW) Falling back to old probe method for vesa
[     2.647] (EE) Screen 0 deleted because of no matching config section.
[     2.647] (II) UnloadModule: "modesetting"
[     2.647] (EE) Screen 0 deleted because of no matching config section.
[     2.647] (II) UnloadModule: "fbdev"
[     2.647] (II) UnloadSubModule: "fbdevhw"
[     2.647] (EE) Screen 0 deleted because of no matching config section.
[     2.647] (II) UnloadModule: "vesa"
[     2.647] (EE) Device(s) detected, but none match those in the config file.
[     2.647] (EE) 
Fatal server error:
[     2.647] (EE) no screens found(EE) 
[     2.647] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[     2.647] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     2.647] (EE) 
[     2.647] (EE) Server terminated with error (1). Closing log file.

Akzeptierte Antwort:

Für Kaby Lake (und alle Intel-Grafiken seit Broadwell) müssen Sie einen neuen Kernel und eine neue Firmware von Jessie-Backports installieren; als root:

echo deb http://http.debian.net/debian jessie-backports main contrib non-free > /etc/apt/sources.list.d/jessie-backports.list
apt-get update
apt-get -t jessie-backports install linux-image-amd64 firmware-misc-nonfree

Sie müssen auch entfernen (paradoxerweise) der X.org-Intel-Grafiktreiber (wie in der Paketbeschreibung angegeben:Der X-Server kann die Moduseinstellungsfunktionen des Kernels ohne separaten Grafiktreiber verwenden):

apt-get remove xserver-xorg-video-intel

Wenn Sie dies ausführen, wenn apt-get sagt Ihnen, dass es andere Pakete entfernen wird, lassen Sie es nicht tun; Möglicherweise müssen Sie xserver-xorg-video-dummy installieren um Abhängigkeiten zu erfüllen.

Siehe auch:Den Inhalt einer Datei auf den Befehl „echo“ umleiten?

Sie sollten auch die manuell installierten Kernel entfernen.

Sobald dies erledigt ist, starten Sie neu und Sie sollten feststellen, dass Ihr System viel besser funktioniert.

Wenn dies jedoch fehlschlägt, können Sie versuchen, stattdessen den zurückportierten Intel-Treiber zu installieren (zusammen mit dem neuen Kernel und der neuen Firmware):

apt-get -t jessie-backports install xserver-xorg-video-intel

Debian
  1. Sichern Sie Debian mit ClamAV Antivirus

  2. Webmin in Debian 8 (Jessie) installieren

  3. Installation von Xen Hypervisor 4.8 auf Debian Jessie

  4. TeamPass in Debian Jessie installieren

  5. Debian – Steam auf Debian installieren?

Installation von Lighttpd mit PHP5 (PHP-FPM) und MySQL-Unterstützung auf Debian Wheezy

Lighttpd mit PHP5 (PHP-FPM) und MySQL auf Debian 8 (Jessie) installieren

Installation von Nginx mit PHP (als PHP-FPM) und MariaDB (LEMP) auf Debian 8

Installieren eines Web-, E-Mail- und MySQL-Datenbank-Clusters auf Debian 8.4 Jessie mit ISPConfig 3.1

So richten Sie einen Mailserver mit Modoboa unter Debian 10 ein

Asterisk auf Debian installieren