Xorg broken after update

If none of the more specific forums is the right place to ask

Xorg broken after update

Postby Sante » 2019-11-13 20:55

Hello, first off I don't need support, I just rsync'ed a system snapshot so I'm fine. But the last time I upgraded my packages via discover Xorg broke , so no GUI. Tried in vain reinstalling-reconfiguring everything xorg - related and the video drivers but no dice. So you all may want to be careful about the latest package upgrades, at least using discover to deploy them. My debian is no frankendebian btw, it's a clean and fresh buster configuration.


106 packages were marked for installation:
Code: Select all
 base-files chromium chromium-common chromium-sandbox distro-info-data fonts-noto-cjk fonts-noto-cjk-extra fonts-opensymbol
  gir1.2-javascriptcoregtk-4.0 gir1.2-nm-1.0 gir1.2-webkit2-4.0 libfribidi-dev libfribidi0 libfribidi0:i386 libglib2.0-0
  libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libglib2.0-doc libjavascriptcoregtk-4.0-18
  libmariadb3 libncurses-dev libncurses6 libncurses6:i386 libncursesw6 libnm0 libnss-myhostname libnss-systemd libpam-systemd
  libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libreoffice libreoffice-avmedia-backend-gstreamer
  libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core
  libreoffice-draw libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-kde5
  libreoffice-l10n-it libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-report-builder
  libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js
  libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql
  libreoffice-style-breeze libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer
  libsystemd0 libsystemd0:i386 libtinfo-dev libtinfo6 libtinfo6:i386 libudev1 libudev1:i386 libwebkit2gtk-4.0-37 libxslt1.1
  libxslt1.1:i386 linux-compiler-gcc-8-x86 linux-headers-4.19.0-6-amd64 linux-headers-4.19.0-6-common linux-image-4.19.0-6-amd64
  linux-kbuild-4.19 linux-libc-dev mariadb-client-core-10.3 mariadb-common mariadb-server-core-10.3 ncurses-base ncurses-bin
  ncurses-term network-manager python-cryptography python2.7 python2.7-dev python2.7-minimal python3-cryptography python3-uno
  qemu-kvm qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils systemd systemd-sysv udev uno-libs3
  ure


Always be praised Our Lord of backups, have a nice time
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby Head_on_a_Stick » 2019-11-16 19:34

*cough*pebkac*cough*
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Xorg broken after update

Postby Sante » 2019-11-21 03:48

actually it was a couch. so it's just my fault for relying on the gui package manager ?
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby stevepusser » 2019-11-21 18:47

It probably wasn't due to Discover, but since it seems to be a graphics driver problem, and since we have no information about your hardware and driver situation before the update, we can't say anything one way or another.

But since no one else has reported similar problems here, that argues for the problem being on your end. :(
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.5, Blender 2.8.2, 5.5 kernels, Openshot 2.5.0, Telegram-desktop 1.9.14, LibreOffice 6.4.1~rc1
User avatar
stevepusser
 
Posts: 11458
Joined: 2009-10-06 05:53

Re: Xorg broken after update

Postby Head_on_a_Stick » 2019-11-23 12:02

Sante wrote:actually it was a couch.

Heathen slob! :x

Sante wrote:so it's just my fault for relying on the gui package manager ?

Yes. At least the command line would have given decent error messages. And as Steve notes nobody else is complaining about this.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Xorg broken after update

Postby Sante » 2019-11-27 04:19

It probably wasn't due to Discover, but since it seems to be a graphics driver problem, and since we have no information about your hardware and driver situation before the update, we can't say anything one way or another.


Very right. It's a core i7-7700 system, MSI board (H110M Pro-VH) with integrated intel graphics. 8 GB system ram.
BTW I attempted to upgrade via the tty and got no errors. Rebooting, again no gui, on a bare text tty, so I had to restore the system. It is a debian 10 clean install and so far upgrading packages didn't cause anything to break. graphics driver i915 is in use.
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby Head_on_a_Stick » 2019-11-28 16:38

Do you still have the X.Org logs for the failed sessions? They usually show exactly what happened.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Xorg broken after update

Postby Sante » 2019-12-24 14:18

Ok so I recreated the situation. Trouble starts from the 4.19.0-6-amd64 kernel packages (all the other packages don't break the system), and looking at Xorg log files this emerges:

Code: Select all
 [  4426.779] (EE) Failed to open authorization file "/var/run/sddm/{b02fe017-788c-41dc-ad62-f6be34c0a09b}": No such file or directory


while in fact there is a file with a different name in there.

According to systemctl sddm is running, only the X terminal is nowhere to be seen among the TTYs.
Attempted to stop and restart, to no success.


I found a bug that looks similar

Debian Bug report logs - #930622 (xserver-xorg-video-intel: sddm doesn't start. (EE) Failed to open authorization file)

And a Merry Christmas and a Happy New Year to Ya'all folks.
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby Sante » 2020-01-30 15:52

Still battling with the usual problem, I disabled the sole extra repository I added (buster-proposed-updates) to see if that was the reason but again, no dice. I'm considering restoring an old root backup to see if this cures the inability to update the kernel image without nuking the graphics driver in a way that defies any re-installation and reconfiguration attempt but still no clue about why all this is my fault, all my fault. BTW it appears by the SMART mails that the brand new SSD I had replaced by the seller is going south like its predecessor, which makes me think that maybe, and I stress maybe, all I need is just to buy a new SDD. Any other point of view is more than welcome.
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby Head_on_a_Stick » 2020-01-30 16:03

Sante wrote:the inability to update the kernel image without nuking the graphics driver

If you're using proprietary drivers then I will be rather annoyed. Name calling is on the table here.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Xorg broken after update

Postby CwF » 2020-01-30 16:20

Sante wrote:all I need is just to buy a new SDD

possible, I have seen an issue like this once, multiple times, but on one particular board/cable/ssd. The disc would go read only under stress, like a many package update, and quietly fail to read only during the upgrade, bork the completion and leave the system in a curious state rebooting to a prompt.
Always fixable, it took awhile to figure it out until I couldn't save a document since the file system had gone read only, with no other errors to obsfuscate the issue. No crash, just a semi-controlled shutdown, and the disk disappeared...then it came back, I replaced it. It still claims to be good. Maybe the board, never knew for sure, attrition fixed it.
CwF
 
Posts: 568
Joined: 2018-06-20 15:16

Re: Xorg broken after update

Postby Sante » 2020-02-05 20:02

Head_on_a_Stick wrote:
Sante wrote:the inability to update the kernel image without nuking the graphics driver

If you're using proprietary drivers then I will be rather annoyed. Name calling is on the table here.

Um no, I'm using the inbuilt intel graphics now, no longer under the thrall of NVidia :) The old graphic adapter now does close to nothing on a FreeBSD box.
Sante
 
Posts: 17
Joined: 2018-12-09 04:17

Re: Xorg broken after update

Postby Sante » 2020-02-05 20:24

CwF wrote:
Sante wrote:all I need is just to buy a new SDD

possible, I have seen an issue like this once, multiple times, but on one particular board/cable/ssd. The disc would go read only under stress, like a many package update, and quietly fail to read only during the upgrade, bork the completion and leave the system in a curious state rebooting to a prompt.
...

Just ordered a new high quality SSD drive to replace the rotten one (S3+) which in the meantime showed on logs that it had gone read only in several occasions while upgrading packages, guess doing what? Yep, borking up the process mighty fine. I managed to witness this condition once, couldn't even touch a file as root because / had been remounted RO. Also pending and unreadable sector counts just took a steep hike lately so I reckon it is about time to stop dancing around this issue (no biggie anyway, I've backups too). A clean buster install will follow so this is pretty much the end of it. This particular PC is my own private F-35
Sante
 
Posts: 17
Joined: 2018-12-09 04:17


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable