www.virtualacorn.co.uk/forum

For support and advice on VirtualAcorn products
Forums now closed. This is an HTML only record of the content.
HTML version of Forum generated Thursday 24th May 2018

All times are UTC [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Unable to Create Primary Surface
PostPosted: Fri Jun 27, 2008 5:48 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Hi,

I've just "upgraded" to Vista (Home Premium) and have had a few "Unable to create primary surface" errors from VRPC, when switching between full screen and windowed mode. This results in the VRPC display going blank (though the program stays alive) which means that I lose all of my work. :( Clearly this is a fairly major problem for me. Has anyone else encountered it? Is there a solution?

Thanks,
Adam


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Fri Jun 27, 2008 8:03 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
Re: "....which means that I lose all of my work. ............. Is there a solution?

I am sure you will have sorted out a work around.
(save your work before changing screen mode)

I have seen the message you are referring to on Red Squirrel after changing the video card and came to the conclusion that the change left something in a bad state. I came to the conclusion that the change (of card) had not completed properly.

I have also seen it on VRPC-SE (can't remember how I provoked it) - but it sorted itself out.

_________________
John


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sat Jun 28, 2008 1:00 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Make sure you have followed the instructions on the Vista page in the PC section of the VirtualAcorn Knowledge Base (follow the links from the support button on the main website). Also make sure that you copy is up to date from the downloads section of the VirtualAcorn website.


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sun Jun 29, 2008 10:36 am 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Yes, it's the most up-to-date version. I've followed the instructions on the support page, though have UAC active. What bearing could that have on a DirectX error?

I've noticed lots of pairs of these notes in the Vista logs:
Quote:
A request to disable the Desktop Window Manager was made by process (Acorn RiscPC Emulator with RISC OS Adjust)
The Desktop Window Manager was unable to start because composition was disabled by a running application
Also, VRPC is listed as a compatibility "problem" by Vista.

Presumably both of these are expected?

Thanks,
Adam


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sun Jun 29, 2008 1:01 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Quote:
Yes, it's the most up-to-date version. I've followed the instructions on the support page, though have UAC active...


Right, so when I said "Make sure you have followed the instructions on the Vista page..." - and you said that you had, that wasn't correct. In fact your answer was actually "No - I read the document, but then ignored what it said..."


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sun Jun 29, 2008 6:30 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
Probably quite correct - even the wording is a little harsh.

However, we can see why people want UAC enabled with this quote from Microsoft:
"UAC is a significant focus of Windows Vista and a fundamental component of Microsoft???s overall security vision."

_________________
John


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sun Jun 29, 2008 10:25 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
Quote:
Yes, it's the most up-to-date version. I've followed the instructions on the support page, though have UAC active...
Right, so when I said "Make sure you have followed the instructions on the Vista page..." - and you said that you had, that wasn't correct. In fact your answer was actually "No - I read the document, but then ignored what it said..."
Well, you've also ignored my question: What does UAC have to do with an ActiveX error?

If there is some possible link then I'm more than happy to accept than my "non-standard" set up might be a problem and maybe turn UAC off but if not, what's the point in labouring over whether UAC is on or off?

Thanks,
Adam

P.S. I don't want to make this into a UAC vs no-UAC advocacy thread - perhaps I'll start a self-contained thread about that ;)


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Mon Jun 30, 2008 11:04 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Look, just turn UAC off. That should stop the Direct X errors.


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Tue Jul 01, 2008 8:06 am 
Offline

Joined: Sun Jan 06, 2008 9:43 am
Posts: 5
I'm sorry, but that is an incredibly unhelpful response with an unreasonable tone to what was a perfectly valid question. Something like,

'We believe that UAC causes some sort of unexpected interaction with ActiveX. Until the problem can be fully traced please turn UAC off.' would have been far more reasonable.

_________________
Richard


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Tue Jul 01, 2008 1:25 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
I expect that when someone has a problem and that I refer them to a document that provides the solution, that they will read it and apply the suggested fix. In this case turning off UAC should resolve the DirectX errors. Problem - followed by possible solution. Now in Adam's case this may not resolve the issue, but until UAC is disabled (as per the Vista article) we won't know.

I simply cannot understand why there could be a problem disabling UAC to see if it's the cause of the problem. If it is, then great, if not we need to investigate further. Subject closed.


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Wed Jul 02, 2008 10:55 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
I expect that when someone has a problem and that I refer them to a document that provides the solution, that they will read it and apply the suggested fix. In this case turning off UAC should resolve the DirectX errors. Problem - followed by possible solution. Now in Adam's case this may not resolve the issue, but until UAC is disabled (as per the Vista article) we won't know.
Your knowledgebase Vista article makes no mention of DirectX errors and the UAC section just talks about VirtualStore - hence why I wasn't sure whether the UAC issue was relevant.

Quote:
I simply cannot understand why there could be a problem disabling UAC to see if it's the cause of the [errors].
Because I've chosen to have UAC enabled. It's my computer after all, and UAC is an integral part of it. I would be equally careful if you suggested I disable my firewall and virus protection.

In any case, I never said it was a "problem".

Quote:
If it is, then great, if not we need to investigate further. Subject closed.
I will try turning off UAC and see if the errors happens again. The only trouble is it's intermitant :( so it's might be hard to nail down. In fact after happening a few times in close succession, the error has not reoccured since I started this thread. I'm not sure if that's good or bad news! ;)

Thanks,
Adam


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Sun Jul 13, 2008 10:52 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
OK, I found how to make this error 100% repeatable. If VRPC is active when Vista wakes from "sleep", the error happens every time. I have switched off UAC. The exact error is:
Code:
Failed to create primary surface (0x8876024e)
The number is the same each time.

Any ideas?

Thanks,
Adam


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Mon Jul 14, 2008 10:50 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Right. So this is the "Hibernate" problem. This showed up quite early on with Vista and a number of users seemed to suffer from it. The fault is caused by Vista not restoring VRPCs frame buffer on the graphics card. XP has no problem with this.

The feedback I have had thus far is that for most people installing Vista SP1 fixes the problem.


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Mon Jul 14, 2008 7:23 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
SP1 is installed and I'm up to date with all other OS updates.

Adam


Top
 Profile  
 
 Post subject: Re: Unable to Create Primary Surface
PostPosted: Tue Jul 15, 2008 9:17 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
OK. Try this test.

Can you 'sleep' the PC with VRPC running in a Window? Does VRPC re-start?
Can you 'sleep' the PC with VRPC running full screen? Again does VRPC start?


Top
 Profile  
 
 
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

   
Forums originally Powered by phpBB © 2007 phpBB Group. Contents © 3QD Developments Ltd 2018 version no. 1.07