Summary: | latest mesa git probably after commit c591b1e59454db2e8854e36852e0d413ce38b2f2 causes strange transparency in supertuxkart | ||
---|---|---|---|
Product: | Spam | Reporter: | david becerra <davidbecerraporres> |
Component: | Two | Assignee: | Tapani Pälli <lemody> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | deveee, germano.massullo, leonard |
Version: | unspecified | Keywords: | love |
Hardware: | Other | ||
OS: | All | ||
URL: | https://www.newsworldlab.com/ | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
screenshot
it also happens in the configuration stdout.log glxinfo on windowed mode and on top of firefox |
Created attachment 135352 [details]
it also happens in the configuration
It is not clear from the bug description if these screenshots are taken with or without mentioned commit. Are these taken with latest Mesa master? Also, did you install the built Mesa in your system (replace existing i965_dri.so) or did you run test with LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH? it is from latest git so that commit is included, i build mesa with a pkgbuild on archlinux so it's a fresh install i suspect the v3 of the patch(what has landed) has the issue as the v2 that i applied worked fine. it could also be another commit but it seems unlikely ok thanks I will try to reproduce and figure out what could be going wrong here btw im using stk 0.9.3rc1 from archlinux Could you post the stdout.log file from ~/.config/supertuxkart/0.8.2? The glxinfo output may be usefull too. It looks that in your case STK still uses the ugly hack with alpha_channel=true to force srgb-capable framebuffer. And the compositor for some reason doesn't make the window opaque. Actually it never happened for me on xserver... For wayland there is wl_surface_set_opaque_region. I will try to reproduce it with current git mesa. Cannot reproduce on Gnome :( I tried both xserver and xwayland. Created attachment 135357 [details]
stdout.log
Created attachment 135358 [details]
glxinfo
So the srgb patch seems to work fine. STK doesn't complain about framebuffer that is not srgb-capable, it doesn't use the alpha_channel=true hack, and also glxinfo shows some configs with srgb framebuffers. I suppose that something in your compositor/window manager was changed. And actually I would like to find a way to reproduce it, so that I can fix it in STK. Maybe we need a wl_surface_set_opaque_region equivalent for x11 to be 100% correct... (In reply to Deve from comment #12) > So the srgb patch seems to work fine. STK doesn't complain about framebuffer > that is not srgb-capable, it doesn't use the alpha_channel=true hack, and > also glxinfo shows some configs with srgb framebuffers. > > I suppose that something in your compositor/window manager was changed. And > actually I would like to find a way to reproduce it, so that I can fix it in > STK. > > Maybe we need a wl_surface_set_opaque_region equivalent for x11 to be 100% > correct... im using gnome shell 3.26 on xorg it also happens on windowed mode Created attachment 135361 [details]
on windowed mode and on top of firefox
I could not reproduce this on FC26 with gnome-shell 3.24.3 and supertuxkart 0.9.2. If you have enough skills, you can try to set _NET_WM_OPAQUE_REGION to whole window size using xprop. I made some experiments with rgba windows and setting opaque region with netwm works fine under Gnome. You can check if it works for you when game is started: xprop -name SuperTuxKart -f _NET_WM_OPAQUE_REGION 32c -set _NET_WM_OPAQUE_REGION 0,0,$width,$height Replace $width and $height with proper values. And if it works for you, then I will just set this property during window creation in STK. (In reply to Deve from comment #18) > I made some experiments with rgba windows and setting opaque region with > netwm works fine under Gnome. You can check if it works for you when game is > started: > > xprop -name SuperTuxKart -f _NET_WM_OPAQUE_REGION 32c -set > _NET_WM_OPAQUE_REGION 0,0,$width,$height > > Replace $width and $height with proper values. > > And if it works for you, then I will just set this property during window > creation in STK. it works ! but if i apply new resolution it starts to have transparency again Ok, it should work now: https://github.com/supertuxkart/stk-code/commit/252403c9cc92f83403246b8ad6336b6e06d0445a (In reply to Deve from comment #20) > Ok, it should work now: > https://github.com/supertuxkart/stk-code/commit/ > 252403c9cc92f83403246b8ad6336b6e06d0445a good to know is it gonna be pushed for 0.9.3rc2 or final? also i would like to see the mesa part fixed soon :) (In reply to david becerra from comment #22) > also i would like to see the mesa part fixed soon :) It seems very unlikely that there is any bug in Mesa considering this issue. Bisected Mesa change exposes additional visuals for applications to use and does not change existing visuals behaviour. I will leave this bug open for now in case there will be more similar/same bug reports but it will be soon resolved as NOTOURBUG if no such reports arrive and we are not able to reproduce the failure. The main reason is that probably alpha blending is somewhere messed in STK. It shouldn't produce semi-transparent image... It was happening for me on wayland when I was creating EGL context with alpha channel. And that's why I added wl_surface_set_opaque_region. So there may be two reasons: - Current Gnome+xserver now behaves the same as Gnome+wayland - Mesa now uses alpha channel even if we didn't request it But again, I can't reproduce it with Intel HD 4000 and Gnome 3.24. this is fixed on stk 0.9.3 and no other game shows this behaviour I haven't been able to reproduce this after following commit landed to Xorg and I haven't received any new bugs on this subject. Resolving as fixed, please reopen if this still occurs. --- 8< --- commit c2954b16c8730c7ed8441fd8dba25900f3aed265 Author: Tapani Pälli <tapani.palli@intel.com> Date: Tue Nov 28 09:23:29 2017 +0200 glx: do not pick sRGB config for 32-bit RGBA visual This fixes blending issues seen with kwin and gnome-shell when 32bit visual has sRGB capability set. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103699 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103646 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103655 Took a look at all attachments related to this bug which is about latest mesa git perhaps after commit c591b1e59454db2e8854e36852e0d413ce38b2f2 that caused strange transparency in supertuxkart and also read all the comments that shares solution of bugs and tips what to do if such error happens. William, http://www.eliteassignment.co.uk/ I was really waiting for this latest update of mesa git really loved it, by the way if you are looking for best web development service in Australia, visit https://www.australiawebdevelopment.com/ It is also occur on the windowed mode several times!! Meanwhile, if you are searching for the best web development services please visit Web Development USA. https://www.uswebsitesdevelopment.com/ Nice post. Thanks for sharing this post. We have deals with the best web design Malta. Our service is given by a highly expert in web designing. Customer satisfaction is our primary goal. So use our service and get premier services to get. https://www.europewebsitedevelopment.com/web-design-malta/ office.com/setup, office.com/myaccount - Office Setup 365, 2016 and more, visit office.com/setup and get MS Office suite for business and personal use just by entering Office Product key. Purchase Office and get access to all Microsoft Office Applications at www.office.com/setup. https://www-office-com-setup.net/ www.webroot.com/safe, webroot.com/safe - Facing issue with webroot.com/safe, Find here - How to download and Install Webroot Antivirus Setup? You can download Webroot Setup from www.webroot.com/secure. Double Click on Webroot Setup to Install it. http://www.webroot-comsafe.com/ www.mcafee.com/activate, mcafee.com/activate - Get your McAfee activation done In easy steps. Follow steps to step activate, install and setup McAfee antivirus security with product key. http://mcafeeeactivate.com/ www.mcafee.com/activate, mcafee.com/activate - Get your McAfee activation done In easy steps. Follow steps to step activate, install and setup McAfee antivirus security with product key. http://mcafeeeactivate.com/ www.mcafee.com/activate, mcafee.com/activate - McAfee Activate is the best Antivirus software which is available on www.mcafee.com/retailcard, provides the complete suite of features which can secure your digital online and offline work of the system or devices. https://www.mcafee-com-activate.us www.xfinity.com/authorize, xfinity.com/activate - Get the best out of Xfinity from Comcast by log in to your account. Enjoy and manage TV, high-speed internet, phone, and residential security services that work seamlessly together — anytime, anywhere, on any device. http://xfinity.com-authorize.com/ www.fritzbox.de login, Fritz.Box Login - Some users venture a little deeper into the Fritz box operating system and because of that the IP addresses are set correctly and the Fritz box then the "normal" way is no longer accessible. http://fritzboxlogin.com/ for easier and faster bug filing please refer to this link https://bodecontagion.com/blog/ for easier and faster bug filing please refer to this link https://bodecontagion.com/blog/ for easier and faster bug filing please refer to this link https://bodecontagion.com/blog/ for easier and faster bug filing please refer to this link https://bodecontagion.com/blog/ Greetings! Very useful advice within this article! https://www.newsworldlab.com/ https://www.newsworldlab.com/how-can-apple-cider-vinegar-help-you-remove-warts/ https://www.newsworldlab.com/how-we-can-use-apple-cider-vinegar-for-hair-care-treatment/ https://www.newsworldlab.com/apple-cider-vinegar-acne-care-dosage-and-methodology-for-best-skin-care-result/ https://www.newsworldlab.com/how-acidity-control-through-apple-cider-vinegar-acid-reflux/ https://www.newsworldlab.com/apple-cider-vinegar-for-dogs-a-health-and-cosmetic-tonic-for-your-furry-friend/ https://www.newsworldlab.com/which-5-famous-ceos-who-never-go-out-in-public-without-bodyguard/ https://www.newsworldlab.com/best-self-defense-tips-that-you-should-definitely-know/ https://www.newsworldlab.com/how-to-teach-your-kids-to-save-money-in-piggy-bank-for-future/ https://www.newsworldlab.com/sex-education-facts-for-kids-a-complete-tips-for-every-parents-guide/ https://www.newsworldlab.com/best-apple-cider-vinegar-recipes-for-your-family-and-health/ https://www.newsworldlab.com/benefits-of-apple-cider-vinegar-and-honey-for-weight-loss-drink/ https://www.newsworldlab.com/paradise-island-game-tips-tricks-and-cheats-for-android-and-ios/ https://www.newsworldlab.com/benefits-and-side-effects-of-apple-cider-vinegar-dosage-uses/ https://www.newsworldlab.com/10-benefits-of-drinking-apple-cider-vinegar-before-bed-for-skin/ https://www.newsworldlab.com/apple-cider-vinegar-shots-detox-weight-loss/ https://www.newsworldlab.com/how-you-can-improve-your-photography-with-our-easy-tips/ Thank you so much for sharing these amazing tips. https://www.newsworldlab.com/best-places-to-spend-christmas/ I must say you are an incredible writer, I love the way that you describe the things. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 135348 [details] screenshot before this commit there were problems with supertuxkart but i did build mesa with the v2 of the patch and everything was fine. after the patch landed i decided to rebuild mesa without the patch and this happened: