Problems after updating libgjs0g 1.76.0-3 > 1.76.2.1~ubuntu23.04.1

Asked by Jonathan Gibbs

Each time I allow this update, it breaks my system.
System will no longer boot to GUI, only black screen.
I don't even get a prompt, I must switch to another TTY

It also breaks my nvidia 535 driver.
I have to then boot to recovery mode, re install or switch graphics drivers before I'm able to get back into the GUI.
The update itself never seems to complete properly because after fixing the graphics driver back to my preferred one, it will ask me to update libgjs0g and gjs the next day, which breaks it all over again.

What should happen is that it should just reboot, complete the update and not break my graphics driver which requires me to trouble shoot and fix it.

Edited to fix error. nvidia 535 not 335.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gjs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#3

Open Terminal [ctl+alt+t] :
lsb_release -a; uname -a; dpkg -l | grep ' linux-i'

Please paste output here for diagnostic purposes.

https://packages.ubuntu.com/lunar/libgjs0g

Revision history for this message
Jonathan Gibbs (inviktus) said (last edit ):
#4

Ok will do.
Granted I am no linux pro, but I'm confused as to why a gnome javascript package would break my install like this, prevent booting and also disrupt my graphics driver.
ALSO I goofed, it's nvidia proprietary 535 not 355. my bad.

This is the output:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
Linux inviktoffice 6.2.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 17:05:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
ii linux-image-5.15.0-1029-oracle 5.15.0-1029.35 amd64 Signed kernel image oracle
rc linux-image-5.15.0-43-generic 5.15.0-43.46 amd64 Signed kernel image generic
ii linux-image-5.15.0-60-generic 5.15.0-60.66 amd64 Signed kernel image generic
rc linux-image-5.15.0-67-generic 5.15.0-67.74 amd64 Signed kernel image generic
rc linux-image-5.15.0-69-generic 5.15.0-69.76 amd64 Signed kernel image generic
rc linux-image-5.15.0-70-generic 5.15.0-70.77 amd64 Signed kernel image generic
rc linux-image-5.15.0-71-generic 5.15.0-71.78 amd64 Signed kernel image generic
rc linux-image-5.15.0-72-generic 5.15.0-72.79 amd64 Signed kernel image generic
rc linux-image-5.19.0-43-generic 5.19.0-43.44 amd64 Signed kernel image generic
rc linux-image-6.2.0-20-generic 6.2.0-20.20 amd64 Signed kernel image generic
rc linux-image-6.2.0-23-generic 6.2.0-23.23 amd64 Signed kernel image generic
ii linux-image-6.2.0-24-generic 6.2.0-24.24 amd64 Signed kernel image generic
ii linux-image-6.2.0-25-generic 6.2.0-25.25 amd64 Signed kernel image generic
ii linux-image-generic

Revision history for this message
Bernard Stafford (bernard010) said :
#5

Could be due to Nvidia not working with Wayland.
Logout - click the password input -
look to the right bottom corner of screen for a 'Gear' - Click
Change to X-org on Ubuntu.
Login - This may help.

Terminal:
echo $XDG_SESSION_TYPE
Shows the session type X-11 or Wayland.

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#6

Terminal:
lspci -v
check video and pci with controllers

Please paste output here for diagnostic purposes.
Re-open question after your done.

Revision history for this message
Jonathan Gibbs (inviktus) said :
#7

I'm not using Wayland, it's still not working good with Nvidia.

inviktus@inviktoffice:~$ echo $XDG_SESSION_TYPE
x11

output from lspci -v:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 6th-10th Gen Core Processor PCIe Controller (x16)
        Flags: bus master, fast devsel, latency 0, IRQ 120
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: e000-efff [size=4K] [16-bit]
        Memory behind bridge: de000000-df0fffff [size=17M] [32-bit]
        Prefetchable memory behind bridge: c0000000-d1ffffff [size=288M] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Flags: fast devsel, IRQ 11
        Memory at df52f000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller (prog-if 30 [XHCI])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 127
        Memory at df510000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH Thermal Subsystem
        Flags: fast devsel, IRQ 11
        Memory at df52e000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH CSME HECI
        Flags: bus master, fast devsel, latency 0, IRQ 154
        Memory at df52d000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode] (prog-if 01 [AHCI 1.0])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH SATA controller [AHCI mode]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 126
        Memory at df528000 (32-bit, non-prefetchable) [size=8K]
        Memory at df52c000 (32-bit, non-prefetchable) [size=256]
        I/O ports at f050 [size=8]
        I/O ports at f040 [size=4]
        I/O ports at f020 [size=32]
        Memory at df52b000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port
        Flags: bus master, fast devsel, latency 0, IRQ 121
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #4 (rev f0) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port
        Flags: bus master, fast devsel, latency 0, IRQ 122
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: d000-dfff [size=4K] [16-bit]
        Memory behind bridge: df400000-df4fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: df300000-df3fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port
        Flags: bus master, fast devsel, latency 0, IRQ 124
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: df200000-df2fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port
        Flags: bus master, fast devsel, latency 0, IRQ 125
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: [disabled] [16-bit]
        Memory behind bridge: df100000-df1fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (Z270)
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH LPC Controller (Z270)
        Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family Power Management Controller
        Flags: fast devsel
        Memory at df524000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH HD Audio
        Flags: bus master, fast devsel, latency 32, IRQ 155
        Memory at df520000 (64-bit, non-prefetchable) [size=16K]
        Memory at df500000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_avs

00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
        Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family SMBus Controller
        Flags: medium devsel, IRQ 16
        Memory at df52a000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f000 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP104 [GeForce GTX 1080]
        Flags: bus master, fast devsel, latency 0, IRQ 153
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP104 High Definition Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at df080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

03:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Killer E2500 Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at df400000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at d000 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: alx
        Kernel modules: alx

04:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller (prog-if 30 [XHCI])
        Subsystem: Micro-Star International Co., Ltd. [MSI] ASM2142/ASM3142 USB 3.1 Host Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at df300000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

05:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller (prog-if 30 [XHCI])
        Subsystem: Micro-Star International Co., Ltd. [MSI] ASM2142/ASM3142 USB 3.1 Host Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at df200000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

06:00.0 Non-Volatile memory controller: Intel Corporation SSD 600P Series (rev 03) (prog-if 02 [NVM Express])
        Subsystem: Intel Corporation SSDPEKKW256G7 256GB
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
        Memory at df100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

Revision history for this message
Bernard Stafford (bernard010) said :
#8

Was libgjs0g 1.76.0-3 > 1.76.2.1~ubuntu23.04.1 package auto-installed from repository ?
[during regular updates]

If it is breaking the Nvidia driver I suggest to uninstall the package.
The easiest way to correct everything is to use synaptic package manager.
Ubuntu Software - click search box [top left] - type: synaptic - click [install]
https://itsfoss.com/synaptic-package-manager/
Open synaptic - password - Click mark all upgrades - Click Reload -
Click Edit - click Fix Broken Packages - Apply
At the bottom of the screen will show status of packages.

Revision history for this message
Jonathan Gibbs (inviktus) said (last edit ):
#9

Yes the package is coming through auto updates, though I still need to authorise the install of course.
I'm just not letting it install now. I don't know how to prevent it coming through the auto updates.
I'm using KDE so it's coming through discover.

Ahh I see, this synaptic package manager will allow me to prevent the system from installing this update?! nice, thank you.
Or perhaps, resolve whatever conflict is going on and repair the broken package.

Thank you I will mess around and find out I suppose. Your help is appreciated Bernard.

I'll mark this resolved once I successfully apply your advice.

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#10

I hope that Synaptic resolves the problem.
I wound up having to use the Ubuntu Linux video driver instead of NVIDIA 64bit Linux driver.

https://www.nvidia.com/Download/index.aspx?lang=en-us

Revision history for this message
Jonathan Gibbs (inviktus) said :
#11

Interesting. I might post this as a bug report.. I don't understand why a javascript package would interfere with my nvidia driver like that, or why it prevents booting. perhaps the cause of both issues is one and the same, something to do with the javascript package.

Thank you for all the links. I'll have to keep these in my notes, somehow I never seem to be able to find these things by myself ^_^
I may try the Ubuntu Linux driver too.

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#12

Some how I do not think this is a bug report for Ubuntu.
Perhaps it is time for us to make a bug report to NVIDIA !
Are they complicated, https://docs.nvidia.com/deploy/gpu-debug-guidelines/index.html
Just a comment. I have a similar problem with NVIDIA driver for Linux.
https://www.nvidia.com/en-us/support/ ..? Your guess as good as mine. Mine is: Page tearing and jittering graphics.

https://www.nvidia.com/en-us/support/
https://nvid.nvidia.com/siteminderagent/forms/login.fcc?TYPE=33554433&REALMOID=06-b3afa002-10b5-418f-9162-edbdeddf0835&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=-SM-EyAX6g1fV0wn4IX3XH4mNYxuJ3UTi99zfTBnp%2fBkDk3E87Q3zIa1TSyeLQpDnW5%2f&TARGET=-SM-http%3a%2f%2fnvid%2envidia%2ecom%2fdashboard%2f#/dashboard
NVIDIA APPLICATION HUB LOGIN

Revision history for this message
Jonathan Gibbs (inviktus) said :
#13

I don't know enough to really say one way or the other. At the very least I would think reporting it as a bug with ubuntu might get it looked at and give us a better idea where the problem lay?

I'll check out the nvidia page and make a report there also.

Interesting about the page/screen tearing. I get that too. It's awful.
I also had an issue where trying to use HDMI + DVI would blank both screens. I wanted to have dual monitors and both would be disabled if I enabled the two of them. It's been fixed now apparently as it's working fine.

I do know that nvidia's support of linux is awful, so would make sense that the issue is with their drivers.

Your input is really appreciated, thanks Bernard!

Can you help with this problem?

Provide an answer of your own, or ask Jonathan Gibbs for more information if necessary.

To post a message you must log in.