Mac and content management service problem
So, my 1 1/2 year old iMac once again refuses to detect the 2nd monitor. Apparently Apple was "looking" into this problem back in 2015. I guess with 10s of billions of dollars, they can't hire the right people to fix their bugs.
Anyway, I thought I'd try the "Detect Displays" on the display dialog, which of course does nothing. So, I figured I'd have a look in the console to see if there is any error associated with that silent and ineffective command...nada.
But, what I DO see are thousands of errors like this:
5/1/16 10:06:32.484 AM com.apple.xpc.launchd[1]: (com.daz3d.content_management_service) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
WTF? Why is my computer wasting so much time doing this? Is this associated to PostgresSQL?
I launched 4.9 and the messages continued.
I logged into Connect, and the messages continued.
What is this service and do I want to leave it there or should I find where it's hiding and prevent it from starting up?
Maybe you'll have some answers after I've restarted and reset my PRAM and SMC, since apparently that's the only way to get my computer's second screen to be detected...fun...fun. Linux keeps sounding better and better every day.

Comments
Yeah...it is... (Sorry, Totte
)
mambanegra, I'm not sure that your problem is related to PostgreSQL...it may be a hold over from when Valentina was the database server used. What was the original version of Studio you installed on this machine?
Are you running DS via wine or something? I have a few 2D apps that I use that would be difficult to replace, but if things don't start getting better, my next main machine will not be a mac (nor a windows machine). I already have a windows computer for doing renders...so, it's becoming less and less necessary to have a commercial OS.
I honestly don't remember which version of DS I first installed here, but I have upgraded at least 1 time (from 4.8). Probably one time before that too, at least. How do I go about determining if Valentina is still laying about?
BTW, oddly enough, resetting the PRAM always works with the external monitor. Nothing else does. I'm using a cheapy thunderbolt to VGA dongle, so it could be related to that...but, I see that a lot of people complain about it, I imagine it's not just the off brand device.
The Content Management Service is indeed the old Valentina database engine, which DS no-longer uses (nor does Cararar 8.5). If you don't need Valentina you should be able to uninstall it.
How far back does DS not require it? I mostly use 4.9, but I occasionally fall back to 4.8 when needed (I do wish DAZ would require that PAs go back and update their characters to make sure they characters look good in 4.9...)
I think postres sopport came in DS 4.6.
I think you should uninstall the Valentina CMS and be sure you are running the Postres one. 4.9 doesn't evenb support Valentina anymore AFAIK.
The second screen issue with iMacs, hmm, haven't heard about that before, what kind of screen are you attaching and how?
So, El Capitan with a Dell 24 inch monitor connected via a Cable Matters Gold Plated Mini DisplayPort (Thunderbolt™ Port Compatible) to DVI Male to Female Adapter in Black It works perfectly...most of the time.
Basically, if I restart my computer, there is a chance that my second monitor will not be detected, and nothing I've managed to do (other than resetting PRAM) will get it back...and I've tried all sorts of stuff from booting into safe mode, switching TB ports, etc.
The first time I noticed it was after my computer had lost power due to an extended power outage. I don't think that was the cause...but, who knows. I never had this problem when I was running Yosemite (or whatever came before EC). But, I upgraded early on, so, it took a long time before the problem began for me. Apparently some folks encountered it right away after the upgrade.
Yes, the latest builds of the dev branch of Wine...1.9.7 and later (I haven't checked 1.9.9 yet...just downloaded it, but haven't built it yet).
Any idea about how big of a penalty there is with rendering? Does it render OK?
Does anyone use GIMP? I used to play with it back many years ago. Have they been improving it, or is it on the slow burn these days as far as updates go?
Informartion on when postgres CMS came into DS, I was right about 4.6, but it made the first public appearance in the Public Beta of 4.6.3.29, and int the Generel Release in 4.6.3.52.
Have you tried this? http://osxdaily.com/2014/03/31/detect-displays-mac-os-x/
It looks like the problem is when the machine goes to sleep and comes back (I don't have any imacs so I cannot test that)
Yeah. It didn't work. There are a handful of recommendations I found, but the only thing I've found that works is PRAM. The biggest problem with that is having to disconnect everything and reconnect it, since my desk is cluttered, making it hard to get behind the machine. So, it's hardly a huge deal, just a hassle.
By the chaneg log:
4.6.3.0 is when investigation into PostgreSQL as an alternative to Valentina began; see http://docs.daz3d.com/doku.php/public/software/dazstudio/4/change_log_4_6_3_52
4.6.3.29 would have been the first Public Build with PostgreSQL; see the bottom of the Public Beta 1 section in the change log - the last version listed in a given section corresponds to the version a given channel was provided for that phase of development.
4.6.3.50 (quickly followed by 4.6.3.52) would have been the first General Release build; see http://docs.daz3d.com/doku.php/public/software/dazstudio/4/change_log_4_6_3_52#release_to_production.
what version of the OS and how is the LCD connected, I'm running multiple instances and itterations of OS X here with external LCD's and not having any issue with Apples TB/TB2 to DVI adapters.
http://www.apple.com/shop/product/MB570LL/B/mini-displayport-to-dvi-adapter?afid=p238|sADUYkonh-dc_mtid_1870765e38482_pcrid_52243316890_&cid=aos-us-kwg-pla-btb-slid-
VGA is an outdated technology and it has serious limits with LCD that DVI does not.
It's El Capitan + Dell 24inch flatscreen with an offbrand miniport to dvi adaptor (there is a link in my first reply to totte to the actual product I'm using). The adaptor works just fine until the occasional reboot that causes my iMac to forget to look for it.
what variant of OS X are you currently running? have you tried backing up with TM and updating the OS?
>About this Mac
have you contacted the developer?
http://www.cablematters.com/cs-Downloads.aspx
have you tried flipping your DVI cable so the end going into the LCD is going ino the adapter instead? Have you tried another brand. The problem may not be the iMac "forget to look" the problem could be the signal is out of sync? Have you tried replacing the cable from the adapter to the LCD?
https://support.apple.com/en-us/HT201177
Renders fine...I'm using Nvidia's drivers and my card is fully recognized and used (granted it's only a 1 GB 430, so it isn't much help...)
Not sure why any of that would matter since it works 90% of the time, and has always worked fine once I reset PRAM. If it were a problem with the cable, I can't see how that would matter and would persist without making changes to some low level settings in the mac hardware (I assume that's what the PRAM is...). Obviously something is getting garbled in those PRAM settings. It could be due to a bad signal coming from the dsplay port device, or maybe the cable itself, I guess, but I don't have any other device to switch with, and I have removed the cable and replaced it on both ends (though, I don't think I actually flipped them). I've been using that monitor for a while. Though, it might be newer than the computer. Now that I think about it, it's possible that my old Samsung monitor may have done this too, but I didn't have a way to verify that it was still working and threw it away. It was a pretty crappy display and was many years old. It cost a LOT more than the really nice one I replaced it with...
That's awesome! Maybe that crappy windows machine (it's actually a very nice machine...just...I don't like windows 10) can be a guinea pig. Maybe it's time to start reading up on setting up a dual boot thing with Windows 10. I'd love to have a more familiar desktop there.
you said yourself Apple was looking into the problem in 2015. If you're estimation is correct it predates a possible full update and at least 3 incremental ones. If you lacked the adapter prior to the issue it could be several iterations of the OS one of which had a noted external monitor issue acknowledged by Apple and patched in a later iteration of OS X.
good luck.
One word of advice...sort of sanity preserving...Ubuntu, while good for most transitioning from Windows/new users is one of the hardest distros to work with 'under the hood' and compile things on. I've found that for WINE it seems to work best compiled on the machine it will run on. And compiling is most likely needed as there usually isn't the newest Wine, for Ubuntu or if there is, it's not in one of the standard repositories.
And to some degree Debian and its other derivatives are similar...not impossible to work with, but, at least to me, more work than should be needed.
I'd say, grab a Live (DVD) of several distros and play around.
My system is up to date. That has been the first thing to try before messing with PRAM. Unfortunately, it was updated before this most recent reoccurance (the only things that needed updating was XCode and iMovie or something). But, maybe the problem has been fixed and now with a clean set of pram settings, it won't happen again. That would be nice.
That's good to know. I use ubuntu at work all the time, just not with a GUI. My experience with Wine was limited to trying to get a few windows things to run on my Mac, which usually resulted in less than satisfactory performance or awful, almost unreadable text due to issues with font antialiasing. I can handle my own with Make, but I don't have the patience to spend too much time getting things to work....I do enough of that at work, which is why I loved OS X. So, your recommendation is some flavor of redhat? I've been using ubuntu lately mostly because I had to admin a few old machines and learned to like apt-get. But, prior to that, redhat was what I used.