Originally posted by artivision
View Post
Announcement
Collapse
No announcement yet.
AMD Releases Open-Source UVD Video Support
Collapse
X
-
-
Originally posted by przemoli View PostSerious Sam works on r600g same as on Catalyst at least for my humble 5730M. (Bad in both cases :P)
MESA_EXTENSION_OVERRIDE="-GL_ARB_get_program_binary"
Comment
-
Originally posted by jrch2k8 View Post1.) btw you most likely can't do that without a kernel module since linux don't allow direct hardware access like windows
2.) i really doubt someone actually implement it since will require a massive amount of work for not much gain at the end and the security risk of doing so are big enough
3.) this will probably will require additional driver support an a protocol to do so which will prolly take long time assuming nVidia/AMD even care to do so [i bet you gallium just won't, at all]
I cannot except that. You say that i can't have my own compiler for a GPU, because the GPU will not accept to execute the produced machinery code?
Comment
-
Originally posted by jrch2k8 View Post[maybe unreal4 but not sure yet]
Originally posted by jrch2k8 View Post3.) nope, only r600g have an experimental LLVM backend and no commercial driver has it either[LLVM i mean] and either way is not that simple cuz Wine could today implement a direct TGSI pass and forget the conversion but then only Gallium drivers would work or use direct GPU ASM so any GPU would work but prolly at the cost of new 5 million LoC and beyond all that you still need to parse and run basic security/stability checks[this is done by windows too at driver level] and even so Windows drivers have a bazillion of hacks to improve performance in selected games due to ultra crappy routines/spec violations/by hand slow ASM that game studios never fixes[especially unreal].
Originally posted by artivision View PostWine doesn't emulate any GPU driver functionality. It just translates HLSL bytecode to GLSL. I can also call you a liar, because some months before, you post to a comment of mine, that your driver is unified for D3D and OGL, and the same quality as your competitor. You probably don't know ether.
Comment
-
Originally posted by artivision View PostI cannot except that. You say that i can't have my own compiler for a GPU, because the GPU will not accept to execute the produced machinery code?
Comment
-
Originally posted by artivision View PostI cannot except that. You say that i can't have my own compiler for a GPU, because the GPU will not accept to execute the produced machinery code?
if you simply send a bunch of byte code with the rest of the control code[be gl or DX] GPU will just hardlock, GPU are DUMB and very unfriendly to work with
Comment
-
Originally posted by jrch2k8 View Postanother thing is not having a compiler the issue is keeping it in a way the driver knows what to do with it, so for this the driver have to understand HLSL and basic DX so it actually knows that this shader have to be applied on X and Y condition over that object Z.z and the result should reside in X,Y framebuffer memory if it will be reused for example.
if you simply send a bunch of byte code with the rest of the control code[be gl or DX] GPU will just hardlock, GPU are DUMB and very unfriendly to work with
Mesa compiler can pass machinery_code to the GPU. The same(modified) path can be used for an HLSL_compiler. The target libraries(for MS_D3D) are there inside Windows drivers. The GPU driver is unified for DirectX and OpenGL(at least with some vendors), that includes execution programs, draw graphics, FX processor. Are you sure if one try, will fail???
Comment
-
Originally posted by artivision View PostMesa compiler can pass machinery_code to the GPU. The same(modified) path can be used for an HLSL_compiler. The target libraries(for MS_D3D) are there inside Windows drivers. The GPU driver is unified for DirectX and OpenGL(at least with some vendors), that includes execution programs, draw graphics, FX processor. Are you sure if one try, will fail???
1.) is not a problem of machinery code is a problem of relation, like glsl need EGL/Wgl/Xgl/Agl/etc and Opengl to be able to understand GLSL you need DX[or a translation layer to opengl] too otherwise the GPU will lock
2.) the directx code is not runnable on linux at all, is very specifically tied to use windows only code and kernel calls, so either nVidia or AMD will need to rewrite the entire DX codepath to use the Linux only code[which will require more code since both kernel model are quite different] with DX too, remember when you write an opengl driver it has to be portable but with directx you don't need to since only windows use it.
so you can make a linux driver understand DX? yes and compile DX? yes but is not as simple as you think and require a lot of code. for example you can modify the r600g llvm backend to process HLSL and reuse the DX gallium state tracker and try to complete it and get in contact with the kernel folks to modify KMS and DRM modules accordingly and after that you need to convince AMD and nVidia to do the same in their closed counterparts so the driver from linux can access their directx codepaths.
the point been, is not as simple as dump hlsl machinery code and expect it would render
Comment
-
Originally posted by Adarion View PostJAWOHL!!
Sorry for this German outbreak of Yeeeeah! This is something I have waited for so long. It actually so rescued my day! The whole week! Even more!
Thanks!
And thanks also for using VDPAU. There is just much more support for it.
Hope that the old UVD 1 will also see some love.
I am so happy that I do not drink alcohol at all, otherwise I'd probably kill me with sparkling wine today!
So when are you fixing your signature again? I miss a fellow AMD Fanboy
Comment
Comment