rippin93 / tidal-desktop

Cross-platform desktop client for tidal web app
35 stars 4 forks source link

Tidal goes to sleep after a while #4

Open pclusius opened 2 years ago

pclusius commented 2 years ago

After an hour or so, the Tidal program window goes all blank and the streaming stops. Only remedy is quitting (from the tray) and restarting Tidal. No screensaver or similar has been in use, the system has not gone to suspend or hibernation mode but has been in use the whole time. This eventually happens without exception.

I used the binary to run Tidal (tidal_desktop-vX.Y.Z.tar.xz).

System: Host: IBA Kernel: 5.4.0-91-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 wm: Compiz dm: LightDM Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic Machine: Type: Laptop System: LENOVO product: 20BX000VMS v: ThinkPad T450s serial: Chassis: type: 10 serial: Mobo: LENOVO model: 20BX000VMS v: SDK0E50510 WIN serial: UEFI [Legacy]: LENOVO v: JBET51WW (1.16 ) date: 07/08/2015 Battery: ID-1: BAT0 charge: 10.6 Wh condition: 10.8/23.2 Wh (47%) volts: 12.1/11.1 model: SONY 45N1111 serial: status: Unknown ID-2: BAT1 charge: 11.2 Wh condition: 11.2/23.5 Wh (48%) volts: 12.5/11.4 model: LGC 45N1127 serial: status: Unknown CPU: Topology: Dual Core model: Intel Core i7-5600U bits: 64 type: MT MCP arch: Broadwell rev: 4 L2 cache: 4096 KiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20750 Speed: 3134 MHz min/max: 500/3200 MHz Core speeds (MHz): 1: 3083 2: 3091 3: 3090 4: 3091 Graphics: Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1616 Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa compositor: compiz resolution: 1920x1080~60Hz, 2560x1440~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 20.0.8 compat-v: 3.0 direct render: Yes Audio: Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:160c Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:9ca0 Sound Server: ALSA v: k5.4.0-91-generic Network: Device-1: Intel Ethernet I218-LM vendor: Lenovo driver: e1000e v: 3.2.6-k port: 3080 bus ID: 00:19.0 chip ID: 8086:15a2 IF: enp0s25 state: down mac: Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 bus ID: 03:00.0 chip ID: 8086:095b IF: wlp3s0 state: up mac: IF-ID-1: wwp0s20u4 state: down mac: Drives: Local Storage: total: 447.13 GiB used: 354.63 GiB (79.3%) ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB speed: 6.0 Gb/s serial: Partition: ID-1: / size: 377.40 GiB used: 354.63 GiB (94.0%) fs: ext4 dev: /dev/sda5 USB: Hub: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 chip ID: 1d6b:0002 Hub: 1-1:2 info: Intel ports: 8 rev: 2.0 chip ID: 8087:8001 Hub: 2-0:1 info: Full speed (or root) Hub ports: 11 rev: 2.0 chip ID: 1d6b:0002 Hub: 2-3:11 info: Genesys Logic 4-port hub ports: 4 rev: 2.1 chip ID: 05e3:0610 Device-1: 2-3.2:13 info: Hewlett-Packard type: Keyboard,HID driver: hid-generic,usbhid rev: 2.0 chip ID: 03f0:304a Device-2: 2-3.3:17 info: Microsoft type: Mouse,HID driver: hid-generic,usbhid rev: 2.0 chip ID: 045e:0823 Device-3: 2-4:16 info: Sierra Wireless type: Communication,CDC-Data,Abstract (modem) driver: cdc_acm,cdc_mbim rev: 2.0 chip ID: 1199:a001 Device-4: 2-5:6 info: Elan Micro type: HID driver: hid-multitouch,usbhid rev: 2.0 chip ID: 04f3:0418 Device-5: 2-6:8 info: Validity Sensors Fingerprint Reader type: driver: N/A rev: 1.1 chip ID: 138a:0017 Device-6: 2-7:9 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0a2a Device-7: 2-8:10 info: Chicony type: Video driver: uvcvideo rev: 2.0 chip ID: 04f2:b449 Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 chip ID: 1d6b:0003 Hub: 3-3:2 info: Genesys Logic ports: 4 rev: 3.1 chip ID: 05e3:0620 Sensors: System Temperatures: cpu: 43.0 C mobo: 0.0 C Fan Speeds (RPM): cpu: 0

rippin93 commented 2 years ago

Hey @pclusius,

I sadly too encounter this issue on a daily basis and I haven't found a proper fix for it yet.

But since this is just an electron application it is possible to reload the application without the need of closing it entirely.

You can just press CTRL-R for a quick reload and it should work again.

Hope this helps until I figure out a suitable solution.

Have a nice weekend, Daniel

mhoangvslev commented 2 years ago

Hello,

It happens every 15 minutes and when reload, you lose the progression of recently played song. I suggest that you make the app reload on new track every now and then (eg, 5 tracks)

rippin93 commented 2 years ago

Problem persists with electron since 2015: https://github.com/electron/electron/issues/2357

Still not fixed, there seem to be workarounds although I didn't get them working properly.