New: GL_EXT_framebuffer_blit function required
https://bugs.freedesktop.org/show_bug.cgi?id=30172
Summary: GL_EXT_framebuffer_blit function required
Product: Mesa
Version: git
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
Couldn't find Drivers/Gallium/Nouveau in the Component list so put this in here.
It would be nice to get GL_EXT_framebuffer_blit implemented for the Nouveau driver, as some programs I have tested won't work without this function.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-30172-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 30172] GL_EXT_framebuffer_blit function required
https://bugs.freedesktop.org/show_bug.cgi?id=30172
--- Comment #1 from Luca Barbieri <[email protected]> 2010-09-13 20:53:58 PDT --- EXT_framebuffer_blit is supported with any Gallium driver, by the state tracker
itself.
Perhaps you mean the nouveau_vieux DRI driver?
If not, what are exactly the issues you are experiencing?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30172] GL_EXT_framebuffer_blit function required
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=30172
--- Comment #2 from Alex Buell <[email protected]> 2010-09-14 00:43:25 PDT --- I am getting this:
$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o glsl_toon glsl_toon.o build/Shader.o build/ShaderProgram.o build/Timer.o build/VertexBuffer.o build/Mesh.o build/Light.o build/Texture.o build/FrameTimer.o build/FrameBuffer.o -lSDL -lSDL_image -lGL -lGLU build/FrameBuffer.o: In function `FrameBuffer::BlitTo(FrameBuffer*, unsigned int, unsigned int)': FrameBuffer.cpp:(.text+0x1373): undefined reference to `glBlitFramebufferEXT' collect2: ld returned 1 exit status scons: *** [glsl_toon] Error 1 scons: building terminated because of errors.
Grepping the includes shows that it is definitely defined in the includes so probably it's not in the libraries.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30172] GL_EXT_framebuffer_blit function required
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=30172
--- Comment #3 from Alex Buell <[email protected]> 2010-09-14 00:47:03 PDT --- As far as I am aware I'm using the nouveau_dri.so driver with X.
nouveau_vieux_dri.so is built but not used.
(--) PCI:*(0:1:0:0) 10de:0324:1028:015f nVidia Corporation NV34M [GeForce FX Go5
200 64M] rev 161, Mem @ 0xfc000000/16777216, 0xd0000000/268435456, BIOS @ 0x????
????/131072
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.0.16 Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions/libdri.so (II) NOUVEAU(0): Loaded DRI module
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 (II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(--) NOUVEAU(0): Chipset: "NVIDIA NV34"
(II) NOUVEAU(0): Opened GPU channel 1
(II) NOUVEAU(0): [DRI2] Setup complete
(II) NOUVEAU(0): GART: 128MiB available
(II) NOUVEAU(0): GART: Allocated 16MiB as a scratch buffer (II) EXA(0): Driver allocated offscreen pixmaps
(II) EXA(0): Driver registered support for the following operations:
(II) Solid (II) Copy (II) Composite (RENDER acceleration) (II) UploadToScreen (II) DownloadFromScreen
(==) NOUVEAU(0): Backing store disabled
(==) NOUVEAU(0): Silken mouse enabled
(II) NOUVEAU(0): [XvMC] Associated with NV30 texture adapter. (II) NOUVEAU(0): [XvMC] Extension initialized.
(**) NOUVEAU(0): DPMS enabled
(II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) NOUVEAU(0): Option "DPI" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension (II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects (II) AIGLX: Loaded and initialized /usr/lib/dri/nouveau_dri.so (II) GLX: Initialized DRI2 GL provider for screen 0
(II) NOUVEAU(0): NVEnterVT is called.
(II) NOUVEAU(0): Setting screen physical size to 423 x 317 resize called 1600 1200
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30172] GL_EXT_framebuffer_blit function required
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=30172
--- Comment #4 from Luca Barbieri <[email protected]> 2010-09-14 01:19:23 PDT --- Indeed Mesa only exports glBlitFramebuffer and not glBlitFramebufferEXT.
It seems this was done intentionally by adding static_dispatch="false" to its definition.
I'm not sure what are the rules for choosing whether to export an entry point as a function and thus whether this was an appropriate choice or not.
nVidia seems to export it, so probably Mesa should too.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30172] GL_EXT_framebuffer_blit function required
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=30172
Luca Barbieri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
Component|Drivers/DRI/nouveau |Mesa core
AssignedTo|[email protected] |mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected]
|rg |orgSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.