D3D depth issue and D2D render flash after update device from Lumia Black to Lumia Denim

Hi,
Yestoday I updated my lumia 929 device from Lumia Black to Lumia Denim. I develope game on this device.
My game is D2D and D3D Interop with silverlight 8.1 program. Then problem occured. The depth of 3D objects become wrong. And the d2d content will flash time to time. I use d2d to render text.
However, I solved the depth problem by setting up DepthStencilState. But the d2d content flash problem doesn't solved. 
Not only Lumia 929, but 930, 638 and many devices.
In lumia 525 and 520t, my game still works fine.
Can anyone help me ?
Any help will be appliciated, thank you.

Hello,
Can you provide more detail concerning how you are rendering your text with D2D? Are you doing the D2D update on the UI thread? I think we just need more detail before we can offer any suggestions.
Thanks,
James
Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/
Hi, thank you for your reply.
What do you mean D2D update?I draw D2D content on the UI thread.
I render text like below
void YHMText::DrawCustom(wstring str, float scale, float posX, float posY, float layoutX, float layoutY, float opacity, float rotationAngle, int colorID)
mText = str;
if (mIsResourceLoaded && opacity > 0.0f)
mText = str;
DX::ThrowIfFailed(m_dwriteFactory->CreateTextLayout(mText.c_str(), (uint32) mText.length(), mTextFormat.Get(), layoutX / scale, layoutY / scale, &mTextLayout));
DWRITE_TEXT_RANGE range = { 0 };
range.length = static_cast<uint32>(mText.length());
DX::ThrowIfFailed(mTextLayout->SetFontCollection(mFontCollection.Get(), range));
#ifdef YHMWINRT
Windows::Foundation::Size logicalSize = mDeviceResources->GetLogicalSize();
#endif
#ifdef YHMSILVERLIGHT
Windows::Foundation::Size logicalSize = mDeviceResources->GetRenderTargetSize();
#endif
float dpiScale = 1.0f;
#if (NTDDI_VERSION == NTDDI_WIN8)
dpiScale = 96.0f / mDeviceResources->GetDPI();
#endif
D2D1::Matrix3x2F screenTranslation;
D2D1::Matrix3x2F screenScale;
D2D1::Matrix3x2F globelScale = D2D1::Matrix3x2F::Scale(scale, scale);
D2D1_POINT_2F center;
center.x = posX * logicalSize.Width / 1920.0f * dpiScale;
center.y = posY * logicalSize.Height / 1080.0f * dpiScale;
D2D1::Matrix3x2F rotation = D2D1::Matrix3x2F::Rotation(rotationAngle, center);
if (gScreenMode == YHMScreenMode::Portrait)
screenTranslation = D2D1::Matrix3x2F::Translation(posX * logicalSize.Width / 1080.0f * dpiScale, posY * logicalSize.Width / 1080.0f * dpiScale);
screenScale = D2D1::Matrix3x2F::Scale(logicalSize.Width / 1080.0f * dpiScale, logicalSize.Width / 1080.0f * dpiScale);
if (gScreenMode == YHMScreenMode::Landerscape)
screenTranslation = D2D1::Matrix3x2F::Translation(posX * logicalSize.Width / 1920.0f * dpiScale, posY * logicalSize.Height / 1080.0f * dpiScale);
screenScale = D2D1::Matrix3x2F::Scale(logicalSize.Width / 1920.0f * dpiScale, logicalSize.Height / 1080.0f * dpiScale);
m_d2dContext->SetTransform(screenScale * globelScale * screenTranslation * mDeviceResources->GetOrientationTransform2D() * rotation);
DX::ThrowIfFailed(mTextFormat->SetTextAlignment(mTextAlignment));
mDeviceResources->BeginDrawD2D();
mBrush[colorID]->SetOpacity(opacity);
m_d2dContext->DrawTextLayout(D2D1::Point2F(0.f, 0.f), mTextLayout.Get(), mBrush[colorID].Get(), D2D1_DRAW_TEXT_OPTIONS_NO_SNAP);
mBrush[colorID]->SetOpacity(1.0f);
mDeviceResources->EndDrawD2D();
This works fine with Lumia Black. But in Lumia Denim, my d2d text may flash.
I noticed that the flash problem usually occured when D3D content draw first. In my render methods, d3d content and d2d content are place together.

Similar Messages

  • Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty

    Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty, and if its a hardware issue or software ??

    Hello HaithamOkeely,
    We've an article that provides the following troubleshooting steps that may help stabilize your iPhone.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Cheers,
    Allen

  • Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013

    Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013 
    Newform.aspx of list:-
    Custom List is not saving data sometimes in the new form after 15 minutes and only blank entry record got created without saving data, even though some columns are mandatory fields?

    Hello dcakumar,
    Sounds like a strang issue. If you can reproduce this can you see some errors in the ULS logs?
    - Dennis | Netherlands | Blog |
    Twitter

  • OSX 10.6.7 gets confused on access and connection rights after updateing device or program

    Hello
    On all our 4 Mac, all with Snow Leopard 10.6.7, I have an issue with storing access and network connection rights after updating programs and devices.
    We have a Canon network printer. Everything worked fine, the necessary programs had the rights to accept incoming network connections. But then I reinstalled the printer on two Macs because of the PDF fonts problem with 10.6.7. But now, the system asks for every single document if incomming connection should be allowed, even if the according program is listed in the firewall as "allow". Deleting the program from the list in the firewall and add it newly did not help.
    The same issue occures now with a selfwritten Applescript program. It access a key in the keychain. I told the system to allow access always, that worked in the beginning, but after updating the program, it does not store the program as allowed any more. I cannot even add it manually to the allowed list for the specific key. Means, I can select the program after clicking the plus, but the program simply not shows up in the list.
    This happened on two Macs up to now, one is the same as the printer problem, but the other does not have the printer problem (up to now).
    What to I have to do, that the program stores the given rights newly, also after updating a device or program?
    Other people have the same problem as you can see here.

    reFX guys were very helpful and took remote connection to my desktop. It was 5 minutes and Nexus2 was up and running.
    The thing was that my hard drive is case sensitive. They just renamed the file white_3_nsk to lower case in
    /Library/Audio/Plug-Ins/Components/Nexus.component/Contents/Resources/. After that, everything is working.
    Hopefully this helps someone in the future who has put fortune to Nexus2 and gets heart attack when it doesn't work.
    Regards,
    Hannu

  • I cannot agree with the term and conditions of itunes after update ios7?

    I cant agree with the terms and conditions of itunes after update to ios 7,

    had the same issue 52 pages and no button to agree - also the send to email doesnt work either.
    go to Radio on Music app not itunes store and you can agree it there - will appear red in top right hand corner worked for me!!

  • HT1600 apple tv just flashing after update?

    apple tv just flashing after update?

    Here are some steps and notes to try:
    MANY people are reporting they've had to try multiple micro USB cables to find one that works. I got one that worked from a neighbor.
    For clarification, this needs to be a "micro" USB, not a "mini" USB
    Some people have also reported they've had to try the Restore process more than once.
    1. Unplug Apple TV and move it to your computer running latest version of iTunes.
    2. Quit iTunes if running.
    3. Plug micro USB cable to the back of the Apple TV.
    4. Power the Apple TV using  the AC cable.
    5. iTunes shoud either launch itself (a good indication that the micro USB cable you're using is compatible), or launch iTunes.
    6. Click Restore. Software will download and install (big file).

  • Ipad 2 facetime and Imessage didnt work after updated to IOS 7.

    Hi everyone,my problem is my Ipad 2 facetime and Imessage didnt work after updated to IOS 7. When i try to login ,it's keep saying
         "facetime activation could not sign in please check your network connection" or
         "fImessage activation could not sign in please check your network connection"
    so,i reset everything and reset my network too,but nothing change.
    BUT,when i connect my ipad 2 with my iphone using ad-hoc,the facetime and Imessage worked really good,just like normal.
    And my iphone using Optus network.,So when i connect like that,my iphone using 3G and share ad-hoc to my ipad and everything work fine.
    SO,anyone having idea of how to fix this problem,please,help me. And thanks alot for your time .I just want everything working normally just like before i update to IOS 7.
                   NOTE : before i update my ipad and my iphone,everything worked fine with my wireless router. It's just happen to my ipad since the update.
    Thanks alot for your time ,any idea will be very helpful to me at this time. Again,thanks for you help .

    backup the device with itunes.
    Restore the device with itunes and set up as new.
    Sign into the facetime and imessage to activate it.
    After that is done and activation is good.
    Restore from the backup.
    Then make sure to sign into facetime and imessage again and you should be good to go

  • HT1461 Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time? I already contact Microsoft 2 times for activa

    Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time?
    I already contact Microsoft 2 times for activations.Hope I can fix from Apple instead.

    Ok....Got "Problem 2 and 4" solved....still trying to figure out this pop up everytime I click something...it's crazy how fast the pop up blinks...maybe once or 3 blinks then nothing till you close the window, then pop up then disappears...then click something
    else and pop up then gone....never seen this before...ive seen it when you tried to get online which turned out to be a virus on a customers cpu I worked on some years ago, I think it has something to do with the deleted files that I spoke of on last
    post...I notice it does it on start up as well.....think something is trying to install but not sure. Need to figure out where the appdata or start up folder and see whats in there....maybe it's in there.......so I might wait to see how it acts in the next
    couple days for "Problem 1"...but other than that it's running like a champ...so right now I just want to get the pop up windows to stop........thx again for everyone's help on this.
    John

  • Portable Wireless Server WG-C10 doesn't stream any audio and some video content after updating phone to Android Lollipop 5.x

    The Portable Wireless Server WG-C10 I purchased in 2014 doesn't stream any audio and some video content after updating phone to Android Lollipop 5.x.
    The WG-C10 firmware is the last version which is available and the PWS Manager software is the last version available in Google Play Store.
    There are no updates for the WG-C10 firmware nor PWS Manager software since 2013 or for Android 5.x (Lollipop) and I don't know if the WG-C10 firmware is the problem or if the PWS Manager software is the problem.
    BTW, I am still able to stream this content on my tablet which is on KitKat (4.4.x) so the files are not corrupted.  The only problem is with Lollipop.
    PWS Manager in the Google Play Store says it supports Android 4.0+ which is no longer true.
    The audio file formats which fail to stream are:  mp3 and wav
    The video file formats which fail to stream are:  mp4, avi and 3gp
    JPEG Images appear to work fine, but I haven't tried other formats.
    I purchased the WG-C10 to stream audio and video primarily to my phone and now that this no longer works, the WG-C10 is useless to me.
    Any ideas?

    Hi juicespeare1,
    Welcome to the Sony Community!
    Upon checking your inquiry, the best division to respond to your concern is our Sony Mobile department.
    You can reach them at this site: http://www.sonymobile.com/global-en/support/contact-us/contact-info/.
    If my post answers your question, please mark it as "Accept as Solution"

  • HT4623 I updated my ipad to iOS 6 yesterday and it worked immediately after update.  I left home for about 4 hours and when I returned I was uable to get my ipad to come up. I only have a black screen.  When I press the on off button nothing happens.

    I updated my ipad to iOS 6 yesterday and it worked immediately after updating my ipad worked as it should.  I left and came back in about 4 hours and have a black screen.  When I press the on off button nothing happens.  Help.

    Assuming that the battery isn't empty (and it can take up to 15 minutes of charging before it will respond), then have you tried a reset ? Press and hold both the sleep/on/off and home buttons for about 10 to 15 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • App crash when after update app. from App Store

    Hi all,
    I have some issue when after update app from App Store.
    The issue happened since I registered the last update recently.
    Here are the logs from iPhone console:
    Jun 28 18:15:45 Rahul-Singhs-iPad backboardd[27] <Warning>: Application 'UIKitApplication:com.tabsfmiPad.tabsBi[0xb917]' exited abnormally with signal 11: Segmentation fault: 11
    Jun 28 18:15:45 Rahul-Singhs-iPad ReportCrash[163] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
    Jun 28 18:15:45 Rahul-Singhs-iPad ReportCrash[163] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/TabsBi_2013-06-28-181544_Rahul-Singhs-iP ad.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

    Try resetting your iPad  >  iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    If that doesn't help, restore to factory settings.
    Tap Settings > General > Reset > Reset All Settings

  • Iphone 4 factory unlocked turned to locked after updating software from 4.3 to 4.3.3, any help?

    Iphone 4 factory unlocked turned to locked after updating software from 4.3 to 4.3.3, any help?

    the store dosnt  unlock the phones ,they buy  and sell refurbished phones. when I got THE phone the ios on it was 4.1.2. . It seems they have not used this phone .I called  apple techincal suppor.the said it has hardware problem !

  • There is no sim card installed in the iphone error after update software from 4.1 to 5.01(iphone 3gs)

    there is no sim card installed in the iphone error after update software from 4.1 to 5.01(iphone 3gs)

    Thanks for reply, but problem is diffrent I got updated my device via I tune(IPSW 5.01) before that, it was working well after upgreade 4.1 to 5.01 I am getting problem. No cydia no signal!
    BTW Thank you,

  • Tp return code 12 after update oracle from 9.2.0.4 to 9.2.0.8

    Hi
    tp return code 12 after update oracle from 9.2.0.4 to 9.2.0.8
    Please help me.
    Thank you

    Hi Maurizio,
    What does the transport logs says about the error?
    -Pinkle

  • HT2827 i just updated my software for the apple tv and the light is flashing and it wont restart after update  thoughts?

    i tried to update my software for apple tv and it will not restart after update.  flashing lights

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

Maybe you are looking for