Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2023-11-12 16:11:33

  wachcio - Użytkownik

wachcio
Użytkownik
Zarejestrowany: 2019-08-10

Problemy po aktualizacji do Debian 12

Witam

Postanowiłem w końcu zaktualizować Debiana z 11 do 12. Nie obyło się bez problemów do tego stopnia, że system nie uruchamia się w GUI (KDE Plasma). Po naprawieniu GRUB-a mogę chociaż korzystać z Win 10 (brrr).
Komputer to laptop Acer Nitro 5 AN 517-52 z Intel(R) Core(TM) i5-10300H i RTX 2060. Po wielu próbach instalacji lub reinstalacji pakietów m.in sterowników do grafiki, KDE, xserver czy lightdm nadal nie bardzo wiem gdzie leży problem. System nie uruchamia się w GUI a w trybie awaryjnym dochodzi do wiersza poleceń normalnie. Po wpisaniu "startx" sypie błędami a log wygląda tak:

Kod:

[   293.058] 
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[   293.059] Current Operating System: Linux wachcio-debian 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64
[   293.059] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-13-amd64 root=UUID=79bcf381-19e2-42de-bdf4-37d2440265e5 ro single
[   293.061] xorg-server 2:21.1.7-3+deb12u2 (https://www.debian.org/support) 
[   293.062] Current version of pixman: 0.42.2
[   293.063]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   293.063] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   293.066] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 12 15:51:33 2023
[   293.067] (==) Using config file: "/etc/X11/xorg.conf"
[   293.068] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   293.068] (==) ServerLayout "layout"
[   293.068] (**) |-->Screen "Screen0" (0)
[   293.068] (**) |   |-->Monitor "Monitor0"
[   293.068] (**) |   |-->Device "Device0"
[   293.068] (**) |   |-->GPUDevice "nvidia"
[   293.068] (**) |   |-->GPUDevice "intel"
[   293.068] (**) |-->Inactive Device "intel"
[   293.068] (**) |-->Input Device "Keyboard0"
[   293.068] (**) |-->Input Device "Mouse0"
[   293.068] (**) Option "Xinerama" "0"
[   293.068] (==) Automatically adding devices
[   293.068] (==) Automatically enabling devices
[   293.068] (==) Automatically adding GPU devices
[   293.068] (==) Automatically binding GPU devices
[   293.068] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   293.068] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   293.068]     Entry deleted from font path.
[   293.068] (==) 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
[   293.068] (==) ModulePath set to "/usr/lib/xorg/modules"
[   293.068] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   293.068] (WW) Disabling Keyboard0
[   293.068] (WW) Disabling Mouse0
[   293.068] (II) Loader magic: 0x5594ad31df00
[   293.068] (II) Module ABI versions:
[   293.068]     X.Org ANSI C Emulation: 0.4
[   293.068]     X.Org Video Driver: 25.2
[   293.068]     X.Org XInput driver : 24.4
[   293.068]     X.Org Server Extension : 10.0
[   293.069] (++) using VT number 1

[   293.069] (EE) systemd-logind: failed to get session: PID 2398 does not belong to any known session
[   293.069] (II) xfree86: Adding drm device (/dev/dri/card1)
[   293.069] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[   293.070] (II) xfree86: Adding drm device (/dev/dri/card0)
[   293.070] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   293.078] (--) PCI:*(0@0:2:0) 8086:9bc4:1025:143f rev 5, Mem @ 0xc3000000/16777216, 0xa0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   293.078] (--) PCI: (1@0:0:0) 10de:1f15:1025:1440 rev 161, Mem @ 0xc5000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   293.078] (II) LoadModule: "glx"
[   293.078] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   293.079] (II) Module glx: vendor="X.Org Foundation"
[   293.079]     compiled for 1.21.1.7, module version = 1.0.0
[   293.079]     ABI class: X.Org Server Extension, version 10.0
[   293.079] (II) LoadModule: "nvidia"
[   293.079] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   293.079] (II) Module nvidia: vendor="NVIDIA Corporation"
[   293.079]     compiled for 1.6.99.901, module version = 1.0.0
[   293.079]     Module class: X.Org Video Driver
[   293.079] (II) LoadModule: "modesetting"
[   293.079] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   293.079] (II) Module modesetting: vendor="X.Org Foundation"
[   293.079]     compiled for 1.21.1.7, module version = 1.21.1
[   293.079]     Module class: X.Org Video Driver
[   293.079]     ABI class: X.Org Video Driver, version 25.2
[   293.079] (II) NVIDIA dlloader X Driver  525.125.06  Tue May 30 05:05:32 UTC 2023
[   293.079] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   293.079] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   293.080] (II) Loading sub module "fb"
[   293.080] (II) LoadModule: "fb"
[   293.080] (II) Module "fb" already built-in
[   293.080] (II) Loading sub module "wfb"
[   293.080] (II) LoadModule: "wfb"
[   293.080] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   293.080] (II) Module wfb: vendor="X.Org Foundation"
[   293.080]     compiled for 1.21.1.7, module version = 1.0.0
[   293.080]     ABI class: X.Org ANSI C Emulation, version 0.4
[   293.080] (II) Loading sub module "ramdac"
[   293.080] (II) LoadModule: "ramdac"
[   293.080] (II) Module "ramdac" already built-in
[   293.085] (II) modeset(G1): using drv /dev/dri/card0
[   293.085] (WW) Falling back to old probe method for modesetting
[   293.093] (EE) No devices detected.
[   293.093] (EE) 
Fatal server error:
[   293.093] (EE) no screens found(EE) 
[   293.093] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[   293.093] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   293.093] (EE) 
[   293.120] (EE) Server terminated with error (1). Closing log file.

nvidia-detect zwraca:

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f15] (rev a1)

Checking card:  NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla drivers series.
Your card is also supported by the Tesla 470 drivers series.
It is recommended to install the
    nvidia-driver
package.

Oczywiście zgodnie z sugestią próbuję zainstalować ale już jest w najnowszej wersji

Co robię źle?

EDIT:
Wykonałem:

sudo service lightdm stop
sudo X -configure

Podmieniłem konfigurację i ruszyło. Udało się uruchomić Plasmę choć myślę, że obecna konfiguracja też pozostawia wiele do życzenia

Kod:

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     "built-ins"
EndSection

Section "Module"
        Load  "glx"
        Load  "glxserver_nvidia"
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",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "CustomEDID"                # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "HWRotation"                # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "BufferCache"               # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        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",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "WrappedFB"                 # [<bool>]
        #Option     "GLXVBlank"                 # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapLimit"                 # <i>
        #Option     "AsyncUTSDFS"               # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "DRI"                       # <i>
        Identifier  "Card1"
        Driver      "nouveau"
        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

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

Ostatnio edytowany przez wachcio (2023-11-12 18:34:00)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)