Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: First start stuck on Almost done #2403

Closed
janltu opened this issue Dec 19, 2022 · 23 comments
Closed

[Bug]: First start stuck on Almost done #2403

janltu opened this issue Dec 19, 2022 · 23 comments

Comments

@janltu
Copy link

janltu commented Dec 19, 2022

Describe the bug

I just downloaded bottles on flatpak started it for the first time and its stuck on almost done.

Console log:

[...]
18:19:34 (INFO) Renaming [dxvk-2.0-1-18b0ef6.tar.gz] to [dxvk-2.0-1-18b0ef6.tar.gz].
18:19:34 (ERROR) Downloaded file [dxvk-2.0-1-18b0ef6.tar.gz] looks corrupted.
18:19:34 (ERROR) Source cksum: [f7121c4c7bebc257fbb1626690a7dd06] downloaded: [81d4f690b6cd535eaf642ab4385f62c2]
18:19:34 (ERROR) Removing corrupted file [dxvk-2.0-1-18b0ef6.tar.gz].
18:19:34 (ERROR) Extraction failed! Archive ends earlier than expected.
18:19:34 (WARNING) No dxvk found.

happens everytime already tried restarting

To Reproduce

  1. Click on Continue on first start
  2. Be stuck

Package

Flatpak from Flathub

Distribution

pop_OS!

Troubleshooting Logs

cant click installation has not finished

Additional context

No response

@ijaure299
Copy link

same, install Pop OS and I have exaclly the same problem

@ZeitDev
Copy link

ZeitDev commented Dec 19, 2022

steamOS, same error, same log

@Zardeth
Copy link

Zardeth commented Dec 19, 2022

Same issue on SteamOS

@dawnofwar911
Copy link

dawnofwar911 commented Dec 19, 2022

Managed to solve this, at least for now! Just create an empty folder in: ".var/app/com.usebottles.bottles/data/bottles/dxvk" , I called mine "dxvk2.0.1" but i don't think it matters. Then re-open bottles.

It will think there is already a dxvk installed and skip that step. Then you'll have to manually download an older dxvk version inside bottles and make sure your future bottles use that for the mean time

@csc-chicken
Copy link
Contributor

csc-chicken commented Dec 20, 2022

after checking logs it seems that only dxvk2.0.1 will have a checksum error because after create dxvk2.0.1 folder the other runner download is as smooth as always.

log

(bottles:2): Gtk-CRITICAL **: 11:03:38.222: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
11:03:38 (INFO) Library saved 
11:03:41 (INFO) Performing Bottles checks… 
11:03:41 (INFO) Dxvks found:
         - dxvk2.0.1
 
11:03:41 (WARNING) No vkd3d found. 
11:03:44 (INFO) Installing component: [vkd3d-proton-2.8]. 
vkd3d-proton-2.8.tar.gz (100%)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (2.4 MB/2.4 MB - 647.3 kB)

11:03:49 (INFO) Renaming [vkd3d-proton-2.8.tar.gz] to [vkd3d-proton-2.8.tar.gz]. 
11:03:49 (INFO) Vkd3ds found:
         - vkd3d-proton-2.8
 
11:03:49 (INFO) Component installed: vkd3d vkd3d-proton-2.8 
11:03:49 (WARNING) No nvapi found. 
11:03:52 (INFO) Installing component: [dxvk-nvapi-v0.6]. 
dxvk-nvapi-v0.6.tar.gz (100%)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (2.4 MB/2.4 MB - 890.3 kB)

11:03:56 (INFO) Renaming [dxvk-nvapi-v0.6.tar.gz] to [dxvk-nvapi-v0.6.tar.gz]. 
11:03:56 (INFO) Nvapis found:
         - dxvk-nvapi-v0.6
 
11:03:56 (INFO) Component installed: nvapi dxvk-nvapi-v0.6 
11:03:56 (WARNING) No latencyflex found. 
11:03:59 (INFO) Installing component: [latencyflex-v0.1.1]. 
latencyflex-v0.1.1.tar.xz (100%)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (380.9 kB/380.9 kB - 448.3 kB)

11:04:02 (INFO) Renaming [latencyflex-v0.1.1.tar.xz] to [latencyflex-v0.1.1.tar.xz]. 
11:04:02 (INFO) Component installed: latencyflex latencyflex-v0.1.1 
11:04:03 (WARNING) No WineBridge found. 
11:04:05 (INFO) Installing component: [winebridge-1.1.0]. 
WineBridge-eb78a75.tar.xz (100%)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (3.4 MB/3.4 MB - 1.4 MB)

11:04:09 (INFO) Renaming [WineBridge-eb78a75.tar.xz] to [WineBridge-eb78a75.tar.xz]. 
11:04:10 (INFO) Component installed: winebridge winebridge-1.1.0 
11:04:10 (INFO) Runners found:
         - sys-wine-7.0.1
 
11:04:10 (WARNING) No runners found. 
11:04:13 (INFO) Installing component: [soda-7.0-8]. 
soda-7.0-8-x86_64.tar.xz (100%)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (64.0 MB/64.0 MB - 3.7 MB)

11:04:32 (INFO) Renaming [soda-7.0-8-x86_64.tar.xz] to [soda-7.0-8-x86_64.tar.xz]. 
11:04:41 (INFO) Runners found:
         - sys-wine-7.0.1
         - soda-7.0-8
 
11:04:41 (INFO) Component installed: runner soda-7.0-8 

conclusion

only dxvk checksum failed

@chenzhekl
Copy link

The same happened to me. This is the log:

15:14:35 (INFO) Renaming [dxvk-2.0-1-18b0ef6.tar.gz] to [dxvk-2.0-1-18b0ef6.tar.gz]. 
15:14:36 (ERROR) Downloaded file [dxvk-2.0-1-18b0ef6.tar.gz] looks corrupted. 
15:14:36 (ERROR) Source cksum: [f7121c4c7bebc257fbb1626690a7dd06] downloaded: [81d4f690b6cd535eaf642ab4385f62c2] 
15:14:36 (ERROR) Removing corrupted file [dxvk-2.0-1-18b0ef6.tar.gz]. 
15:14:36 (ERROR) Extraction failed! Archive ends earlier than expected. 
15:14:36 (WARNING) No dxvk found. 

@EnfrigFalco
Copy link

EnfrigFalco commented Dec 20, 2022

Fresh install across a desktop and laptop both Fedora 37 can confirm stuck on "Almost Done" tried both flatpak and repo, both computers. Bottles is definitely bugged

Tried putting in dxvk-async-2.0, and it did not work. Tried empty folder with dxvk-2.0 ...success

@bunglesss
Copy link

I'm getting this as well on latest Fedora, it just goes round and round saying runtime.tar.gz is corrupted. Fresh install of Fedora from Live CD with nothing else installed on it but Bottles.

@Kinsteen
Copy link
Contributor

Can you all send logs about which file exactly was corrupted please?

@bunglesss
Copy link

bunglesss commented Dec 20, 2022

Hi mate, I just tried to get the log off that box, but not winning. Its basically downloading runtime.tar.gz over and over again saying its corrupted and the archive ends too soon, then eventually Bottles blows up and crashes.

Oh interestingly I had this working only a few weeks ago on a fresh install. On reinstalling, I find this, so whatever has changed must be recent?

@Kinsteen
Copy link
Contributor

Open a terminal and launch flatpak run com.usebottles.bottles, and you should be able to send the logs here!

@bunglesss
Copy link

temp.log.zip

@bunglesss
Copy link

Oh, was installed from RPM not Flatpak here by the way.

@Kinsteen
Copy link
Contributor

Kinsteen commented Dec 20, 2022

Fedora Bottles is 7 months old, it will not work. Even the testing one is 5 months old. I suggest using the Flatpak version or asking the maintainer of the package to update it

@bunglesss
Copy link

bunglesss commented Dec 21, 2022

Yeah, works fine on Flatpak, oops, sorry mate! Flatpak used to be more pain, but I think those days are gone.

@dawnofwar911
Copy link

In my case it's the same "dxvk-2.0-1-18b0ef6.tar.gz" file that failed to be validated checksum wise after the download. Couldn't find that version referenced in the dxvk github either. Hence just needed to skip that install and the rest for the downloads work fine.

@Kinsteen
Copy link
Contributor

@dawnofwar911 Hey, normally Bottles should not download this exact dxvk, but dxvk-2.0-1-12901b5. What version are you using? Can you send Bottles logs?

@fangpenlin
Copy link

fangpenlin commented Dec 24, 2022

I encountered the same issue, but it somehow works after a reboot

UPDATE: well, not sure if it's exactly the same issue, but it's also pop os and I was also hanging on the "Almost done" view forever until I reboot

@alaviss
Copy link

alaviss commented Dec 29, 2022

Same issue here on NixOS

Logs (click to expand)
F: Can't find a11y bus: GDBus.Error:org.a11y.Bus.Error: Failed to spawn child process “/run/current-system/sw/bin/dbus-daemon” (No such file or directory)

(bottles:2): Gtk-WARNING **: 05:56:35.581: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
05:56:36 (INFO) Bottles Started!
05:56:46 (INFO) Catalog components loaded
05:56:47 (INFO) Catalog installers loaded
05:56:49 (INFO) Catalog dependencies loaded
05:56:49 (INFO) Performing Bottles checks…
05:56:49 (INFO) Runners found:
         - sys-wine-7.0.1


(bottles:2): Gtk-CRITICAL **: 05:56:52.824: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
05:56:53 (INFO) Library saved
05:56:57 (INFO) Performing Bottles checks…
05:56:57 (WARNING) No dxvk found.
05:57:01 (INFO) Installing component: [dxvk-2.0-1-12901b5].
05:57:01 (WARNING) File [dxvk-2.0-1-12901b5.tar.gz] already exists in temp, skipping.
05:57:01 (ERROR) Downloaded file [dxvk-2.0-1-12901b5.tar.gz] looks corrupted.
05:57:01 (ERROR) Source cksum: [5cabe70d766d23439da9aa256d35e463] downloaded: [7cfddacf569612b15560eb818d8ada16]
05:57:01 (ERROR) Removing corrupted file [dxvk-2.0-1-12901b5.tar.gz].
05:57:01 (ERROR) Extraction failed! Archive ends earlier than expected.
05:57:01 (WARNING) No dxvk found.

Update: Upon restart, looks like it's working.

Can we have an actual progress bar in the UI for this? On slow connections it really felt like the entire thing was locking up when all you have is a bouncing progress bar in UI

Logs (click to expand)
❯ com.usebottles.bottles
F: Can't find a11y bus: GDBus.Error:org.a11y.Bus.Error: Failed to spawn child process “/run/current-system/sw/bin/dbus-daemon” (No such file or directory)

(bottles:2): Gtk-WARNING **: 05:59:53.742: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
05:59:54 (INFO) Bottles Started!
06:00:04 (INFO) Catalog components loaded
06:00:05 (INFO) Catalog installers loaded
06:00:07 (INFO) Catalog dependencies loaded
06:00:07 (INFO) Performing Bottles checks…
06:00:07 (INFO) Runners found:
         - sys-wine-7.0.1


(bottles:2): Gtk-CRITICAL **: 06:00:12.807: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
06:00:13 (INFO) Library saved
06:00:17 (INFO) Performing Bottles checks…
06:00:17 (WARNING) No dxvk found.
06:00:21 (INFO) Installing component: [dxvk-2.0-1-12901b5].
dxvk-2.0-1-12901b5.tar.gz (8%)     ━━━━ (687.1 kB/7.8 MB - 10.7 kB)

@mirkobrombin
Copy link
Member

There are mixed topics here. Anyway, the dxvk checksum was fixed says ago in the repository directly.

@ben2talk
Copy link

ben2talk commented Oct 23, 2023

10:42:45 (WARNING) No managed runners found.
10:42:50 (INFO) No dependencies found!
10:42:50 (INFO) No installers found!
10:42:54 (INFO) Performing Bottles checks…
10:42:54 (WARNING) No dxvk found.
10:43:00 (WARNING) No vkd3d found.
10:43:05 (WARNING) No nvapi found.
10:43:11 (WARNING) No latencyflex found.
10:43:22 (WARNING) No WineBridge found.
10:43:22 (INFO) Runners found:
- sys-wine-8.0.2

So maybe someone got this fixed - I installed flatpak bottles and I'm getting this looped, preventing access to the GUI.

GNOME Application Plat… org.gnome.Platform                       44           system
GNOME Application Plat… org.gnome.Platform                       45           system
. 
..
DXVK                    org.winehq.Wine.DLLs.dxvk       2.3      stable-22.08 system

It isn't finding the DXVK which is installed...

Also if removing dxvk and restarting:

10:48:17 (ERROR) Could not get index for installers repository: (28, 'Resolving timed out after 4950 milliseconds') 
10:48:17 (ERROR) Could not get index for installers repository 
10:48:17 (ERROR) Could not get index for dependencies repository: (28, 'Resolving timed out after 4932 milliseconds') 
10:48:17 (ERROR) Could not get index for dependencies repository 
10:48:17 (ERROR) Could not get index for components repository: (28, 'Resolving timed out after 4936 milliseconds') 
10:48:17 (ERROR) Could not get index for components repository 
10:48:17 (INFO) Performing Bottles checks… 
10:48:17 (INFO) Runners found:
	- sys-wine-8.0.2
 
10:48:23 (INFO) No installers found! 
10:48:23 (INFO) No dependencies found! 

Just stuck at 'Welcome to Bottles'.

@RichardJECooke
Copy link

This is still happening. The GUI is in an endless loop at Almost Done and the console shows the below. My internet is fine. How to fix please?

flatpak run com.usebottles.bottles
16:55:50 (INFO) Launching with URI: None 
16:55:50 (INFO) [Activate] request received. 
16:55:50 (INFO) Bottles Started! 
16:55:54 (ERROR) Could not get index for components repository 
16:55:54 (ERROR) Could not get index for installers repository 
16:55:54 (INFO) Performing Bottles checks… 
16:55:54 (INFO) Runners found:
	 - sys-wine-9.0
 
16:55:54 (INFO) No installers found! 
16:55:55 (INFO) Catalog dependencies loaded 
16:56:02 (INFO) Performing Bottles checks… 
16:56:02 (WARNING) No dxvk found. 
16:56:03 (WARNING) No vkd3d found. 
16:56:03 (WARNING) No nvapi found. 
16:56:04 (WARNING) No latencyflex found. 
16:56:05 (WARNING) No WineBridge found. 
16:56:05 (INFO) Runners found:
	 - sys-wine-9.0
 
16:56:05 (WARNING) No managed runners found. 
16:56:06 (INFO) No installers found! 

@RichardJECooke
Copy link

Ah, looks like my problem is a new problem with the same symptom - #3761

maxmielchen added a commit to maxmielchen/Bottles that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests