Page 1 of 1
Can't get past login - Nvidia Driver update
Posted: Fri Sep 02, 2022 8:09 am
by prism-probe
I am currently running MX-19 AHS on an older custom build i7 desktop machine with Nvidia GeForce GTX 950 GPU, attached to a 4K TV, usually set to 1080p resolution via linux display settings. Been running flawlessly for well over a year. This machine was running without an internet connection since at least June; we use if for playing offline video games (emulation and the sort). I finally went ahead and bought a wifi dongle and ran the MX Package Updater. Many things were updated, including the graphics driver. When I rebooted immediately after, my max resolution was set to 1024 x 768, so I tried running the Nvidia Driver utility a few times until I realized my GPU probably won't work with 510 driver.
I used the code
to reset the graphics driver and eventually had my desktop back up and running at 2160p, but I then opened the "Display" utility to change from 4K resolution to 1920x1080, and suddenly my display disappeared, as if I had disconnected my TV. Now every time I reboot the computer I can see and get to the login screen, but as soon as I login, blank...
I do have access to the terminal using the Ctrl+Alt+F1 shortcut, so:
1 - Is there a way for me to reset the display resolution via command line so I can see the GUI again?
2 - When and if I manage to get my display working, is there a way for me to revert from 510 driver to 470 (and disable AHS repo)?
Thanks for any help
Re: Can't get past login - Nvidia Driver update
Posted: Fri Sep 02, 2022 9:58 am
by Huckleberry Finn
prism-probe wrote: Fri Sep 02, 2022 8:09 am... 1 - Is there a way for me to reset the display resolution via command line so I can see the GUI again?..
Code: Select all
rm .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
(They'll have reverted to defaults at first login)
... Just while you're at it:
(it may say "no such file or directory" for the latter, no harm)
You can do all when you Ctrl+Alt+F1 and login manually, then either
sudo reboot or Ctrl+Alt+F7
prism-probe wrote: Fri Sep 02, 2022 8:09 am...2 - When and if I manage to get my display working, is there a way for me to revert from 510 driver to 470 (and disable AHS repo)?
Yes. "MX Repo Manager", last tab, uncheck the one that ends with ahs. Then "Nvidia Driver Installer" ...
Or, if you still can't access the desktop:
Again, while you're manually logged in (as above):
Code: Select all
sudo nano /etc/apt/sources.list.d/mx.list
Comment out the line
deb http://mxrepo.com/mx/repo/ bullseye ahs
Save , close
(Assuming you have internet connection)
__________________________________________
But: Don't forget to check first whether your partitions got full, sometimes that's the culprit:
Re: Can't get past login - Nvidia Driver update
Posted: Fri Sep 02, 2022 7:48 pm
by prism-probe
Thank you so much! I am back in my machine's gui with proper resolution, but I need to reinstall the Proprietary Drivers and I can't seem to get it done with the "
Nvidia Driver Installer". Whenever I try to install either option of drivers (
418 or 470), I get this message:
Code: Select all
Refreshing Sources with apt-get update
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
Hit:1 http://deb.debian.org/debian buster-updates InRelease
Hit:2 http://mirror.its.dal.ca/mxlinux/mx/repo buster InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 http://deb.debian.org/debian-security buster/updates InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 http://linux.teamviewer.com/deb stable InRelease
Hit:8 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:9 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:10 https://repo.protonvpn.com/debian stable InRelease
Hit:11 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:12 http://repository.spotify.com stable InRelease
Get:13 https://pkgs.tailscale.com/stable/debian buster InRelease
Hit:14 https://apt.syncthing.net syncthing InRelease
Fetched 5,543 B in 2s (2,810 B/s)
Reading package lists... Done
Candidate is: nvidia-driver 418.211.00-1
Installed is: nvidia-driver (none)
Would you like to check MX Test Repo for a later version?
1) yes
2) no (default)
Press <Enter> for the default entry
Use 'q' to quit
Ok...
Need driver: nvidia-driver 418.211.00-1
packages to install are nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
Frontend:
Nvidia command = apt-get install --install-recommends --reinstall -y nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Reading package lists...
Building dependency tree...
Reading state information...
Reinstallation of linux-headers-5.10.0-5mx-amd64 is not possible, it cannot be downloaded.
The following packages were automatically installed and are no longer required:
glx-alternative-mesa glx-diversions nvidia-installer-cleanup update-glx
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/7,576 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 380354 files and directories currently installed.) (Reading database ...
Preparing to unpack .../build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) over (12.6) ...
Setting up build-essential (12.6) ...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-settings : Depends: libxnvctrl0 (= 418.74-1) but 510.85.02-1~mx19+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Finished
I feel like I deeply screwed something up with the 510 driver install. Any way around this, maybe some files I need to reset or delete?
Re: Can't get past login - Nvidia Driver update
Posted: Fri Sep 02, 2022 8:01 pm
by Huckleberry Finn
prism-probe wrote: Fri Sep 02, 2022 7:48 pm... I am back in my machine's gui with proper resolution...
If you like, for a "clean job" :
As always: It's best to post "Quick System Info". Then we can see all without trying to guess. It looks like MX 19 with 5.10 and that may be the problem:
Code: Select all
Reinstallation of linux-headers-5.10.0-5mx-amd64 is not possible, it cannot be downloaded.
If you like try with 4.19 .
Re: Can't get past login - Nvidia Driver update
Posted: Fri Sep 02, 2022 9:26 pm
by dolphin_oracle
You can force a downgrade of the libxvcntl0 package in synaptic. A purge by ddm wound remove it because it’s a depend of conky. But it is safe to downgrade.
Re: Can't get past login - Nvidia Driver update
Posted: Sat Sep 03, 2022 8:38 am
by prism-probe
Huckleberry Finn wrote: Fri Sep 02, 2022 8:01 pm
prism-probe wrote: Fri Sep 02, 2022 7:48 pm... I am back in my machine's gui with proper resolution...
If you like, for a "clean job" :
As always: It's best to post "Quick System Info". Then we can see all without trying to guess. It looks like MX 19 with 5.10 and that may be the problem:
Code: Select all
Reinstallation of linux-headers-5.10.0-5mx-amd64 is not possible, it cannot be downloaded.
If you like try with 4.19 .
I did the purge but still gives me the same message of "held broken packages". How would I go about going back to 4.19 (kernel, I assume)?
Here is my system info:
Code: Select all
System: Kernel: 5.10.0-5mx-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-5mx-amd64
root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm 4.14.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-19.4_ahs_x64 patito feo March 31 2021
base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: BIOSTAR product: TH67+ v: 6.0 serial: <filter>
Mobo: BIOSTAR model: TH67+ v: 6.0 serial: <filter> BIOS: American Megatrends v: 4.6.4
date: 02/17/2011
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Solar Keyboard K750
serial: <filter> charge: 100% rechargeable: yes status: Full
CPU: Info: Quad Core model: Intel Core i7-2600K bits: 64 type: MT MCP arch: Sandy Bridge
family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54299
Speed: 1928 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 1928 2: 1792 3: 1713
4: 1732 5: 2101 6: 2172 7: 2217 8: 2858
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GM206 [GeForce GTX 950] vendor: eVga.com. driver: nouveau v: kernel
bus-ID: 01:00.0 chip-ID: 10de:1402 class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: xfwm4 v: 4.14.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: HDMI-1 res: 1920x1080 dpi: 61 size: 800x450mm (31.5x17.7")
diag: 918mm (36.1")
OpenGL: renderer: NV126 v: 4.3 Mesa 20.3.5 direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Biostar Microtech Intl Corp driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1c20 class-ID: 0403
Device-2: NVIDIA GM206 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fba class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-5mx-amd64 running: yes
Sound Server-2: JACK v: 1.9.12 running: no
Sound Server-3: PulseAudio v: 12.2 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel port: d000
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: NetGear type: USB driver: mt76x2u bus-ID: 4-2:2 chip-ID: 0846:9053
class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
IF-ID-1: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
Bluetooth: Device-1: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-1.3:3 chip-ID: 0cf3:3005 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0
sub-v: 9999 hci-v: 3.0 rev: 9999
Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff
link-mode: slave accept service-classes: rendering, capturing, object transfer
Drives: Local Storage: total: 465.76 GiB used: 339.37 GiB (72.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: <unknown> type: SSD
serial: <filter> rev: 2B6Q scheme: MBR
Partition: ID-1: / raw-size: 463.73 GiB size: 455.45 GiB (98.21%) used: 339.37 GiB (74.5%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors: System Temperatures: cpu: 41.0 C mobo: N/A gpu: nouveau temp: 29.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 350
Repos: Packages: 2645 note: see --pkg apt: 2628 lib: 1397 flatpak: 17
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.its.dal.ca/mxlinux/mx/repo/ buster main non-free
Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
Active apt repos in: /etc/apt/sources.list.d/plex-mx.list
1: deb https://downloads.plex.tv/repo/deb public main
No active apt repos in: /etc/apt/sources.list.d/plexmediaserver.list
Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb https://apt.syncthing.net/ syncthing stable
Active apt repos in: /etc/apt/sources.list.d/tailscale.list
1: deb https://pkgs.tailscale.com/stable/debian buster main
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb http://linux.teamviewer.com/deb stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info: Processes: 269 Uptime: 4m wakeups: 3 Memory: 15.62 GiB used: 1.8 GiB (11.5%)
Init: systemd v: 241 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0
alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in
inxi: 3.3.06
Re: Can't get past login - Nvidia Driver update
Posted: Sat Sep 03, 2022 9:23 am
by Huckleberry Finn
Yep, I mean the kernel. If you still have that installed, you can boot with it via "Advanced Options" in Grub.
Or (if not) you can install the "antiX 4.19" from "MX Package Installer" - "Popular Apps" tab. (then boot as above)
Re: Can't get past login - Nvidia Driver update
Posted: Sat Sep 03, 2022 6:30 pm
by prism-probe
I can't seem to crack this, unfortunately. No luck installing any nVidia drivers, even going back to the older kernels, gives the same message every time. Here are the kernels that were available; I activated the two that were available in Package Manager (4.9 + 5.8) and logged into each via Grub menu :
Code: Select all
$ dpkg --list | grep linux-image
ii linux-image-4.9.0-276-antix.1-amd64-smp 4.9.0-276-antix.1-amd64-smp-1 amd64 Linux kernel, version 4.9.0-276-antix.1-amd64-smp
ii linux-image-5.10.0-5mx-amd64-unsigned 5.10.26-1~mx19+1 amd64 Linux 5.10 for 64-bit PCs
ii linux-image-5.8.16-antix.1-amd64-smp 5.8.16-antix.1-amd64-smp-1 amd64 Linux kernel, version 5.8.16-antix.1-amd64-smp
Kernel 4.9 does not support my Netgear WiFi dongle either. Very odd. Am I stuck backing up and installing MX-21 from scratch?
Thanks for all your help so far...
Re: Can't get past login - Nvidia Driver update
Posted: Sat Sep 03, 2022 6:58 pm
by Huckleberry Finn
In fact, the message is correct: When I open MXPI on MX19.4 no such (5.10.0-5mx .. 5.10.26) kernel (hence headers). (Currently it is 5.10.136-1 ...)
Meanwhile, I notice just now that "antiX" 4.19 is available on MX21, not 19 , sorry for that. You can install the Debian 4.19 ...
But, if you like, first boot with any of those older ones, then remove that 5.10 (you can use "MX Cleanup" , Kernel Removal Tool below the window, just 2 clicks.. Or Synaptic ...)
Then try.
Re: Can't get past login - Nvidia Driver update
Posted: Sat Sep 03, 2022 9:50 pm
by prism-probe
Alright, I've got 4.19 kernel installed and the others removed. Here is the current system info:
Code: Select all
System: Kernel: 4.19.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-21-amd64
root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm 4.14.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-19.4_ahs_x64 patito feo March 31 2021
base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: BIOSTAR product: TH67+ v: 6.0 serial: <filter>
Mobo: BIOSTAR model: TH67+ v: 6.0 serial: <filter> BIOS: American Megatrends v: 4.6.4
date: 02/17/2011
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Solar Keyboard K750
serial: <filter> charge: 100% rechargeable: yes status: Full
CPU: Info: Quad Core model: Intel Core i7-2600K bits: 64 type: MT MCP arch: Sandy Bridge
family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54305
Speed: 1597 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 1597 2: 1597 3: 1597
4: 1597 5: 1597 6: 1597 7: 1597 8: 1597
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GM206 [GeForce GTX 950] vendor: eVga.com. driver: nouveau v: kernel
bus-ID: 01:00.0 chip-ID: 10de:1402 class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: xfwm4 v: 4.14.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: HDMI-1 res: 1920x1080 dpi: 61 size: 800x450mm (31.5x17.7")
diag: 918mm (36.1")
OpenGL: renderer: NV126 v: 4.3 Mesa 20.3.5 direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Biostar Microtech Intl Corp driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1c20 class-ID: 0403
Device-2: NVIDIA GM206 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fba class-ID: 0403
Sound Server-1: ALSA v: k4.19.0-21-amd64 running: yes
Sound Server-2: JACK v: 1.9.12 running: no
Sound Server-3: PulseAudio v: 12.2 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel port: d000
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: NetGear type: USB driver: mt76x2u bus-ID: 3-2:2 chip-ID: 0846:9053
class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
IF-ID-1: tailscale0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth: Device-1: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 4-1.3:3 chip-ID: 0cf3:3005 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0
sub-v: 9999 hci-v: 3.0 rev: 9999
Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff
link-mode: slave accept service-classes: rendering, capturing, object transfer
Drives: Local Storage: total: 465.76 GiB used: 338.06 GiB (72.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: <unknown> type: SSD
serial: <filter> rev: 2B6Q scheme: MBR
Partition: ID-1: / raw-size: 463.73 GiB size: 455.38 GiB (98.20%) used: 338.06 GiB (74.2%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors: System Temperatures: cpu: 43.0 C mobo: N/A gpu: nouveau temp: 43.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 0
Repos: Packages: 2650 note: see --pkg apt: 2633 lib: 1397 flatpak: 17
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.its.dal.ca/mxlinux/mx/repo/ buster main non-free
No active apt repos in: /etc/apt/sources.list.d/nordvpn.list
No active apt repos in: /etc/apt/sources.list.d/plex-mx.list
No active apt repos in: /etc/apt/sources.list.d/plexmediaserver.list
No active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
No active apt repos in: /etc/apt/sources.list.d/spotify.list
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb https://apt.syncthing.net/ syncthing stable
Active apt repos in: /etc/apt/sources.list.d/tailscale.list
1: deb https://pkgs.tailscale.com/stable/debian buster main
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb http://linux.teamviewer.com/deb stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info: Processes: 242 Uptime: 7m wakeups: 3 Memory: 15.65 GiB used: 1.44 GiB (9.2%)
Init: systemd v: 241 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0
alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in
inxi: 3.3.06
Still trying to install 470 nVidia driver as I think that's what was installed before the big update. Either way, 418 nVidia driver doesn't work, crashed my emulator software (never had that happen before the update to 510). Here is what happens when I try for 470 from the test repo :
Code: Select all
About to execute /usr/local/bin/ddm-mx -i nvidia.
This command needs root privileges to be executed.
Using su...
Enter root password at prompt.
Password:
Distribution: MX
INSTALL IS nvidia
creating lock ...
===================================
Install drivers for: nvidia
Start at (m/d/y): 09/03/2022 22:34:45
===================================
========================================
========================================
To restore open source drivers use:
sudo ddm-mx -p nvidia
========================================
========================================
Refreshing Sources with apt-get update
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
Hit:1 http://mirror.its.dal.ca/mxlinux/mx/repo buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:7 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:8 http://deb.debian.org/debian-security buster/updates InRelease
Hit:9 https://repo.protonvpn.com/debian stable InRelease
Hit:10 http://repository.spotify.com stable InRelease
Hit:11 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:12 http://linux.teamviewer.com/deb stable InRelease
Hit:13 https://apt.syncthing.net syncthing InRelease
Get:14 https://pkgs.tailscale.com/stable/debian buster InRelease
Fetched 5,543 B in 2s (2,766 B/s)
Reading package lists... Done
Candidate is: nvidia-driver 418.211.00-1
Installed is: nvidia-driver (none)
Would you like to check MX Test Repo for a later version?
1) yes
2) no (default)
Press <Enter> for the default entry
Use 'q' to quit
1
Ok...
Enabling MX Test repo
Running apt-get update...
Refreshing Sources with apt-get update
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://mirror.its.dal.ca/mxlinux/mx/repo buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://deb.debian.org/debian buster InRelease
Hit:6 https://downloads.plex.tv/repo/deb public InRelease
Hit:7 http://deb.debian.org/debian-security buster/updates InRelease
Hit:8 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Get:9 http://la.mxrepo.com/mx/testrepo buster InRelease [6,791 B]
Hit:10 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:11 http://repository.spotify.com stable InRelease
Hit:12 https://packages.microsoft.com/repos/vscode stable InRelease
Get:13 https://pkgs.tailscale.com/stable/debian buster InRelease
Hit:14 https://repo.protonvpn.com/debian stable InRelease
Hit:15 https://apt.syncthing.net syncthing InRelease
Get:16 http://la.mxrepo.com/mx/testrepo buster/test amd64 Packages [1,168 kB]
Get:17 http://la.mxrepo.com/mx/testrepo buster/test i386 Packages [1,127 kB]
Fetched 2,308 kB in 3s (868 kB/s)
Reading package lists... Done
Installing latest nvidia-detect package
Reading package lists...
Building dependency tree...
Reading state information...
nvidia-detect is already the newest version (470.129.06-6~mx19+1).
The following package was automatically installed and is no longer required:
linux-kbuild-5.10
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 272 not upgraded.
Main repo candidate is: 418.211.00-1
MX Test repo candidate is: 470.129.06-6~mx19+1
Installed is: (none)
Which driver do you wish to install
Main repos or MX Test
1: Main nvidia-driver 418.211.00-1
2: MX Test nvidia-driver 470.129.06-6~mx19+1
3: Exit
Enter Number of selection
2
Ok...
Need driver: nvidia-driver 470.129.06-6~mx19+1
packages to install are nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
Frontend:
Nvidia command = apt-get install --install-recommends --reinstall -y -t a=mx,c=test nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
linux-kbuild-5.10
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1,103 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 378621 files and directories currently installed.) (Reading database ...
Preparing to unpack .../build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) over (12.6) ...
Preparing to unpack .../linux-headers-4.19.0-21-amd64_4.19.249-2_amd64.deb ...
Unpacking linux-headers-4.19.0-21-amd64 (4.19.249-2) over (4.19.249-2) ...
Setting up linux-headers-4.19.0-21-amd64 (4.19.249-2) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 4.19.0-21-amd64:Deprecated feature: REMAKE_INITRD (/var/lib/dkms/broadcom-sta/6.30.223.271/source/dkms.conf)
.
Setting up build-essential (12.6) ...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-kernel-dkms : Depends: nvidia-kernel-support-470.129.06
Depends: nvidia-kernel-support--v1
E: Unable to correct problems, you have held broken packages.
Finished
========================================
========================================
To restore open source drivers later use:
sudo ddm-mx -p nvidia
========================================
========================================
For recovery help see
https://mxlinux.org/wiki/hardware/nvidia-driver-install-recovery
Information written to /home/trochel/ddm-mx-nvidia_removal_command.txt
Resetting sources
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://mirror.its.dal.ca/mxlinux/mx/repo buster InRelease
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 http://deb.debian.org/debian buster InRelease
Hit:7 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:8 https://repo.protonvpn.com/debian stable InRelease
Hit:9 http://deb.debian.org/debian-security buster/updates InRelease
Hit:10 http://repository.spotify.com stable InRelease
Hit:11 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:12 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:13 https://apt.syncthing.net syncthing InRelease
Get:14 https://pkgs.tailscale.com/stable/debian buster InRelease
Fetched 5,543 B in 2s (2,741 B/s)
Reading package lists... Done
Press <Enter> to exit
I really don't understand how this update has set me back so far. I have sincerely enjoyed MX Linux and this is my first obstacle. Maybe I've just been lucky

Re: Can't get past login - Nvidia Driver update [Solved]
Posted: Sat Sep 03, 2022 10:06 pm
by dolphin_oracle
what we are finding is that apparently for a while now a package has been missing but no one has actually noticed. nvidia-modprobe is missing for the 470 drivers in test and the 510 drivers in ahs. the 510 version has been sent up to the ahs repo, but 470 is still missing. I buzzed the guys to see what we can do about the 470 drivers.
the good news is for you is that your part should be supported by the 510 drivers. so you could potentially turn the ahs repo back on and try a full install of the nvidia drivers. just check to make sure nvidia-modprobe is present first (it is in salt-lake city repo).
Re: Can't get past login - Nvidia Driver update
Posted: Sun Sep 04, 2022 7:44 am
by prism-probe
Everything is back to normal! I got back on the 510 kernel and installed the 510 nVidia driver without issues (I can confirm that nvidia-modprobe is installed).
Thanks a lot for everyone's help, it's been an fun trip
Here is the final working setup of my system:
Code: Select all
System: Kernel: 5.10.0-15mx-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-15mx-amd64
root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm 4.14.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-19.4_ahs_x64 patito feo March 31 2021
base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: BIOSTAR product: TH67+ v: 6.0 serial: <filter>
Mobo: BIOSTAR model: TH67+ v: 6.0 serial: <filter> BIOS: American Megatrends v: 4.6.4
date: 02/17/2011
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Solar Keyboard K750
serial: <filter> charge: 100% rechargeable: yes status: Full
CPU: Info: Quad Core model: Intel Core i7-2600K bits: 64 type: MT MCP arch: Sandy Bridge
family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54303
Speed: 1696 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 1696 2: 1658 3: 1664
4: 1748 5: 1816 6: 1726 7: 1700 8: 1798
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GM206 [GeForce GTX 950] vendor: eVga.com. driver: nvidia
v: 510.73.08 bus-ID: 01:00.0 chip-ID: 10de:1402 class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: xfwm4 v: 4.14.0 driver: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 61 size: 800x450mm (31.5x17.7")
diag: 918mm (36.1")
OpenGL: renderer: NVIDIA GeForce GTX 950/PCIe/SSE2 v: 4.6.0 NVIDIA 510.73.08
direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Biostar Microtech Intl Corp driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1c20 class-ID: 0403
Device-2: NVIDIA GM206 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fba class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-15mx-amd64 running: yes
Sound Server-2: JACK v: 1.9.12 running: no
Sound Server-3: PulseAudio v: 12.2 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Biostar Microtech Intl Corp driver: r8169 v: kernel port: d000
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: NetGear type: USB driver: mt76x2u bus-ID: 4-2:2 chip-ID: 0846:9053
class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
IF-ID-1: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
Bluetooth: Device-1: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-1.3:3 chip-ID: 0cf3:3005 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0
sub-v: 9999 hci-v: 3.0 rev: 9999
Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff
link-mode: slave accept service-classes: rendering, capturing, object transfer
Drives: Local Storage: total: 465.76 GiB used: 340.05 GiB (73.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: <unknown> type: SSD
serial: <filter> rev: 2B6Q scheme: MBR
Partition: ID-1: / raw-size: 463.73 GiB size: 455.38 GiB (98.20%) used: 340.05 GiB (74.7%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors: System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 44 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Repos: Packages: 2720 note: see --pkg apt: 2702 lib: 1437 flatpak: 18
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.its.dal.ca/mxlinux/mx/repo/ buster main non-free
2: deb http://mirror.its.dal.ca/mxlinux/mx/repo/ buster ahs
No active apt repos in: /etc/apt/sources.list.d/nordvpn.list
No active apt repos in: /etc/apt/sources.list.d/plex-mx.list
No active apt repos in: /etc/apt/sources.list.d/plexmediaserver.list
No active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
No active apt repos in: /etc/apt/sources.list.d/spotify.list
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb https://apt.syncthing.net/ syncthing stable
Active apt repos in: /etc/apt/sources.list.d/tailscale.list
1: deb https://pkgs.tailscale.com/stable/debian buster main
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb http://linux.teamviewer.com/deb stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info: Processes: 273 Uptime: 24m wakeups: 9 Memory: 15.62 GiB used: 2.44 GiB (15.6%)
Init: systemd v: 241 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0
alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in
inxi: 3.3.06
--