always showing graphics

Questions and Answers : Preferences : always showing graphics

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100352 - Posted: 8 Jan 2021, 23:54:33 UTC

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
ID: 100352 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100355 - Posted: 9 Jan 2021, 1:30:03 UTC - in response to Message 100352.  

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.
ID: 100355 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1684
Credit: 17,932,799
RAC: 22,884
Message 100356 - Posted: 9 Jan 2021, 1:48:02 UTC - in response to Message 100355.  
Last modified: 9 Jan 2021, 1:51:33 UTC

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.
Or a memory issue (or both).
failed to create shared mem segment: rosetta Size: 25001680
appears in all the errors i checked out bar one, being the usual
Reason: Access Violation (0xc0000005) at address 0x000002674044BDA0
memory issue of some sort message.


I'd also check it's CPU temperature.
Grant
Darwin NT
ID: 100356 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100357 - Posted: 9 Jan 2021, 5:34:26 UTC - in response to Message 100356.  

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.
Or a memory issue (or both).
failed to create shared mem segment: rosetta Size: 25001680
appears in all the errors i checked out bar one, being the usual
Reason: Access Violation (0xc0000005) at address 0x000002674044BDA0
memory issue of some sort message.


I'd also check it's CPU temperature.



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
ID: 100357 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1684
Credit: 17,932,799
RAC: 22,884
Message 100359 - Posted: 9 Jan 2021, 6:53:30 UTC - in response to Message 100357.  
Last modified: 9 Jan 2021, 6:53:56 UTC

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
ID: 100359 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Kissagogo27

Send message
Joined: 31 Mar 20
Posts: 86
Credit: 2,929,647
RAC: 2,763
Message 100361 - Posted: 9 Jan 2021, 10:26:14 UTC

hi, and a lot of tasks aborded by server ... try a lower cache size ...
ID: 100361 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100363 - Posted: 9 Jan 2021, 11:32:17 UTC - in response to Message 100357.  
Last modified: 9 Jan 2021, 11:37:14 UTC

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
ID: 100363 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100364 - Posted: 9 Jan 2021, 12:16:45 UTC - in response to Message 100359.  

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.
ID: 100364 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100365 - Posted: 9 Jan 2021, 12:17:52 UTC - in response to Message 100363.  

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



Thanks alot, mate! I will try this and give a feedback.
ID: 100365 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100371 - Posted: 9 Jan 2021, 20:26:23 UTC - in response to Message 100363.  
Last modified: 9 Jan 2021, 20:29:52 UTC

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


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]
ID: 100371 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100372 - Posted: 9 Jan 2021, 20:49:26 UTC - in response to Message 100371.  

doesnt work
After 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
ID: 100372 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100373 - Posted: 9 Jan 2021, 21:02:22 UTC - in response to Message 100372.  
Last modified: 9 Jan 2021, 21:09:36 UTC

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!
ID: 100373 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100374 - Posted: 9 Jan 2021, 21:16:45 UTC - in response to Message 100373.  
Last modified: 9 Jan 2021, 21:37:14 UTC

(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% & POPD
to
		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!)
ID: 100374 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100376 - Posted: 9 Jan 2021, 21:40:16 UTC - in response to Message 100373.  

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.
ID: 100376 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100377 - Posted: 9 Jan 2021, 22:35:18 UTC
Last modified: 9 Jan 2021, 22:55:12 UTC

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
ID: 100377 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100378 - Posted: 9 Jan 2021, 22:57:10 UTC - in response to Message 100377.  
Last modified: 9 Jan 2021, 23:03:36 UTC

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 %GFXRELPATH% & POPD
	)
)
TIMEOUT 600
GOTO BEGIN



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
ID: 100378 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100379 - Posted: 9 Jan 2021, 23:26:31 UTC - in response to Message 100378.  

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.
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.
ID: 100379 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100380 - Posted: 9 Jan 2021, 23:53:25 UTC - in response to Message 100379.  

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. ^^
ID: 100380 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Brian Nixon

Send message
Joined: 12 Apr 20
Posts: 293
Credit: 8,432,366
RAC: 0
Message 100381 - Posted: 10 Jan 2021, 0:43:22 UTC - in response to Message 100380.  

just wondering why "Restart on Crash" didn´t work properly
I’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).
ID: 100381 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile MeeeK

Send message
Joined: 7 Feb 16
Posts: 31
Credit: 19,737,304
RAC: 0
Message 100382 - Posted: 10 Jan 2021, 1:32:01 UTC - in response to Message 100381.  

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. :-)
ID: 100382 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

Questions and Answers : Preferences : always showing graphics



©2024 University of Washington
https://www.bakerlab.org