[svn4010] Segfault: in mm_fbo.frag shader?

Moderator: Moderator

Post Reply
Message
Author
Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

[svn4010] Segfault: in mm_fbo.frag shader?

#1 Post by Noel »

Since the mm_fbo.frag shader was added in r4010, I'm getting this segfault on my laptop: Toshiba Satellite L675D, with Mobility Radeon HD 4200. Desktop with Radeon HD 3300 does not segfault.

I'm not sure how to dig further -- here's some basic info:

Log output:

Code: Select all

New GL Shader program 1
New GL Shader 2 of type 35632
[SHADER] created fragment shader from /data/gfx/shaders/main_fbo.frag
*p 1: Uniform: 0: 1406 blur
*p 1: Uniform: 1: 8B52 colorize
*p 1: Uniform: 2: 1406 hp_warning
*p 1: Uniform: 3: 1406 motionblur
*p 1: Uniform: 4: 8B50 texSize
*p 1: Uniform: 5: 1406 tick
*p 1: Uniform: 6: 8B5E noisevol
*p 1: Uniform: 7: 8B5E tex
[SHADER] Loading from /data/gfx/shaders/full_fbo.lua
New GL Shader program 3
New GL Shader 4 of type 35632
[SHADER] created fragment shader from /data/gfx/shaders/full_fbo.frag
*p 3: Uniform: 0: 1406 gamma
*p 3: Uniform: 1: 8B5E sceneBuffer
[SHADER] Loading from /data/gfx/shaders/mm_fbo.lua
New GL Shader program 5
New GL Shader 6 of type 35632
[SHADER] created fragment shader from /data/gfx/shaders/mm_fbo.frag
zsh: segmentation fault (core dumped)  ./t-engine
gdb says it's crashing inside the proprietary fglrx_dri driver:

Code: Select all

(gdb) bt
#0  0x00007f47983331e0 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#1  0x00007f47983238e7 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x0000000002db5920 in ?? ()
#3  0x0000000002db5920 in ?? ()
#4  0x0000000002db5920 in ?? ()
#5  0x0000000002db31f8 in ?? ()
#6  0x00007f4798cd4210 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7  0x00007f4798323e01 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#8  0x00007f4798ced5b0 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#9  0x0000000002f7baf0 in ?? ()
#10 0x0000000002f6e7c8 in ?? ()
#11 0x0000000002f7a968 in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb) 
possibly-relevant excerpts from Xorg.0.log:

Code: Select all

[    28.680] (II) ATI Proprietary Linux Driver Version Identifier:8.78.30
[    28.680] (II) ATI Proprietary Linux Driver Release Identifier: 8.78.3                               
[    28.680] (II) ATI Proprietary Linux Driver Build Date: Sep 20 2010 21:31:08
[    28.680] (++) using VT number 7

[    28.681] (WW) Falling back to old probe method for fglrx
[    28.843] (II) Loading PCS database from /etc/ati/amdpcsdb
[    28.862] (--) Assigning device section with no busID to primary device
[    28.862] (--) Chipset Supported AMD Graphics Processor (0x9712) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
[    28.888] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:5:1) found
[    28.889] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[    28.919] (II) AMD Video driver is signed
[    28.919] (II) fglrx(0): pEnt->device->identifier=0x205e2d0
[    28.920] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === begin
...
[    29.020] (==) fglrx(0): NoAccel = NO
[    29.020] (==) fglrx(0): ATI 2D Acceleration Architecture enabled
[    29.020] (--) fglrx(0): Chipset: "ATI Mobility Radeon HD 4200 Series" (Chipset = 0x9712)
[    29.020] (--) fglrx(0): (PciSubVendor = 0x1179, PciSubDevice = 0xfd00)
[    29.020] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
[    29.020] (--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
[    29.020] (--) fglrx(0): MMIO registers at 0xff500000
[    29.020] (--) fglrx(0): I/O port at 0x0000e000
[    29.021] (==) fglrx(0): ROM-BIOS at 0x000c0000
...
[    29.226] (II) fglrx(0): ATI Video BIOS revision 9 or later detected
[    29.226] (--) fglrx(0): Video RAM: 262144 kByte, Type: DDR2
[    29.226] (II) fglrx(0): PCIE card detected
[    29.226] (--) fglrx(0): Using per-process page tables (PPPT) as GART.
[    29.226] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[    29.227] (II) fglrx(0): Using adapter: 1:5.0.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [svn4010] Segfault: in mm_fbo.frag shader?

#2 Post by darkgod »

Oh .. uh ..
I'll remove the code, it wasnt used anyway
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

Re: [svn4010] Segfault: in mm_fbo.frag shader?

#3 Post by Noel »

That did it.

Post Reply