Categories
Knowledge Support Support Categories Products exacqVision Hardware

Analog video freezing on tDVR 8016e capture boards – Linux

Description 

Some Exacq hybrid systems built since 7/23/2024 and running Ubuntu 22.04 have exhibited a freeze of the analog video after running for some period of time. This is likely a result of a false-positive error state in the PCIe ASPM (Active-state Power Management).

This can be confirmed using a Terminal with the following command:

cat /var/log/kern.log | grep pcieport

The result will include lines similar to the following:

pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:01.0: device [8086:460d] error status/mask=00000041/00002000
pcieport 0000:00:01.0: [ 0] RxErr (First)
pcieport 0000:00:01.0: [ 6] BadTLP
pcieport 0000:00:01.0: AER: Error of this Agent is reported first
pcieport 0000:00:01.0: AER: Multiple Corrected error received: 0000:00:01.0
pcieport 0000:00:01.0: AER: can't find device of ID0008
pcieport 0000:00:01.0: AER: Multiple Corrected error received: 0000:01:00.0

Steps to Resolve

The resolution is to disable the power management mode for the PCI slots by adding a kernel boot parameter. This can be accomplished either by editing a file, or by downloading and running a script .

<br>

Method 1: Editing the /boot/refind_linux.conf file

  1. In a Terminal open the file in a text editor with sudo privileges with:
    sudo gedit /boot/refind_linux.conf

2. Edit the the highlighted lines to add “pcie_aspm=off” prior to the parentheses (“) so it matches the following:

3. Save the file and reboot the machine with:

sudo reboot

<br>

Method 2: Run the tdvrfix.sh file

  1. After logging in to the Support Portal (support.exacq.com), download the tdvrfix.sh file to the Linux Desktop.
  2. Open a Terminal and change directory to the Desktop with:
    cd Desktop
  3. Set the tdvrfix.sh file to be executable with:
    sudo chmod +x tdvrfix.sh
  4. Run the script with:
    sudo ./tdvrfix.sh
  5. Reboot the machine with:
    sudo reboot
    <br>

Confirmation

After a reboot, you can confirm the fix was applied successfully by opening a Terminal and running the following command:
cat /proc/cmdline

Confirm that “pcie_aspm=off” is in the results.

<br>