Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Ubunto 20.04 GUI brakes after DAQmx installation

Hi,

I have IBM WS machines (AMD based) running Ubunto 20.04

I have noticed that while installing the DAQmx drive the Ubunto GUI brakes and I cannot login after ward ( just the GUI) Terminal logs in fine

instructions I did for installing:

sudo apt install ./ni-ubuntu2204-drivers-2024Q3.deb
sudo apt update
sudo apt install ni-pxiplatformservices
# Config security BOOT by entering Password
# Restart
sudo apt install ni-daqmx
sudo apt install ni-visa
sudo apt install ni-sync
sudo apt install ni-syscfg-runtime
sudo apt install ni-hwcfg-utility
#Run the following command to build NI kernel drivers.
sudo dkms autoinstall
#Reboot your system.


I have faced this issue several times
sometimes I need to uninstall the ubunto GUI and sometimes do a new build


thanks for the help and guidance

0 Kudos
Message 1 of 4
(144 Views)

The 24Q3 driver stack isn't tested or supported on Ubuntu 20.04.  Having said that, I have an Ubuntu 20.04 VM with Secure Boot enabled here, and following your steps still results in a bootable system.

 

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ uname -r
5.15.0-124-generic

$ lsmod|grep ^ni
nimru2k 774144 3
nipxirmk 303104 1
nimxdfk 593920 5 nimru2k
nimdbgk 466944 7 nimru2k,nipxirmk,nimxdfk
nidimk 376832 6 nimru2k,nipxirmk
niorbk 122880 5 nimdbgk,nimru2k,nipxirmk,nimxdfk,nidimk
nipalk 1196032 12 nimdbgk,nimru2k,niorbk,nipxirmk,nimxdfk,nidimk,NiViPciK
nikal 139264 7 nimdbgk,nimru2k,niorbk,nipxirmk,nimxdfk,nidimk,nipalk

Does dmesg or journalctl show anything unusual?

0 Kudos
Message 2 of 4
(128 Views)

Thanks for pointing this out
is there a point were i can see what each release supports ?

i am quite sure that i posted a typo above
and did the correct installation i will check this but to make clear what i am trying to do

install NI DAQmx drivers 23Q4 on Ubuntu 20.04 


0 Kudos
Message 3 of 4
(107 Views)

This page says that 2023Q4 should work on Ubuntu 20.04 with the 5.15 kernel: NI Linux Device Drivers 2023 Q4 Compatibility - NI

 

However, that is not my experience.  The 2023Q4 driver builds all fail at install time.  It is possible that Ubuntu slipstreamed another kernel change after the NI document was published.  Regardless, I've never seen the UI hang at boot that you report.

0 Kudos
Message 4 of 4
(92 Views)