Diskussion:JetRacer: Spurführung mit künstlicher Intelligenz: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 178: | Zeile 178: | ||
|- | |- | ||
| || Cuda 10.2 set path || || | | || Cuda 10.2 set path || || | ||
[[Datei:Picture of ~/.bashrc|mini]] | |||
|- | |- | ||
| || dpkg: error processing package nvidia-l4t-bootloader || || | | || dpkg: error processing package nvidia-l4t-bootloader || || | ||
https://forums.developer.nvidia.com/t/solution-dpkg-error-processing-package-nvidia-l4t-bootloader-configure/208627 | |||
```Code: | |||
sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/backup/ | |||
sudo mkdir /var/lib/dpkg/info/ | |||
``` | |||
Next update repos and force install . | |||
```Code: | |||
sudo apt-get update | |||
sudo apt-get install -f | |||
``` | |||
Move the new structure dpkg/info to old info | |||
```Code: | |||
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/backup/ | |||
``` | |||
Remove the new dpkg structure folder and back the old | |||
```Code: | |||
sudo rm -rf /var/lib/dpkg/info | |||
sudo mv /var/lib/dpkg/backup/ /var/lib/dpkg/info/ | |||
``` | |||
resources: https://elinux.org/Jetson/Installing_CUDA | |||
|- | |- | ||
| || Nvcc not Found || | | || Nvcc not Found || | ||
|| | || | ||
- **Edit `.bashrc`:** | |||
Since `vim` and `nano` are unavailable, use `vi` if it's installed: | |||
``Code: | |||
vi ~/.bashrc | |||
``` | |||
- **Clean Up Environment Variables:** | |||
Update the `.bashrc` file to remove duplicates and ensure only one set of `PATH` and `LD_LIBRARY_PATH` entries: | |||
```Code: | |||
# Add CUDA bin & library paths | |||
export PATH=/usr/local/cuda-10.2/bin:$PATH | |||
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH | |||
``` | |||
- **Save and Exit:** | |||
- In `vi`, press `i` to enter insert mode. | |||
- Make your changes. | |||
- Press `Esc`, then type `:wq` and press `Enter` to save and exit. | |||
- **Source `.bashrc`:** | |||
Code: | |||
source ~/.bashrc | |||
|- | |- | ||
|- | |- | ||
Zeile 195: | Zeile 252: | ||
|- | |- | ||
|- | |- | ||
| || SDL 1.2 installation || | | || SDL 1.2 installation || | ||
[[Datei:Screenshot (2).png|mini]] | |||
|| | |||
1. **`nvcc`**: Ensure CUDA is correctly installed and its path is added to your `.bashrc` file. | |||
2. **SDL 1.2**: Install the development libraries for SDL 1.2 on your system. You can typically do this with: | |||
```code: | |||
sudo apt-get install libsdl1.2-dev | |||
``` | |||
|- | |- | ||
| || No publick key(update error) || | |||
| || No publick key(update error) || || | The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC | ||
Reading package lists... Done | |||
W: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC | |||
E: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed. | |||
N: Updating from such a repository can't be done securely, and is therefore disabled by default. | |||
N: See apt-secure(8) manpage for repository creation and user configuration details. | |||
|| | |||
The error message indicates that the GPG key for the NVIDIA CUDA repository is missing. To resolve this, you can manually add the key: | |||
1. **Add the missing key**: | |||
```Code: | |||
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | |||
``` | |||
2. **Update the package list again**: | |||
```Code: | |||
sudo apt-get update | |||
``` | |||
This should fix the GPG error and allow you to update the repositories. | |||
|- | |- | ||
|} | |} |
Version vom 11. September 2024, 15:54 Uhr
# | Termin | Planung für die Woche | Fortschritt |
---|---|---|---|
1 | 12.06.2024- 19.06.2024 |
|
|
2 | 20.06.2024-26.06.2024 |
|
|
3 | 26.06.2024 - 05.07.2024 |
|
|
4 | 05.07.2024 - 26.07.2024 |
|
|
6 | 29.07.2024 - |
|
|
7 | 12.08.2024 |
| |
8 | 19.08.2024 |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. |
9 | 26.08.2024 |
|
|
10 | 04.09.2024 |
|
|
11 | 09.09.2024 - 13.09.2024 |
|
|
12 | 16.09.2024 - 20.09.2024 |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. |
|}
Errors and Solutions
# | Dates | Error Descriptions | Solutions |
---|---|---|---|
1 | 12.06.2024- 05.07.2024 |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. |
* jetbot-043_nano-4gb-jp45.zip |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. | |
* jetson-nano-jp461-sd-card-image.zip(Jetson-nano developer kit) |
| ||
* jetcard_nano-4gb-jp451.zip (Jetpack4.5.1) |
|
Dokumentieren Sie bitte hier Ihren Fortschritt.
| |
* jetrace.zip (Jetpack4.5) |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. | |
2 | 08.07.2024 - 02.09.2024 |
|
Dokumentieren Sie bitte hier Ihren Fortschritt. |
Cuda 10.2 set path | |||
dpkg: error processing package nvidia-l4t-bootloader |
```Code: sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/backup/ sudo mkdir /var/lib/dpkg/info/ ``` Next update repos and force install . ```Code: sudo apt-get update sudo apt-get install -f ``` Move the new structure dpkg/info to old info ```Code: sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/backup/ ``` Remove the new dpkg structure folder and back the old ```Code: sudo rm -rf /var/lib/dpkg/info sudo mv /var/lib/dpkg/backup/ /var/lib/dpkg/info/ ``` resources: https://elinux.org/Jetson/Installing_CUDA | ||
Nvcc not Found |
- **Edit `.bashrc`:** Since `vim` and `nano` are unavailable, use `vi` if it's installed: ``Code: vi ~/.bashrc ``` - **Clean Up Environment Variables:** Update the `.bashrc` file to remove duplicates and ensure only one set of `PATH` and `LD_LIBRARY_PATH` entries: ```Code: # Add CUDA bin & library paths export PATH=/usr/local/cuda-10.2/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH ``` - **Save and Exit:** - In `vi`, press `i` to enter insert mode. - Make your changes. - Press `Esc`, then type `:wq` and press `Enter` to save and exit. - **Source `.bashrc`:** Code: source ~/.bashrc | ||
Install Cudnn |
Dokumentieren Sie bitte hier Ihren Fortschritt. | ||
SDL 1.2 installation |
1. **`nvcc`**: Ensure CUDA is correctly installed and its path is added to your `.bashrc` file. 2. **SDL 1.2**: Install the development libraries for SDL 1.2 on your system. You can typically do this with: ```code: sudo apt-get install libsdl1.2-dev ``` | ||
No publick key(update error) |
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC Reading package lists... Done W: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC E: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. |
The error message indicates that the GPG key for the NVIDIA CUDA repository is missing. To resolve this, you can manually add the key: 1. **Add the missing key**: ```Code: sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub ``` 2. **Update the package list again**: ```Code: sudo apt-get update ``` This should fix the GPG error and allow you to update the repositories. |