Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nvidia linux tester wanted
#1
Dear Nvidia users,

I want to contribute to the free drivers (mesa) to support the extension GL_ARB_separate_shader_objects. If I'm correct it is the major blocking point to use GSdx ogl on the free drivers.
1/ It would allow to use GSdx with Intel users.
2/ It would allow me to debug on a real driver with full visilibity. Catalyst is dull and crash for no reason.
3/ Later it would me to debug zzogl on GLSL too.

Before any serious implementation, I need write some tests that will ensure the conformance to the opengl specification. Unfortunately I can't rely on the behavior of Catalyst (don't really follow the spec).

What I need is someone which is able (don't worry it isn't complicated):
* to build piglit test suite (the conformance test of the mesa driver)
* to apply my patch
* to run the new test
* to report me the result on the Nvidia proprietary driver.

# To get piglit, use this command:
Code:
git clone git://anongit.freedesktop.org/piglit

# To build piglit. You need to install waffle (or hack CMakeList.txt to remove it Wink )
Code:
cmake .
make
Reply

Sponsored links

#2
Here my first patches.
# First do a copy of piglit git tree.
Code:
cp piglit piglit_before_patch
# go to the piglit tree (copy the patch)
Code:
cd piglit
# Unzip and apply patch. Do it for every patch.
Code:
gunzip 0001-piglit-util-new-functions-piglit_program_pipeline_ch.patch.gz
git am 0001-piglit-util-new-functions-piglit_program_pipeline_ch.patch

# compile (do the cmake if it wasn't already done)
Code:
make

# Run the new programm with the -auto option
Code:
./bin/arb_separate_shader_object-mix_pipeline_useprogram -auto
./bin/arb_separate_shader_object-GetProgramPipelineiv -auto
./bin/arb_separate_shader_object-IsProgramPipeline  -auto
./bin/ext_transform_feedback-api-errors bind_pipeline -auto
./bin/ext_transform_feedback-api-errors useprogstage_active -auto
./bin/ext_transform_feedback-api-errors useprogstage_noactive -auto

# Then report it me the full status and debug message. Thanks
Reply
#3
i can try all of this over the weekend
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#4
I've atteched the output on my desktop pc with an nvidia gtx 650

Quote:./bin/arb_separate_shader_object-IsProgramPipeline IsProgramPipeline -auto > 3.txt
Pipeline 1 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 2 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 3 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 4 has wrong IsProgramPipeline. Expected 0, got 1
Falha de segmentação (imagem do núcleo gravada)

Only the third one failed. Btw i'm running Ubuntu 12.10 for amd64.

All the best and thank you for your work


Attached Files
.txt   1.txt (Size: 1,48 KB / Downloads: 92)
.txt   2.txt (Size: 2,04 KB / Downloads: 144)
.txt   4.txt (Size: 62 bytes / Downloads: 73)
.txt   5.txt (Size: 62 bytes / Downloads: 81)
.txt   6.txt (Size: 62 bytes / Downloads: 82)
Reply
#5
Would the output from a 8400GS help, or is it too old?
Reply
#6
Thanks. I thinks it mostly depends of your drivers. Check that your driver support GL_ARB_separate_shader_objects extensions:
Code:
glxinfo | grep GL_ARB_separate_shader_objects
The 2 latest program need GL_EXT_transform_feedback
Code:
glxinfo | grep GL_EXT_transform_feedback

@123_qwe, thank for the results.
* Yes I would expect the prog 3 to crash. Can you post 3.txt, I add some printing to know where it is actually crashing.
* Result of 1 is very stange, can you try to relaunch it and see if you get same results.
* I need to fix prog 2 Smile

Edit: I update 1 test program, please find the patch attached.
Either, get a new clean tree and reapply the 3 patches. Or do a "rebase -i", remove the line "add-3-news-test...", then apply the new patch.
Reply
#7
./bin/arb_separate_shader_object-IsProgramPipeline IsProgramPipeline -auto
glGenProgramPipelines with negative n value
glGenProgramPipelines with correct n value
Pipeline 1 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 2 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 3 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 4 has wrong IsProgramPipeline. Expected 0, got 1

Output with the new patch.


Attached Files
.txt   glxinfo.txt (Size: 52,5 KB / Downloads: 125)
.txt   1_repeat.txt (Size: 1,48 KB / Downloads: 68)
Reply
#8
@ gregory

Is 123_qwe results enough or do you need more than one person to post results of these tests?

On a side note, perhaps I wil put my Radeon 6770 up for sale because Nvidia seems like a better choice in the long run...
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#9
Yes a bit more would be useful Wink I really wish I have an nvidia card on my box with both proprietary driver.

Current status:
* need more test of this one "./bin/arb_separate_shader_object-mix_pipeline_useprogram -auto"
* need a test with my latest patch "./bin/arb_separate_shader_object-GetProgramPipelineiv -auto"
* need a gdb trace of arb_separate_shader_object-IsProgramPipeline
Code:
gdb ./bin/arb_separate_shader_object-IsProgramPipeline
run -auto
bt

A new test will come later but I need to finish it first Tongue2

DatankAC, I would say it depends on when you plan to buy a new GPU.
Reply
#10
Hello again,

Here a new patch that test cross shader validation status. Part 11 & 12 are failling on AMD, seems like a spec issue. Let's see the status on Nvidia.

Note this new patch must be apply after the previous serie.

Edit:
123_qwe did you use waffle or GLUT?
Reply




Users browsing this thread: 1 Guest(s)