giwty / switch-library-manager

Complete solution to manage, organize and keep your local switch backup game library up to date . Cross platform, supports all game formats.
230 stars 43 forks source link

Application does not open after nvidia driver installed #92

Open maxmag-soft opened 1 year ago

maxmag-soft commented 1 year ago

Hi

Could you guys help me on that issue?

I have installed the drivers for my Geforce GTX 650 and after the restart the Switch Library could no open anymore

Commands that I run to update the driver

sudo apt purge ~nnvidia
sudo apt install nvidia-driver-470 -y
sudo apt full-upgrade -y
sudo apt update
sudo apt full-upgrade -y
sudo apt install nvidia-driver-470 -y

I was using no display driver to open the software, it worked very good, but then I update the kernel and installed nvidia driver 470.141.03

The Switch library report that on the log running on terminal:

maxmag@pop-os:~/switchlibrary$ ./Switch-Library-Manager 
2022/09/22 21:26:55 astikit: starting worker...
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 Skipping restoring resources...
2022/09/22 21:26:55 Starting...
2022/09/22 21:26:55 Provisioning...
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 Astilectron has already been provisioned to version 0.39.0, moving on...
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 astikit: received signal urgent I/O condition
2022/09/22 21:26:55 Electron has already been provisioned to version 7.1.10, moving on...
2022/09/22 21:26:55 Listening...
2022/09/22 21:26:55 Executing...
2022/09/22 21:26:55 Starting cmd /home/maxmag/switchlibrary/vendor/electron-linux-amd64/electron /home/maxmag/switchlibrary/vendor/astilectron/main.js 127.0.0.1:40981 true
2022/09/22 21:26:55 Astilectron says: {"name":"app.event.ready","targetID":"app","displays":{"all":[{"id":1251866241936765,"bounds":{"x":0,"y":0,"width":1440,"height":900},"workArea":{"x":0,"y":32,"width":1440,"height":792},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries_d50_referred: [[0.6400, 0.3515],  [0.3066, 0.6170],  [0.1396, 0.0869]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":1440,"height":900},"workAreaSize":{"width":1440,"height":792},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"}],"primary":{"id":1251866241936765,"bounds":{"x":0,"y":0,"width":1440,"height":900},"workArea":{"x":0,"y":32,"width":1440,"height":792},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries_d50_referred: [[0.6400, 0.3515],  [0.3066, 0.6170],  [0.1396, 0.0869]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":1440,"height":900},"workAreaSize":{"width":1440,"height":792},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"}},"supported":{"notification":true}}
2022/09/22 21:26:55 Sending to Astilectron: {"name":"window.cmd.create","targetID":"1","sessionId":"2","url":"file:///home/maxmag/switchlibrary/resources/app/app.html","windowOptions":{"backgroundColor":"#333","center":true,"height":600,"icon":"/home/maxmag/switchlibrary/resources/icon.png","title":"Switch Library Manager (1.4.0)","width":1200}}
2022/09/22 21:26:55 Astilectron says: {"name":"window.event.move","targetID":"1"}
2022/09/22 21:26:55 Astilectron says: {"name":"window.event.focus","targetID":"1"}
2022/09/22 21:26:57 Astilectron says: {"name":"window.event.did.finish.load","targetID":"1"}
2022/09/22 21:26:57 Sending to Astilectron: {"name":"menu.cmd.create","targetID":"3","menu":{"id":"3","items":[{"id":"4","options":{},"rootId":"app","submenu":{"id":"5","items":[{"id":"6","options":{"accelerator":"CommandOrControl+C","role":"copy"},"rootId":"app"},{"id":"7","options":{"accelerator":"CommandOrControl+V","role":"paste"},"rootId":"app"},{"id":"8","options":{"role":"close"},"rootId":"app"}],"rootId":"app"}},{"id":"9","options":{"label":"File"},"rootId":"app","submenu":{"id":"10","items":[{"id":"11","options":{"accelerator":"CommandOrControl+R","label":"Rescan"},"rootId":"app"},{"id":"12","options":{"label":"Hard rescan"},"rootId":"app"}],"rootId":"app"}},{"id":"13","options":{"label":"Debug"},"rootId":"app","submenu":{"id":"14","items":[{"id":"15","options":{"accelerator":"CommandOrControl+D","label":"Open DevTools"},"rootId":"app"}],"rootId":"app"}}],"rootId":"app"}}
2022/09/22 21:26:57 Astilectron says: {"name":"menu.event.created","targetID":"3"}
2022/09/22 21:26:57 astikit: worker is now waiting...
2022/09/22 21:26:57 Astilectron says: {"name":"window.event.message","targetID":"1","message":{"name":"loadSettings","payload":""},"callbackId":"1"}
2022/09/22 21:26:57 Astilectron says: {"name":"window.event.message","targetID":"1","message":{"name":"isKeysFileAvailable","payload":""},"callbackId":"2"}
2022/09/22 21:26:57 Astilectron says: {"name":"window.event.message","targetID":"1","message":{"name":"checkUpdate","payload":""},"callbackId":"3"}
2022/09/22 21:26:57 Astilectron says: {"name":"window.event.message","targetID":"1","message":{"name":"updateDB","payload":""},"callbackId":"4"}
2022/09/22 21:26:57 Sending to Astilectron: {"name":"window.cmd.message.callback","targetID":"1","callbackId":"1","message":"{\n \"versions_etag\": \"W/\\\"2ef50d1cb6bd61:0\\\"\",\n \"titles_etag\": \"W/\\\"a5b02845cf6bd61:0\\\"\",\n \"prod_keys\": \"/home/maxmag/switchlibrary/prod.keys\",\n \"folder\": \"\",\n \"scan_folders\": [],\n \"gui\": true,\n \"debug\": false,\n \"check_for_missing_updates\": true,\n \"check_for_missing_dlc\": true,\n \"organize_options\": {\n  \"create_folder_per_game\": false,\n  \"rename_files\": false,\n  \"delete_empty_folders\": false,\n  \"delete_old_update_files\": false,\n  \"folder_name_template\": \"{TITLE_NAME}\",\n  \"switch_safe_file_names\": true,\n  \"file_name_template\": \"{TITLE_NAME} ({DLC_NAME})[{TITLE_ID}][v{VERSION}]\"\n },\n \"scan_recursively\": true,\n \"gui_page_size\": 100,\n \"ignore_dlc_title_ids\": []\n}"}
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 astikit: received signal urgent I/O condition
2022/09/22 21:26:57 Stderr says: [4717:0922/212657.649568:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.
2022/09/22 21:26:57 astikit: received signal child exited
2022/09/22 21:26:57 '/home/maxmag/switchlibrary/vendor/electron-linux-amd64/electron' exited with code: -1
2022/09/22 21:26:57 App has crashed
2022/09/22 21:26:57 Stopping...
2022/09/22 21:26:57 astikit: stopping worker...
2022/09/22 21:26:57 Closing...
2022/09/22 21:26:57 accept tcp 127.0.0.1:40981: use of closed network connection while TCP accepting
2022/09/22 21:26:57 Stopping...
maxmag@pop-os:~/switchlibrary$

EDIT: The error is not from the driver, is from the line:

2022/09/22 21:26:57 accept tcp 127.0.0.1:40981: use of closed network connection while TCP accepting