Re: laptop stopped getting to desktop after latest updates [RESOLVED]

2023-05-27 Thread Gary Dale

On 2023-05-19 23:32, Gary Dale wrote:
I'm running Debian/Bookworm on an ASUS FA506IC laptop. It's got an AMD 
Ryzen processor but an NVidia graphics card that provides me with 
great evidence for why I had previously avoided NVidia cards. I'm 
running Bookworm because I couldn't get it work on Bullseye.


It'd been running OK with the proprietary drivers (but not the 
Nouveau) until earlier today. I don't use it very often so it was 
probably a few weeks since I last updated it. I had trouble the 
previous time I'd updated it too, but that was the move to the 
non-free-firmware section that messed it up. Once I added the new 
section to the sources, things worked again.


The symptoms I'm getting are the same as what it used to display when 
I tried to use sddm to start the desktop. Gdm3 and lightdm both worked 
in the past but now I'm getting the same symptom with all of them - a 
blank screen with a cursor flashing in the top-left corner. At that 
point I can't even bring up a text console, but I can reboot 
(ctrl-alt-del still works).


I can boot to a recovery mode and start the network, but not sure how 
to track this down. Removing and reinstalling the NVidia driver didn't 
help. Trying to start the desktop without the NVidia driver (and 
firmware) installed also didn't work. I still get the system booting 
to a blank screen with a flashing cursor in the top let corner.


Any ideas?

Thanks.

I got some time this afternoon to play around with the system. My first 
effort was to go back to Debian/Bullseye (11.7) and do a fresh install. 
Surprisingly, it worked this time. I could boot into Gnome without 
problems. However I had no wifi. Changing to sddm however led to failure 
to reach a login screen. Installing lightdm let me select Plasma 5 
however. This is all with the Nouveau drivers.


However the wifi issue needed to be resolved. It turns out there are 
working (non-free) drivers available but they require a more recent 
kernel. I added bullseye-backports and installed the newer kernel and 
firmware-misc-non-free. This led to a failure to reach a login screen 
(in fact, the boot appears to hang after producing about 4 lines of 
output but booting to recovery mode let me see that it failed loading 
the Nouveau drivers).


Installing the nvidia-driver allowed the system to reach a graphical 
login but the system was not very stable. The difference in kernel 
versions was giving me a lot of errors so I tried to upgrade completely 
to Bookworm. That got me back to the point I was at when I first posted 
my original problem. I couldn't get to a working graphical login.


This led me back to the Debian site to download the latest Bookworm 
installer. The RC3 netinst is problematic - it didn't recognize my /home 
partition as formatted and ended up wiping it out. And when I rebooted 
into the installed system, it left me at a grub prompt. But when I 
rebooted and selected the boot partition manually through the BIOS, I 
was able to boot into the system. I ran update-grub and it's now booting 
properly.


Surprisingly, I was even able to switch to sddm and get into Plasma 5 
(Wayland!), all while using the Nouveau drivers. And wifi just worked!




Re: laptop stopped getting to desktop after latest updates

2023-05-22 Thread Gary Dale




Share with the Debian community
the X server logs  of "Debian" and "systemrescuecd".


Groeten
Geert Stappers


First is the log from a session that failed. Below is a log from a 
previous session that worked. Sorry, didn't get one from a 
systemrescuecd session - I thought I'd copied it to a network share but 
now I can't find it...



[    15.585]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    15.585] Current Operating System: Linux Aspect23 6.1.0-9-amd64 #1 
SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64
[    15.585] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-9-amd64 
root=UUID=9562e6ee-0942-46a6-abdd-2e3a1a3a80bb ro quiet

[    15.585] xorg-server 2:21.1.7-3 (https://www.debian.org/support)
[    15.585] Current version of pixman: 0.42.2
[    15.585]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    15.585] Markers: (--) probed, (**) from config file, (==) default 
setting,

    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.585] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 22 
12:43:47 2023

[    15.585] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.585] (==) No Layout section.  Using the first Screen section.
[    15.585] (==) No screen section available. Using defaults.
[    15.585] (**) |-->Screen "Default Screen Section" (0)
[    15.585] (**) |   |-->Monitor ""
[    15.585] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    15.585] (==) Automatically adding devices
[    15.585] (==) Automatically enabling devices
[    15.585] (==) Automatically adding GPU devices
[    15.585] (==) Automatically binding GPU devices
[    15.585] (==) Max clients allowed: 256, resource mask: 0x1f
[    15.585] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not 
exist.

[    15.585]     Entry deleted from font path.
[    15.585] (==) 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
[    15.585] (==) ModulePath set to "/usr/lib/xorg/modules"
[    15.585] (II) The server relies on udev to provide the list of input 
devices.
    If no devices become available, reconfigure udev or disable 
AutoAddDevices.

[    15.585] (II) Loader magic: 0x55b923332f00
[    15.585] (II) Module ABI versions:
[    15.585]     X.Org ANSI C Emulation: 0.4
[    15.585]     X.Org Video Driver: 25.2
[    15.585]     X.Org XInput driver : 24.4
[    15.585]     X.Org Server Extension : 10.0
[    15.586] (++) using VT number 7

[    15.586] (II) systemd-logind: logind integration requires -keeptty 
and -keeptty was not provided, disabling logind integration

[    15.586] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.586] (II) Platform probe for 
/sys/devices/pci:00/:00:01.1/:01:00.0/drm/card0
[    15.589] (--) PCI: (1@0:0:0) 10de:25a2:1043:16ad rev 161, Mem @ 
0xfb00/16777216, 0xfe/4294967296, 0xff/33554432, I/O 
@ 0xf000/128, BIOS @ 0x/524288
[    15.589] (--) PCI:*(6@0:0:0) 1002:1636:1043:16ad rev 198, Mem @ 
0xff1000/268435456, 0xff2000/2097152, 0xfc50/524288, I/O @ 
0xd000/256

[    15.589] (II) LoadModule: "glx"
[    15.589] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.590] (II) Module glx: vendor="X.Org Foundation"
[    15.590]     compiled for 1.21.1.7, module version = 1.0.0
[    15.590]     ABI class: X.Org Server Extension, version 10.0
[    15.590] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    15.590]     loading driver: nvidia
[    15.712] (==) Matched nvidia as autoconfigured driver 0
[    15.712] (==) Matched nouveau as autoconfigured driver 1
[    15.712] (==) Matched nv as autoconfigured driver 2
[    15.712] (==) Matched ati as autoconfigured driver 3
[    15.712] (==) Matched modesetting as autoconfigured driver 4
[    15.712] (==) Matched fbdev as autoconfigured driver 5
[    15.712] (==) Matched vesa as autoconfigured driver 6
[    15.712] (==) Assigned the driver to the xf86ConfigLayout
[    15.712] (II) LoadModule: "nvidia"
[    15.712] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    15.713] (II) Module nvidia: vendor="NVIDIA Corporation"
[    15.713]     compiled for 1.6.99.901, module version = 1.0.0
[    15.713]     Module class: X.Org Video Driver
[    15.713] (II) LoadModule: "nouveau"
[    15.713] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    15.713] (II) Module nouveau: vendor="X.Org Foundation"
[    15.713]     compiled for 1.21.1.3, module version = 1.0.17
[    15.713]     Module class: X.Org Video Driver
[    15.713]     ABI class: X.Org Video Driver, version 25.2
[    15.713] (II) LoadModule: "nv"
[    15.713] 

Re: laptop stopped getting to desktop after latest updates

2023-05-22 Thread Timothy M Butterworth
On Mon, May 22, 2023 at 12:36 AM  wrote:

> On Sun, May 21, 2023 at 03:16:56PM -0400, Gary Dale wrote:
>
> [...]
>
> > I purged lightdm, rebooted and re-installed it but got the same errors.
> >
> > I don't believe this is a problem with lightdm because it is also
> happening
> > with gdm3 and sddm [...]
>
> Right: most probably it is the X server failing. The display manager
> (whichever one) will try to talk to X and fail consequently.
>
> Cheers
> --
> t
>

Try switching to terminal 2 `Ctrl, Alt amd F2` login as root and run startx
and see what messages you receive.
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: laptop stopped getting to desktop after latest updates

2023-05-21 Thread tomas
On Sun, May 21, 2023 at 03:16:56PM -0400, Gary Dale wrote:

[...]

> I purged lightdm, rebooted and re-installed it but got the same errors.
> 
> I don't believe this is a problem with lightdm because it is also happening
> with gdm3 and sddm [...]

Right: most probably it is the X server failing. The display manager
(whichever one) will try to talk to X and fail consequently.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: laptop stopped getting to desktop after latest updates

2023-05-21 Thread Geert Stappers
On Sun, May 21, 2023 at 03:16:56PM -0400, Gary Dale wrote:
> On 2023-05-19 23:32, Gary Dale wrote:
> > I'm running Debian/Bookworm on an ASUS FA506IC laptop. It's got an AMD
> > Ryzen processor but an NVidia graphics card that provides me with great
> > evidence for why I had previously avoided NVidia cards. I'm running
> > Bookworm because I couldn't get it work on Bullseye.
> > 
> > It'd been running OK with the proprietary drivers (but not the Nouveau)
> > until earlier today. I don't use it very often so it was probably a few
> > weeks since I last updated it. I had trouble the previous time I'd
> > updated it too, but that was the move to the non-free-firmware section
> > that messed it up. Once I added the new section to the sources, things
> > worked again.
> > 
> > The symptoms I'm getting are the same as what it used to display when I
> > tried to use sddm to start the desktop. Gdm3 and lightdm both worked in
> > the past but now I'm getting the same symptom with all of them - a blank
> > screen with a cursor flashing in the top-left corner. At that point I
> > can't even bring up a text console, but I can reboot (ctrl-alt-del still
> > works).
> > 
> > I can boot to a recovery mode and start the network, but not sure how to
> > track this down. Removing and reinstalling the NVidia driver didn't
> > help. Trying to start the desktop without the NVidia driver (and
> > firmware) installed also didn't work. I still get the system booting to
> > a blank screen with a flashing cursor in the top let corner.
> > 
> > Any ideas?

Yes,


> Further to above, I purged the nVidia drivers then noticed that there was
> still some nVidia stuff left (e.g. nvidia-persistence) so I did a further
> purge. When I rebooted, the system stalled initially after a couple of ACPI
> errors (there were only those lines on the screen - it was barely starting)
> but a ctrl-alt-del later and it got all the way to starting the nouveau
> drivers before stalling.
> 
> I reinstalled the nVidia drivers and was back to the same problem. Rebooting
> to recovery mode and checking the journal for the previous boot, there were
> a string of errors relating to lightdm failing to start, followed by retry
> and the same error.
> 
> I purged lightdm, rebooted and re-installed it but got the same errors.
> 
> I don't believe this is a problem with lightdm because it is also happening
> with gdm3 and sddm. The only difference is that its been happening with sddm
> since I got the laptop last November whereas the problem with lightdm and
> gdm3 is much more recent.
> 
> I can run the system with the Nouveau drivers when booting from
> systemrescuecd (a couple of recent versions, including 10.0), so this is a
> Debian issue.

Share with the Debian community
the X server logs  of "Debian" and "systemrescuecd".


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: laptop stopped getting to desktop after latest updates

2023-05-21 Thread Gary Dale

On 2023-05-19 23:32, Gary Dale wrote:
I'm running Debian/Bookworm on an ASUS FA506IC laptop. It's got an AMD 
Ryzen processor but an NVidia graphics card that provides me with 
great evidence for why I had previously avoided NVidia cards. I'm 
running Bookworm because I couldn't get it work on Bullseye.


It'd been running OK with the proprietary drivers (but not the 
Nouveau) until earlier today. I don't use it very often so it was 
probably a few weeks since I last updated it. I had trouble the 
previous time I'd updated it too, but that was the move to the 
non-free-firmware section that messed it up. Once I added the new 
section to the sources, things worked again.


The symptoms I'm getting are the same as what it used to display when 
I tried to use sddm to start the desktop. Gdm3 and lightdm both worked 
in the past but now I'm getting the same symptom with all of them - a 
blank screen with a cursor flashing in the top-left corner. At that 
point I can't even bring up a text console, but I can reboot 
(ctrl-alt-del still works).


I can boot to a recovery mode and start the network, but not sure how 
to track this down. Removing and reinstalling the NVidia driver didn't 
help. Trying to start the desktop without the NVidia driver (and 
firmware) installed also didn't work. I still get the system booting 
to a blank screen with a flashing cursor in the top let corner.


Any ideas?

Thanks.

Further to above, I purged the nVidia drivers then noticed that there 
was still some nVidia stuff left (e.g. nvidia-persistence) so I did a 
further purge. When I rebooted, the system stalled initially after a 
couple of ACPI errors (there were only those lines on the screen - it 
was barely starting) but a ctrl-alt-del later and it got all the way to 
starting the nouveau drivers before stalling.


I reinstalled the nVidia drivers and was back to the same problem. 
Rebooting to recovery mode and checking the journal for the previous 
boot, there were a string of errors relating to lightdm failing to 
start, followed by retry and the same error.


I purged lightdm, rebooted and re-installed it but got the same errors.

I don't believe this is a problem with lightdm because it is also 
happening with gdm3 and sddm. The only difference is that its been 
happening with sddm since I got the laptop last November whereas the 
problem with lightdm and gdm3 is much more recent.


I can run the system with the Nouveau drivers when booting from 
systemrescuecd (a couple of recent versions, including 10.0), so this is 
a Debian issue.




laptop stopped getting to desktop after latest updates

2023-05-19 Thread Gary Dale
I'm running Debian/Bookworm on an ASUS FA506IC laptop. It's got an AMD 
Ryzen processor but an NVidia graphics card that provides me with great 
evidence for why I had previously avoided NVidia cards. I'm running 
Bookworm because I couldn't get it work on Bullseye.


It'd been running OK with the proprietary drivers (but not the Nouveau) 
until earlier today. I don't use it very often so it was probably a few 
weeks since I last updated it. I had trouble the previous time I'd 
updated it too, but that was the move to the non-free-firmware section 
that messed it up. Once I added the new section to the sources, things 
worked again.


The symptoms I'm getting are the same as what it used to display when I 
tried to use sddm to start the desktop. Gdm3 and lightdm both worked in 
the past but now I'm getting the same symptom with all of them - a blank 
screen with a cursor flashing in the top-left corner. At that point I 
can't even bring up a text console, but I can reboot (ctrl-alt-del still 
works).


I can boot to a recovery mode and start the network, but not sure how to 
track this down. Removing and reinstalling the NVidia driver didn't 
help. Trying to start the desktop without the NVidia driver (and 
firmware) installed also didn't work. I still get the system booting to 
a blank screen with a flashing cursor in the top let corner.


Any ideas?

Thanks.