climateprediction.net home page
AM3P EU Graphics are missing all text

AM3P EU Graphics are missing all text

Questions and Answers : Unix/Linux : AM3P EU Graphics are missing all text
Message board moderation

To post messages, you must log in.

AuthorMessage
DJStarfox

Send message
Joined: 27 Jan 07
Posts: 300
Credit: 3,288,263
RAC: 26,370
Message 44513 - Posted: 12 Jul 2012, 4:35:07 UTC

Model is running OK I believe. However, the graphics do not show any font or text. Even when I press 'h' the gray box comes up but there is no text to read.

What is wrong and how to fix?


ID: 44513 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 44514 - Posted: 12 Jul 2012, 8:15:14 UTC - in response to Message 44513.  

What version of BOINC is this on?

Backups: Here
ID: 44514 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4342
Credit: 16,497,933
RAC: 6,477
Message 44515 - Posted: 12 Jul 2012, 10:32:50 UTC - in response to Message 44514.  

If you start BOINC from a terminal any messages there?

I know that I don't get any graphics at all, just this message in the terminal /home/fred/Downloads/BOINC/projects/climateprediction.net/hadam3p_pnw_graphics_6.09_i686-pc-linux-gnu: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
This with 7.0.28 which is the latest version.
when I run sudo apt-get install libjpeg62 it tells me that libjpeg62 is already installed and the latest version.

I am running Ubuntu12.04 64 bit version

ID: 44515 · Report as offensive     Reply Quote
DJStarfox

Send message
Joined: 27 Jan 07
Posts: 300
Credit: 3,288,263
RAC: 26,370
Message 44516 - Posted: 12 Jul 2012, 11:29:44 UTC
Last modified: 12 Jul 2012, 11:33:37 UTC

Sorry, forgot system details. I'm running BOINC 6.10.58. Fedora 14 with kernel 2.6.35.14-106.fc14.x86_64. I don't see any error messages when it's running or i click show graphics.

Is there some kind of graphics debug file maybe?


11-Jul-2012 20:27:57 [---] Starting BOINC client version 6.10.58 for x86_64-pc-linux-gnu
11-Jul-2012 20:27:57 [---] Config: don't use coprocessors
11-Jul-2012 20:27:57 [---] Config: don't compute while dump is running
11-Jul-2012 20:27:57 [---] Config: don't compute while k3b is running
11-Jul-2012 20:27:57 [---] Config: GUI RPC allowed from any host
11-Jul-2012 20:27:57 [---] log flags: file_xfer, sched_ops, benchmark_debug, task_debug, unparsed_xml
11-Jul-2012 20:27:57 [---] Libraries: libcurl/7.21.0 NSS/3.12.10.0 zlib/1.2.5 libidn/1.18 libssh2/1.2.4
11-Jul-2012 20:27:57 [---] Data directory: /var/lib/boinc
11-Jul-2012 20:27:57 [---] Processor: 8 GenuineIntel Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz [Family 6 Model 26 Stepping 4]
11-Jul-2012 20:27:57 [---] Processor: 8.00 MB cache
11-Jul-2012 20:27:57 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vm
11-Jul-2012 20:27:57 [---] OS: Linux: 2.6.35.14-106.fc14.x86_64
11-Jul-2012 20:27:57 [---] Memory: 11.75 GB physical, 2.00 GB virtual
11-Jul-2012 20:27:57 [---] Disk: 456.37 GB total, 184.84 GB free
11-Jul-2012 20:27:57 [---] Local time is UTC -4 hours
11-Jul-2012 20:27:57 [SETI@home] Found app_info.xml; using anonymous platform
11-Jul-2012 20:27:57 [Milkyway@Home] URL http://milkyway.cs.rpi.edu/milkyway/; Computer ID 218561; resource share 10
11-Jul-2012 20:27:57 [climateprediction.net] URL http://climateprediction.net/; Computer ID 1087841; resource share 30
11-Jul-2012 20:27:57 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID 5587907; resource share 20
11-Jul-2012 20:27:57 [rosetta@home] URL http://boinc.bakerlab.org/rosetta/; Computer ID 1313636; resource share 20
11-Jul-2012 20:27:57 [malariacontrol.net] URL http://www.malariacontrol.net/; Computer ID 164939; resource share 10
11-Jul-2012 20:27:57 [climateprediction.net] General prefs: from climateprediction.net (last modified 07-Jul-2012 13:36:01)
11-Jul-2012 20:27:57 [climateprediction.net] Computer location: home
11-Jul-2012 20:27:57 [climateprediction.net] General prefs: no separate prefs for home; using your defaults
11-Jul-2012 20:27:57 [---] Preferences:
11-Jul-2012 20:27:57 [---] max memory usage when active: 6017.15MB
11-Jul-2012 20:27:57 [---] max memory usage when idle: 6017.15MB
11-Jul-2012 20:27:57 [---] max disk usage: 4.00GB
11-Jul-2012 20:27:57 [---] max CPUs used: 4
11-Jul-2012 20:27:57 [---] don't compute while active
11-Jul-2012 20:27:57 [---] don't use GPU while active
11-Jul-2012 20:27:57 [---] max download rate: 64000 bytes/sec
11-Jul-2012 20:27:57 [---] max upload rate: 32000 bytes/sec
11-Jul-2012 20:27:57 [---] (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
11-Jul-2012 20:27:57 [---] Not using a proxy
Initialization completed
11-Jul-2012 20:27:57 [---] Suspending computation - initial delay
11-Jul-2012 20:27:57 [---] Suspending network activity - time of day
11-Jul-2012 20:42:58 [climateprediction.net] [task_debug] ACTIVE_TASK::start(): forked process: pid 8222
11-Jul-2012 20:42:58 [climateprediction.net] [task_debug] task_state=EXECUTING for hadam3p_eu_2jv3_1976_1_007376519_1 from start
11-Jul-2012 20:56:52 [climateprediction.net] [task_debug] result hadam3p_eu_2jv3_1976_1_007376519_1 checkpointed
11-Jul-2012 21:10:34 [climateprediction.net] [task_debug] result hadam3p_eu_2jv3_1976_1_007376519_1 checkpointed
ID: 44516 · Report as offensive     Reply Quote
Profile Thyme Lawn
Volunteer moderator

Send message
Joined: 5 Aug 04
Posts: 1283
Credit: 15,824,334
RAC: 0
Message 44517 - Posted: 12 Jul 2012, 18:39:24 UTC - in response to Message 44516.  

Is there some kind of graphics debug file maybe?

Yes. You should find it at /var/lib/boinc/slots/<n>/stderrgfx.txt, where <n> is the slot number for your task (listed on its BOINC manager task properties dialog).
"The ultimate test of a moral society is the kind of world that it leaves to its children." - Dietrich Bonhoeffer
ID: 44517 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,477,979
RAC: 4,009
Message 44518 - Posted: 12 Jul 2012, 22:41:51 UTC - in response to Message 44515.  

If you start BOINC from a terminal any messages there?

I know that I don't get any graphics at all, just this message in the terminal /home/fred/Downloads/BOINC/projects/climateprediction.net/hadam3p_pnw_graphics_6.09_i686-pc-linux-gnu: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
This with 7.0.28 which is the latest version.
when I run sudo apt-get install libjpeg62 it tells me that libjpeg62 is already installed and the latest version.

I am running Ubuntu12.04 64 bit version


You may need the 32bit version of libjpeg (and then any other libxxx related to images that it will give you an error on when trying to display images).
ID: 44518 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 44519 - Posted: 12 Jul 2012, 22:44:31 UTC - in response to Message 44515.  
Last modified: 12 Jul 2012, 22:47:10 UTC

Dave

Your problem may be that the file is in a place not accessible by the graphics program. Not sure where it should be, so I'll ask around.
You may need a symlink.
And it's current location may depend on where you got BOINC: Berkeley, or a repository.

edit
Just as I post here before posting on our other board to see if George has an idea ...


Backups: Here
ID: 44519 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,477,979
RAC: 4,009
Message 44520 - Posted: 13 Jul 2012, 2:14:17 UTC - in response to Message 44513.  

Model is running OK I believe. However, the graphics do not show any font or text. Even when I press 'h' the gray box comes up but there is no text to read.

What is wrong and how to fix?



Are you running some kind of graphics hardware accelerated desktop for Linux, similar to "Aero" in Vista/Win7? I saw some funky things with the graphics when I accidentally had that turned on on one of my Linux PCs.
ID: 44520 · Report as offensive     Reply Quote
DJStarfox

Send message
Joined: 27 Jan 07
Posts: 300
Credit: 3,288,263
RAC: 26,370
Message 44521 - Posted: 13 Jul 2012, 4:14:22 UTC

The only thing that looks interesting is the contents of the stderrgfx.txt file:

Failed to load '/var/lib/boinc/projects/climateprediction.net/globe.jpg'.
Failed to load '/var/lib/boinc/projects/climateprediction.net/eu.jpg'.


These two lines repeat several times...and the two images referenced are there in the filesystem.... So, not sure why the graphics app can't read them....

Oh, and I do have libjpeg x86_64 and i686 installed....
libjpeg-turbo-1.1.1-1.fc14.i686
libjpeg-turbo-1.1.1-1.fc14.x86_64


Does the graphics program run as the boinc user account or as my account (logged in user)? I search file permissions just in case.
ID: 44521 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4342
Credit: 16,497,933
RAC: 6,477
Message 44522 - Posted: 13 Jul 2012, 6:19:34 UTC

Thanks mods,

your posts guided my googling and
sudo apt-get install libjpeg62:i386

has sorted it out for me.

This should go into the linux FAQ I think

Dave
ID: 44522 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 44523 - Posted: 13 Jul 2012, 6:30:01 UTC - in response to Message 44522.  

It's a sticky near the top of this section of this board.


Backups: Here
ID: 44523 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,477,979
RAC: 4,009
Message 44524 - Posted: 13 Jul 2012, 13:11:22 UTC

@DJStarfox

If you didn't have libjpeg 32bit installed, you wouldn't even be able to see the graphic. I was wondering if you are using a graphically accelerated desktop for Linux, similar to Aero for Windows?

@Dave Jackson

I'll add that to the sticky about 64 bit at the top of the forum. It's difficult to know what to put in there though as different distributions need more than just 32bit libjpeg installed. My 64 bit Fedora also wants 32 bit libpng and a couple other 32 bit packages installed in order to display the graphics.

ID: 44524 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4342
Credit: 16,497,933
RAC: 6,477
Message 44525 - Posted: 13 Jul 2012, 15:13:51 UTC - in response to Message 44524.  
Last modified: 13 Jul 2012, 15:14:42 UTC

Thanks, I had to install a few libs to get things to run at all but the libjpeg was the only one extra to get the graphics going.

I guess it is the old story that if all distributions put in stuff so everything just worked they would be as bloated as windows and different teams think differently about what is most important. While I can look at the graphics, I haven't worked out how to get them full screen yet as opposed to just a small window? - I guess that will be some more playing around - it has taken me three months to get them going at all after upgrading to this version of Ubuntu and it's not as if I looked at them more than once every two or three weeks before upgrading the linux distribution so it isn't urgent.

Dave
ID: 44525 · Report as offensive     Reply Quote
Belfry

Send message
Joined: 19 Apr 08
Posts: 179
Credit: 4,306,992
RAC: 0
Message 44526 - Posted: 13 Jul 2012, 15:46:46 UTC
Last modified: 13 Jul 2012, 15:47:56 UTC

Is Dave Jackson = DJStarfox?

If the OP is still having the problem, it could be a permissions problem.

DJStarfox, I'm assuming you installed BOINC from a repository, because you mention running as the "boinc" user. Before trying any of the below commands, suspend BOINC network activity, shutdown BOINC and backup the data directory.
chown -R boinc:boinc /var/lib/boinc-client/projects/climateprediction.net/txf
chmod 775 /var/lib/boinc-client/projects/climateprediction.net/txf
chmod 644 /var/lib/boinc-client/projects/climateprediction.net/txf/*
ID: 44526 · Report as offensive     Reply Quote
DJStarfox

Send message
Joined: 27 Jan 07
Posts: 300
Credit: 3,288,263
RAC: 26,370
Message 44527 - Posted: 13 Jul 2012, 22:47:23 UTC - in response to Message 44526.  

Ah! Your chmod commands on the txf/ folder fixed the problem.

Thanks.

PS No, not running any graphic accelerator stuff.
ID: 44527 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,477,979
RAC: 4,009
Message 44534 - Posted: 15 Jul 2012, 17:30:18 UTC - in response to Message 44525.  

Dave Jackson wrote:
While I can look at the graphics, I haven't worked out how to get them full screen yet as opposed to just a small window? - I guess that will be some more playing around


On my Fedora installs, it's just a maximize widget in the upper right corner of the globe graphic window. I haven't used Ubuntu for awhile but I know in some desktops that the maximize widget is in the upper left of the window.

If it's not there on yours, but is there on other program windows, I'm not sure what is going on. Are there any other errors in the terminal window when trying to display the globe graphic?
ID: 44534 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4342
Credit: 16,497,933
RAC: 6,477
Message 44535 - Posted: 16 Jul 2012, 7:53:01 UTC - in response to Message 44534.  

Thanks, No no other errors, the only funny thing I get in the terminal I start BOINC from is a series of these messages. (boincmgr:2316): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.


On the maximize widget, it has now reappeared and works after a reboot. I noticed that it had gone on some other windows as well. Normally I just hibernate when I switch off after stopping BOINC.

I still don't know why the maximize, close and minimise widgets had gone on this and some other applications. Will try and pay attention to see if when I re-create the problem I can work out what caused it. It sure as hell isn't going to happen when I deliberately go looking for it!

Dave
ID: 44535 · Report as offensive     Reply Quote
DaveG27

Send message
Joined: 8 Nov 06
Posts: 18
Credit: 2,425,895
RAC: 0
Message 44536 - Posted: 17 Jul 2012, 22:43:44 UTC

I was updating my linux O.S. and installed linux mint 13 cinnamon 64 bit (I do not like the new ubuntu unity interface). When installed bionc and ran CPDN I had no Graphics at all well coming upon this thread I slowly managed to get graphics but no text,like the first post with some more persistence I got that as well. Its thanks to this thread that it's working all right now, I could not find the info any where else. Perhaps this thread should be turned into a sticky.

Dave
ID: 44536 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 44537 - Posted: 17 Jul 2012, 23:29:32 UTC - in response to Message 44536.  

OK, I've hammered a nail into it. That should keep it in place. :)
ID: 44537 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : AM3P EU Graphics are missing all text

©2024 climateprediction.net