← Back to team overview

hugin-devs team mailing list archive

[Bug 723239] Re: Nona GPU: Unsupported framebuffer format

 

===========================================================================
***************  Panorama makefile generated by Hugin       ***************
===========================================================================
System information
===========================================================================
Software:

    System Software Overview:

      System Version: OS X 10.8.2 (12C60)
      Kernel Version: Darwin 12.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Yanns iMac
      User Name: Yann-Rudolf Michel (ymichel)
      Secure Virtual Memory: Enabled
      Time since boot: 1 day2:54

Hardware:

    Hardware Overview:

      Model Name: iMac
      Model Identifier: iMac12,2
      Processor Name: Intel Core i7
      Processor Speed: 3,4 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 8 MB
      Memory: 16 GB
      Boot ROM Version: IM121.0047.B1F
      SMC Version (system): 1.72f2
      Serial Number (system): DGKGJ0GUDHJW
      Hardware UUID: 3117E353-4469-57FE-B572-947746124C53

Disc usage
Filesystem                                                                        Size   Used  Avail Capacity   iused      ifree %iused  Mounted on
/dev/disk0s2                                                                     233Gi  124Gi  109Gi    54%  32501549   28567891   53%   /
devfs                                                                            187Ki  187Ki    0Bi   100%       646          0  100%   /dev
/dev/disk1s2                                                                     931Gi  116Gi  815Gi    13%  30531437  213575229   13%   /Volumes/Macintosh HD 2
map -hosts                                                                         0Bi    0Bi    0Bi   100%         0          0  100%   /net
map auto_home                                                                      0Bi    0Bi    0Bi   100%         0          0  100%   /home
//Yann-Rudolf%20Michel@NAS%28AFP%29._afpovertcp._tcp.local/Yann-Rudolf%20Michel  8.1Ti  1.6Ti  6.4Ti    20% 430873913 1731051128   20%   /Volumes/Yann-Rudolf Michel
/dev/disk4s2                                                                     1.8Ti   25Gi  1.8Ti     2%   6520366  481772252    1%   /Volumes/Bildarchiv 02
===========================================================================
Output options
===========================================================================
Hugin Version: 2012.0.0 built by Harry van der Wolf
Project file: /var/folders/m0/sghzrbdj3t159tmccwkmv_hm0000gn/T/huginpto_wNLRrl
Output prefix: A850_2012_11_05_DSC7905-A850_2012_11_05_DSC7918
Projection: Cylindrical (1)
Field of view: 360 x 80
Canvas dimensions: 26004 x 6946
Crop area: (0,587) - (26004,6086)
Output exposure value: 13.68
Selected outputs
Normal panorama
* Blended panorama
Using GPU for remapping
===========================================================================
Input images
===========================================================================
Number of images in project file: 14
Number of active images: 14
Image 0: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7905.tiff
Image 0: Size 4032x6048, Exposure: 13.66
Image 1: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7906.tiff
Image 1: Size 4032x6048, Exposure: 13.66
Image 2: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7907.tiff
Image 2: Size 4032x6048, Exposure: 13.66
Image 3: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7908.tiff
Image 3: Size 4032x6048, Exposure: 13.66
Image 4: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7909.tiff
Image 4: Size 4032x6048, Exposure: 13.71
Image 5: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7910.tiff
Image 5: Size 4032x6048, Exposure: 13.70
Image 6: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7911.tiff
Image 6: Size 4032x6048, Exposure: 13.69
Image 7: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7912.tiff
Image 7: Size 4032x6048, Exposure: 13.70
Image 8: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7913.tiff
Image 8: Size 4032x6048, Exposure: 13.70
Image 9: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7914.tiff
Image 9: Size 4032x6048, Exposure: 13.66
Image 10: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7915.tiff
Image 10: Size 4032x6048, Exposure: 13.66
Image 11: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7916.tiff
Image 11: Size 4032x6048, Exposure: 13.66
Image 12: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7917.tiff
Image 12: Size 4032x6048, Exposure: 13.66
Image 13: /Volumes/Macintosh HD 2/Panoramen/2012_11_03-25 Kuba/A850_2012_11_05_DSC7918.tiff
Image 13: Size 4032x6048, Exposure: 13.67
===========================================================================
Testing programs
===========================================================================
Checking nona...[OK]
Checking enblend...[OK]
Checking enfuse...[OK]
Checking hugin_hdrmerge...[OK]
Checking exiftool...[OK]
===========================================================================
Stitching panorama
===========================================================================
/Applications/Hugin/PTBatcherGUI.app/Contents/MacOS/nona -g  -z LZW -r ldr -m TIFF_m -o A850_2012_11_05_DSC7905-A850_2012_11_05_DSC7918 -i 0 /var/folders/m0/sghzrbdj3t159tmccwkmv_hm0000gn/T/huginpto_wNLRrl
nona: using graphics card: ATI Technologies Inc. ATI Radeon HD 6970M OpenGL Engine
destStart=[0, 587]
destEnd=[26008, 6086]
destSize=[(26008, 5499)]
srcSize=[(4032, 6048)]
srcBuffer=0x10a800000
srcAlphaBuffer=0
destBuffer=0x11348d000
destAlphaBuffer=0x1466e9000
destGLInternalFormat=GL_RGBA16
destGLFormat=GL_RGB
destGLType=GL_UNSIGNED_SHORT
srcGLInternalFormat=GL_RGBA16
srcGLFormat=GL_RGB
srcGLType=GL_UNSIGNED_SHORT
srcAlphaGLType=GL_BYTE
destAlphaGLType=GL_UNSIGNED_BYTE
warparound=0
needsAtanWorkaround=1
maxTextureSize=16384
Source chunks:
    [(0, 0) to (4032, 6048) = (4032x6048)]
Dest chunks:
    [(0, 0) to (2001, 1833) = (2001x1833)]
    [(2001, 0) to (4002, 1833) = (2001x1833)]
    [(4002, 0) to (6003, 1833) = (2001x1833)]
    [(6003, 0) to (8004, 1833) = (2001x1833)]
    [(8004, 0) to (10005, 1833) = (2001x1833)]
    [(10005, 0) to (12006, 1833) = (2001x1833)]
    [(12006, 0) to (14007, 1833) = (2001x1833)]
    [(14007, 0) to (16008, 1833) = (2001x1833)]
    [(16008, 0) to (18009, 1833) = (2001x1833)]
    [(18009, 0) to (20010, 1833) = (2001x1833)]
    [(20010, 0) to (22011, 1833) = (2001x1833)]
    [(22011, 0) to (24012, 1833) = (2001x1833)]
    [(24012, 0) to (26008, 1833) = (1996x1833)]
    [(0, 1833) to (2001, 3666) = (2001x1833)]
    [(2001, 1833) to (4002, 3666) = (2001x1833)]
    [(4002, 1833) to (6003, 3666) = (2001x1833)]
    [(6003, 1833) to (8004, 3666) = (2001x1833)]
    [(8004, 1833) to (10005, 3666) = (2001x1833)]
    [(10005, 1833) to (12006, 3666) = (2001x1833)]
    [(12006, 1833) to (14007, 3666) = (2001x1833)]
    [(14007, 1833) to (16008, 3666) = (2001x1833)]
    [(16008, 1833) to (18009, 3666) = (2001x1833)]
    [(18009, 1833) to (20010, 3666) = (2001x1833)]
    [(20010, 1833) to (22011, 3666) = (2001x1833)]
    [(22011, 1833) to (24012, 3666) = (2001x1833)]
    [(24012, 1833) to (26008, 3666) = (1996x1833)]
    [(0, 3666) to (2001, 5499) = (2001x1833)]
    [(2001, 3666) to (4002, 5499) = (2001x1833)]
    [(4002, 3666) to (6003, 5499) = (2001x1833)]
    [(6003, 3666) to (8004, 5499) = (2001x1833)]
    [(8004, 3666) to (10005, 5499) = (2001x1833)]
    [(10005, 3666) to (12006, 5499) = (2001x1833)]
    [(12006, 3666) to (14007, 5499) = (2001x1833)]
    [(14007, 3666) to (16008, 5499) = (2001x1833)]
    [(16008, 3666) to (18009, 5499) = (2001x1833)]
    [(18009, 3666) to (20010, 5499) = (2001x1833)]
    [(20010, 3666) to (22011, 5499) = (2001x1833)]
    [(22011, 3666) to (24012, 5499) = (2001x1833)]
    [(24012, 3666) to (26008, 5499) = (1996x1833)]
Total GPU memory used: 513785655
Interpolator chunks:
    [(0, 0) to (4, 4) = (4x4)]
#version 110
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect SrcTexture;
float sinh(in float x) { return (exp(x) - exp(-x)) / 2.0; }
float cosh(in float x) { return (exp(x) + exp(-x)) / 2.0; }
float atan2_xge0(const in float y, const in float x) {
    if (abs(y) > x) {
        return sign(y) * (1.5707963267948965580 - atan(x, abs(y)));
    } else {
        return atan(y, x);
    }
}
float atan2_safe(const in float y, const in float x) {
    if (x >= 0.0) return atan2_xge0(y, x);
    else return (sign(y) * 3.1415926535897931160) - atan2_xge0(y, -x);
}
float atan_safe(const in float yx) {
    if (abs(yx) > 1.0) {
        return sign(yx) * (1.5707963267948965580 - atan(1.0/abs(yx)));
    } else {
        return atan(yx);
    }
}
void main(void)
{
    float discardA = 1.0;
    float discardB = 0.0;
    vec2 src = gl_TexCoord[0].st;
    src -= vec2(13002.000000000000000, 3473.0000000000000000);

    // erect_pano(4138.6651401616463772)
    src.t = 4138.6651401616463772 * atan_safe(src.t / 4138.6651401616463772);

    // rotate_erect(13002.000000000000000, -13002.000000000000000)
    {
        src.s += -13002.000000000000000;
        float w = (abs(src.s) > 13002.000000000000000) ? 1.0 : 0.0;
        float n = (src.s < 0.0) ? 0.5 : -0.5;
        src.s += w * -26004.000000000000000 * ceil(src.s / 26004.000000000000000 + n);
    }

    // sphere_tp_erect(4138.6651401616463772)
    {
        float phi = src.s / 4138.6651401616463772;
        float theta = -src.t / 4138.6651401616463772 + 1.5707963267948965580;
        if (theta < 0.0) {
            theta = -theta;
            phi += 3.1415926535897931160;
        }
        if (theta > 3.1415926535897931160) {
            theta = 3.1415926535897931160 - (theta - 3.1415926535897931160);
            phi += 3.1415926535897931160;
        }
        float s = sin(theta);
        vec2 v = vec2(s * sin(phi), cos(theta));
        float r = length(v);
        theta = 4138.6651401616463772 * atan2_safe(r, s * cos(phi));
        src = v * (theta / r);
    }

    // persp_sphere(4138.6651401616463772)
    {
        mat3 m = mat3(0.99999998901636499848, 0.00014795624368313652639, 8.7303933189031387074e-06,
                      -0.00014821359523446703396, 0.99826363313014065959, 0.058904132304466449988,
                      0.0000000000000000000, -0.058904132951447946143, 0.99826364409470413896);
        float r = length(src);
        float theta = r / 4138.6651401616463772;
        float s = 0.0;
        if (r != 0.0) s = sin(theta) / r;
        vec3 v = vec3(s * src.s, s * src.t, cos(theta));
        vec3 u = v * m;
        r = length(u.st);
        theta = 0.0;
        if (r != 0.0) theta = 4138.6651401616463772 * atan2_safe(r, u.p) / r;
        src = theta * u.st;
    }

    // rect_sphere_tp(4138.6651401616463772)
    {
        float r = length(src);
        float theta = r / 4138.6651401616463772;
        float rho = 0.0;
        if (theta >= 1.5707963267948965580) rho = 1.6e16;
        else if (theta == 0.0) rho = 1.0;
        else rho = tan(theta) / theta;
        src *= rho;
    }

    // resize(0.99574134665049163218, 0.99574134665049163218)
    src *= vec2(0.99574134665049163218, 0.99574134665049163218);

    // radial(1.0042291430963923293, 0.0000000000000000000, -0.0042291430963922998360, 0.0000000000000000000, 2016.0000000000000000, 8.8967132469352403490)
    {
        float r = length(src) / 2016.0000000000000000;
        float scale = 1000.0; 
        if (r < 8.8967132469352403490) {
            scale = ((0.0000000000000000000 * r + -0.0042291430963922998360) * r + 0.0000000000000000000) * r + 1.0042291430963923293;
        }
        src *= scale;
    }

    src += vec2(2015.5000000000000000, 3023.5000000000000000);

    src = src * discardA + vec2(-1000.0, -1000.0) * discardB;
    gl_FragColor = vec4(src.s, 0.0, 0.0, src.t);
}
#version 110
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect CoordTexture;
uniform sampler2DRect SrcTexture;
uniform sampler2DRect AccumTexture;
uniform vec2 SrcUL;
uniform vec2 SrcLR;
uniform vec2 KernelUL;
uniform vec2 KernelWH;
float w(const in float i, const in float f) {
    float A = -0.75000000000000000000;
    float c = abs(i - 1.0);
    float m = (i > 1.0) ? -1.0 : 1.0;
    float p = c + m * f;
    if (i == 1.0 || i == 2.0) {
        return (( A + 2.0 )*p - ( A + 3.0 ))*p*p + 1.0;
    } else {
        return (( A * p - 5.0 * A ) * p + 8.0 * A ) * p - 4.0 * A;
    }
}
void main(void)
{
    vec2 src = texture2DRect(CoordTexture, gl_TexCoord[0].st).sq;
    vec4 accum = texture2DRect(AccumTexture, gl_TexCoord[0].st);

    src -= SrcUL;
    vec2 t = floor(src) + -0.50000000000000000000;
    vec2 f = fract(src);
    vec2 k = vec2(0.0, 0.0);

    for (float ky = 0.0; ky < 4.0000000000000000000; ky += 1.0) {
        k.t = ky + KernelUL.t;
        float wy = w(k.t, f.t);
        for (float kx = 0.0; kx < 4.0000000000000000000; kx += 1.0) {
            k.s = kx + KernelUL.s;
            float wx = w(k.s, f.s);
            vec2 ix = t + k;
            vec4 sp = texture2DRect(SrcTexture, ix);
            float weight = wx * wy * sp.a;
            accum += sp * weight;
        }
    }

    gl_FragColor = accum;
}

#version 120
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect NormTexture;
uniform sampler2DRect CoordTexture;
uniform sampler2DRect InvLutTexture;
uniform sampler2DRect DestLutTexture;
void main(void)
{
    // Normalization
    vec4 n = texture2DRect(NormTexture, gl_TexCoord[0].st);
    vec4 p = vec4(0.0, 0.0, 0.0, 0.0);
    if (n.a >= 0.2) p = n / n.a;

    // Photometric
    // invLutSize = 1024.0000000000000000
    // pixelMax = 65535.000000000000000
    // destLutSize = 1024.0000000000000000
    // destExposure = 7.6419481779539617577e-05
    // srcExposure = 7.7160494976939128812e-05
    // whiteBalanceRed = 1.0000000000000000000
    // whiteBalanceBlue = 1.0000000000000000000
    p.rgb = p.rgb * 1023.0000000000000000;
    vec2 invR = texture2DRect(InvLutTexture, vec2(p.r, 0.0)).sq;
    vec2 invG = texture2DRect(InvLutTexture, vec2(p.g, 0.0)).sq;
    vec2 invB = texture2DRect(InvLutTexture, vec2(p.b, 0.0)).sq;
    vec3 invX = vec3(invR.x, invG.x, invB.x);
    vec3 invY = vec3(invR.y, invG.y, invB.y);
    vec3 invA = fract(p.rgb);
    p.rgb = mix(invX, invY, invA);
    // VigCorrMode=VIGCORR_RADIAL
    float vig = 1.0;
    {
        vec2 vigCorrCenter = vec2(2015.5000000000000000, 3023.5000000000000000);
        float radiusScale=0.00027514890685775253605;
        float radialVigCorrCoeff0 = 1.0000000000000000000;
        float radialVigCorrCoeff1 = -0.27896076736415198472;
        float radialVigCorrCoeff2 = 0.17645020921688200910;
        float radialVigCorrCoeff3 = -0.14117217728524800169;
        vec2 src = texture2DRect(CoordTexture, gl_TexCoord[0].st).sq;
        vec2 d = src - vigCorrCenter;
        d *= radiusScale;
        vig = radialVigCorrCoeff0;
        float r2 = dot(d, d);
        float r = r2;
        vig += radialVigCorrCoeff1 * r;
        r *= r2;
        vig += radialVigCorrCoeff2 * r;
        r *= r2;
        vig += radialVigCorrCoeff3 * r;
    }
    vec3 exposure_whitebalance = vec3(0.99039646910480583220, 0.99039646910480583220, 0.99039646910480583220);
    p.rgb = (p.rgb * exposure_whitebalance) / vig;
    p.rgb = p.rgb * 1023.0000000000000000;
    vec2 destR = texture2DRect(DestLutTexture, vec2(p.r, 0.0)).sq;
    vec2 destG = texture2DRect(DestLutTexture, vec2(p.g, 0.0)).sq;
    vec2 destB = texture2DRect(DestLutTexture, vec2(p.b, 0.0)).sq;
    vec3 destX = vec3(destR.x, destG.x, destB.x);
    vec3 destY = vec3(destR.y, destG.y, destB.y);
    vec3 destA = fract(p.rgb);
    p.rgb = mix(destX, destY, destA);

    gl_FragColor = p;
}

gpu shader program compile time = 0.01
nona: Unsupported framebuffer format in: /Users/Shared/development/hugin_related/hugin-2012.0.0/mac/../src/hugin_base/vigra_ext/ImageTransformsGPU.cpp:713
gnumake: *** [A850_2012_11_05_DSC7905-A850_2012_11_05_DSC79180000.tif] Error 1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/723239

Title:
  Nona GPU: Unsupported framebuffer format

Status in Hugin - Panorama Tools GUI:
  Invalid

Bug description:
  nona is chrashing with "nona: Unsupported framebuffer format" I use a
  netbook with ION chipset (Nvidia 9400M) Sometimes GPU  works,
  sometimes it does not. If the crash occours the the next tries are
  never successful. The the crash seems then to occour always with the
  fist picture in the set after the fist crash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/723239/+subscriptions


References