Questions and Answers : Preferences : always showing graphics
Author | Message |
---|---|
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
Hey mates, is it somehow possible to watch graphics permanetly? I can open the graphics for a task, but when finished, the window closes. I don´t want to open the next one manually. Can this programm switch to next one by itself? I can´t/don`t want to us the screensaver, because of other work / programs / backgroundmusic etc. My Idea is to see the graphics on one screen (when it´s not needed) and continue work on the other screens. i tried the programm "restart on crash" and linked it to the "rosetta_graphics_4.20_windows_x86_64.exe" but that didn´t work. maybe one of you got another idea. greetings MeeeK |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
It’s certainly possible, in that some kind of launcher could communicate with the client to get the information needed to start the graphics for a task, watch for it to finish, then repeat for another task. But I don’t know whether there are any existing applications that do this. BTW your i9 looks to be returning a lot of errors lately. Is it overclocked? Something might be unstable. |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1681 Credit: 17,854,150 RAC: 22,647 |
It’s certainly possible, in that some kind of launcher could communicate with the client to get the information needed to start the graphics for a task, watch for it to finish, then repeat for another task. But I don’t know whether there are any existing applications that do this.Or a memory issue (or both). failed to create shared mem segment: rosetta Size: 25001680appears in all the errors i checked out bar one, being the usual Reason: Access Violation (0xc0000005) at address 0x000002674044BDA0memory issue of some sort message. I'd also check it's CPU temperature. Grant Darwin NT |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
It’s certainly possible, in that some kind of launcher could communicate with the client to get the information needed to start the graphics for a task, watch for it to finish, then repeat for another task. But I don’t know whether there are any existing applications that do this.Or a memory issue (or both). everthing is stable, no overclocks, temps are fine. shared memory sounds like an issue with internal graphics. (i dont use dedecated gpu in this rig) i turned off "restart on crash" now for rosetta_graphics. maybe that was the problme. will check this later. maybe because of this issue the prgramm "RoC" didn´t work as it should. in bios shared memory is set to auto. will change this later, as well as driverupdates. if you have any other ideas for my initial problem, let me hear. maybe some commandlines, bat-Files etc... don´t have an idea yet to solve the question on how to have a windows running with WU-graphics. greeting MeeeK |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1681 Credit: 17,854,150 RAC: 22,647 |
shared memory sounds like an issue with internal graphics. (i dont use dedecated gpu in this rig)While internal GPUs used shared memory, so do other applications. It is unrelated the BIOS iGPU shared memory settings. And the Access Violation message also indicates a memory issue. everthing is stable, no overclocks, temps are fine.I'd suggest running the Windows Memory Diagnostic then. How to check your Windows 10 PC for memory problems. If it's not a memory issue, nor heat nor power supply (all possible causes), then there could be another application or process that's causing issues (and much harder to track down than the other much more likely causes). as well as driverupdates.The video driver is a possible cause of such memory issues. Grant Darwin NT |
Kissagogo27 Send message Joined: 31 Mar 20 Posts: 86 Credit: 2,919,932 RAC: 2,653 |
hi, and a lot of tasks aborded by server ... try a lower cache size ... |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
i turned off "restart on crash" now for rosetta_graphics. maybe that was the problme.Yes, it could be that. The message might be coming from the Rosetta application trying to communicate with a graphics application that is not operating as expected. Make sure there are no stuck rosetta_graphics_4.20_windows_x86_64.exe processes running. A batch file like this might do what you want: @ECHO OFF SETLOCAL SET GFXEXE=rosetta_graphics_4.20_windows_x86_64.exe SET GFXRELPATH=..\..\projects\boinc.bakerlab.org_rosetta\%GFXEXE% SET BOINCDATADIR=%ProgramData%\BOINC SET SLOTDIR=%BOINCDATADIR%\slots\0 :BEGIN TASKLIST /FO LIST /FI "IMAGENAME eq %GFXEXE%" | FIND "%GFXEXE%" IF ERRORLEVEL 1 ( IF EXIST %SLOTDIR%\graphics_app ( PUSHD %SLOTDIR% && START %GFXRELPATH% & POPD ) ) TIMEOUT 600 GOTO BEGIN |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
I was absolutely right. I stopped the rosetta_grsphics app and no more problems. So i have to go further in this direction. Will check driver and co. |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
i turned off "restart on crash" now for rosetta_graphics. maybe that was the problme.Yes, it could be that. The message might be coming from the Rosetta application trying to communicate with a graphics application that is not operating as expected. Make sure there are no stuck rosetta_graphics_4.20_windows_x86_64.exe processes running. Thanks alot, mate! I will try this and give a feedback. |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
i turned off "restart on crash" now for rosetta_graphics. maybe that was the problme.Yes, it could be that. The message might be coming from the Rosetta application trying to communicate with a graphics application that is not operating as expected. Make sure there are no stuck rosetta_graphics_4.20_windows_x86_64.exe processes running. seems i need your help again. tried to put my path in, but doesnt work. C:Program FilesBOINC ( my boinc folder) D:BOINC DATAprojectsboinc.bakerlab.org_rosetta (rosetta_graphics.exe) D:BOINC DATAslots (the slots) i did something wrong when i changed it in the batch. would be nice, to get your help[/code] |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
doesnt workAfter posting I realised it wouldn’t work with names containing spaces, as I’d forgotten to quote the paths… Try @ECHO OFF SETLOCAL SET GFXEXE=rosetta_graphics_4.20_windows_x86_64.exe SET GFXRELPATH=..\..\projects\boinc.bakerlab.org_rosetta\%GFXEXE% SET BOINCDATADIR=D:\BOINC DATA SET SLOTDIR=%BOINCDATADIR%\slots\0 :BEGIN TASKLIST /FO LIST /FI "IMAGENAME eq %GFXEXE%" | FIND "%GFXEXE%" IF ERRORLEVEL 1 ( IF EXIST "%SLOTDIR%\graphics_app" ( PUSHD "%SLOTDIR%" && START %GFXRELPATH% & POPD ) ) TIMEOUT 600 GOTO BEGIN |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
It´s working! Perfect Work! now i will check if it´s restarting the next task, after this is finished. i will send feedback. thank you! |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
(As MeeeK has edited the previous post and removed the context, the following doesn’t make much sense now…) Either leave SET GFXRELPATH as it was (with ..\..), or change PUSHD "%SLOTDIR%" && START %GFXRELPATH% & POPDto PUSHD "%SLOTDIR%" && START "Rosetta Graphics" "%GFXRELPATH%" & POPD (And to get a single backslash to appear in the formatted output here, you need to type four in the input!) |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
i will check if it´s restarting the next task, after this is finished.With TIMEOUT 600 it will take the batch file up to 10 minutes to notice that one task has finished and another started in its place. If you want to reduce the delay, use a smaller number. |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
Here’s a more robust version that will read the BOINC data directory from the Registry, pick a random slot directory instead of always looking in 0, and check it’s actually a Rosetta task (and not some other project) that’s running: @ECHO OFF SETLOCAL SET GFXEXE=rosetta_graphics_4.20_windows_x86_64.exe SET GFXRELPATH=..\..\projects\boinc.bakerlab.org_rosetta\%GFXEXE% FOR /F "skip=2 tokens=2*" %%V IN ('REG QUERY "HKLM\SOFTWARE\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup" /v "DATADIR"') DO SET BOINCDATADIR="%%W" SET /A SLOTNUM=%RANDOM% %% %NUMBER_OF_PROCESSORS% SET SLOTDIR=%BOINCDATADIR%\slots\%SLOTNUM% :BEGIN TASKLIST /FO LIST /FI "IMAGENAME eq %GFXEXE%" | FIND "%GFXEXE%" IF ERRORLEVEL 1 ( IF EXIST "%SLOTDIR%\rosetta_*.exe" ( PUSHD "%SLOTDIR%" && START "Rosetta Graphics" "%GFXRELPATH%" & POPD ) ) TIMEOUT 600 GOTO BEGIN |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
Here’s a more robust version that will read the BOINC data directory from the Registry, pick a random slot directory instead of always looking in 0, and check it’s actually a Rosetta task (and not some other project) that’s running: works well also, great work. had an aborted WU by server some minutes ago. graphics-window crashed. at this point, i guess, the bat cant do anything. didn´t restart a new window. so i still have to wait to finish ne running one right now to see if it´s restarting after a job finished the normal way. The crashed WU https://boinc.bakerlab.org/rosetta/result.php?resultid=1318958050 Found this by google the "Reason: Access Violation (0xc0000005) at address 0x00007FF68FDA7698 write attempt to address 0x017D7EC9" https://www.gitmemory.com/issue/BOINC/boinc/3149/492940198 |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
had an aborted WU by server some minutes ago. graphics-window crashed.It shouldn’t make any difference to the batch file whether a task crashes or finishes normally; as long as no graphics process is running it will attempt to start a new one. How long did you wait? With TIMEOUT 600 it will take the batch file up to 10 minutes to notice that one task has finished and another started in its place. If you want to reduce the delay, use a smaller number. Well spotted with that issue (#3149). When a task ends, the graphics application normally detects that (and shows the message “App not running - exiting in 5 seconds”) then closes itself. So I’m not sure why we’re seeing it so much here. I had suspected a graphics task had been started incorrectly, but without a window so you didn’t know it was running, then the running Rosetta task had tried to communicate with that via shared memory, and failed. It’s worth checking in Task Manager for stray rosetta_graphics_4.20_windows_x86_64.exe processes running, and killing any you find. |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
in two hours we will know more about that. just wondering why "Restart on Crash" didn´t work properly. does the same and got that option to kill tasks when crashed. RoC also got problems on startup the graphics app. seems that the graphics-app isn´t made very well. okay.. ist just a feature and not the main reason for boinc. ^^ |
Brian Nixon Send message Joined: 12 Apr 20 Posts: 293 Credit: 8,432,366 RAC: 0 |
just wondering why "Restart on Crash" didn´t work properlyI’ve not used that, but I suspect where it might be going wrong is by not setting the working directory correctly before starting the graphics application. If the graphics app is started from outside a task’s slot directory, it will run but not open a window. The key to the batch file is the PUSHD into the slot directory before starting the graphics (and the POPD back out afterwards so it doesn’t keep a handle to the directory, which BOINC will expect to be able to remove when the task is finished). |
MeeeK Send message Joined: 7 Feb 16 Posts: 31 Credit: 19,737,304 RAC: 0 |
okay... so far so good. it seems to work. WU was finished and after timeout it restarted. opening in fullscreen would ne nice. i sthere an option to modify the resolution or the size? you seem to be good in such things. :-) |
Questions and Answers :
Preferences :
always showing graphics
©2024 University of Washington
https://www.bakerlab.org