JamesCJ60 / Universal-x86-Tuning-Utility

Unlock the full potential of your Intel/AMD based device.
GNU General Public License v3.0
1.65k stars 41 forks source link

[BUG] App opens only for a brief moment. #186

Open xxSENPAIxx opened 7 months ago

xxSENPAIxx commented 7 months ago

Describe the bug The application opens the window only for a brief moment and closes.

To Reproduce Steps to reproduce the behavior:

  1. Double clicking on app
  2. wait for it to load
  3. see a flash of the window
  4. closes very quickly (under second)

Expected behaviour Window stays open, application stays running.

Screenshots Happens too fast to take a screen shot.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

1MrEnot commented 7 months ago

Do you see UXTU window or something else? You could try to use snipping tool (win+shift+s) and record a video It may be somehow related to administrator pemissions. UXTU does check admin permissions and restart if necessary, but I would suggest you run it as administrator manually. On my machine shortcut does not provide "run as administrator" option, but .exe does

Honusnap commented 7 months ago

Do you see UXTU window or something else? You could try to use snipping tool (win+shift+s) and record a video It may be somehow related to administrator pemissions. UXTU does check admin permissions and restart if necessary, but I would suggest you run it as administrator manually. On my machine shortcut does not provide "run as administrator" option, but .exe does

I got the same problem, yes the window appear for like .. half a sec then go away. Running as admin change nothing.

1MrEnot commented 7 months ago

I added logging to file, so it will be easier to troubleshoot. Now you can wait for next beta release and download it or build UXTU locally. Then run it and send log file here, it will help a lot

To built app locally you have to:

Honusnap commented 7 months ago

I added logging to file, so it will be easier to troubleshoot. Now you can wait for next beta release and download it or build UXTU locally. Then run it and send log file here, it will help a lot

To built app locally you have to:

  • download and install .NET 8 SDK here
  • clone this repository
  • go to cloned repo and run these commands
dotnet build
dotnet run --project 'Universal x86 Tuning Utility'

Log file will be in ./logs/ and called something like uxtu_log20240408.txt

I will wait next Beta and supply the logfile aftwerward.

guilamu commented 6 months ago

Hello,

Exact same issue here, and I tried the last 4 versions (3 betas and 1 stable).

Windows 10, Realme Book Prime CloudPro - i5 11320h.

I tried to disable Windows Defender and to run as Administrator to no avail.

Here is the log:

2024-04-24 10:26:27.552 +02:00 [INF] Application started. Press Ctrl+C to shut down.
2024-04-24 10:26:27.574 +02:00 [INF] Hosting environment: Production
2024-04-24 10:26:27.575 +02:00 [INF] Content root path: C:\Temp\Universal-x86-Tuning-Utility-master
2024-04-24 10:26:27.670 +02:00 [INF] Application is shutting down...

Edit: for some reason after multiple reboots it now works.