--
--
#:kivy 1.0
<TestApp>:
canv:canv
img:img
foxy:foxy
thr:thr
uhr:uhr
tmr:tmr
umr:umr
id: canv
canvas:
Color:
rgb: .9, .9, .1
Rectangle:
# Full screen starfield pic
#
source: 'nubak.png'
size: self.size
BoxLayout:
id: boxy
orientation: 'horizontal'
size_hint: (None, None)
size: canv.size
BoxLayout:
id: doxy
orientation: 'vertical'
size_hint: (.5, 1)
Widget:
# - now place holder
Widget:
id: ticker
BoxLayout:
orientation: 'horizontal'
size: ticker.size
pos: ticker.pos
Widget:
id:widsz
Image:
id:thr
allow_stretch: True
source: './moondigits/std0.png'
Image:
id:uhr
allow_stretch: True
source: './moondigits/dot1.png'
Image:
id:tmr
allow_stretch: True
source: './moondigits/std2.png'
Image:
id:umr
allow_stretch: True
source: './moondigits/std3.png'
Widget:
# deleted - now place holder
Widget:
id: foxy
size_hint: (.5, 1)
# MOON PHASE IMAGE HERE
Image:
id: img
size_hint: (None, None)
pos: foxy.pos
size: foxy.size
in fact, this is enough to reproduce, so i'd consider it a bug, until further examination of the image, maybe krister's solution works (not tested yet), but maybe it's still a bug, i guess that requires image processing knowledges i don't have, to decide.
https://gist.github.com/4095042
Le 17/11/2012 10:42, krister viirsaar a écrit :
in compositing I would check 'premultiply' and problem solved.
--
--
--
Le 17 nov. 2012 15:15, "T500" <gw7...@gmail.com> a écrit :
>
> I CAN reproduce the error with tshirtman's gist on both my PC and Google Nexus 7. I have no idea if the ATI uses Nvidia chips as I seem to remember Nvidia acquired ATI?
>
That would be amd, not nvidia
> My PC is running the Nvidia GeForce 9800. The ring appears in both Linux (OpenSuSE 12.1 64) and Win7 64. Nvidia factory drivers.
> And the Nexus7 Android 4.2 which is a NVIDIA Tegra 3 T30L with a ULP GeForce GPU ?
>
> In the kivy start up...
>
> [INFO ] [Loader ] using <pygame> as thread loader
> [DEBUG ] [App ] kv <./main.kv> not found
> [INFO ] [Window ] using <pygame> as window provider
> [INFO ] [GL ] OpenGL version <3.3.0 NVIDIA 304.64>
> [INFO ] [GL ] OpenGL vendor <NVIDIA Corporation>
> [INFO ] [GL ] OpenGL renderer <GeForce 9800 GT/PCIe/SSE2>
> [INFO ] [GL ] Shading version <3.30 NVIDIA via Cg compiler>
> [INFO ] [GL ] Texture max size <8192>
> [INFO ] [GL ] Texture max units <32>
> [INFO ] [GL ] OpenGL parsed version: 3, 3
> [INFO ] [Shader ] fragment compiled successfully
> [INFO ] [Shader ] vertex compiled successfully
>
> I think will charge up and dust off my Netbook which has a dual boot and has an Intel GPU. Put Kivy on it and see what happens. If it still works :)
>
>
>
>
> --
>
>
Hi everyone,
I also reproduce the bug. But one thing, you are using a GIF, with
indexed color. The GPU doesn't work with indexed, and someone in the
pipeline is converting the image to RGBA.
I used Gimp to convert the gif into png:
1. Image -> Mode -> RGB (it's Indexed on the GIF)
2. Export -> PNG
And then, no ring of death.
I'm using NVidia GTX 560 / NVidia driver 304.51.
Mathieu
--