martinberger |
|
Темы:
14
Сообщения:
83
Участник с: 14 ноября 2012
|
>>продолжение uniform vec4 vcbones[3]; uniform vec4 vcscreen; varying vec4 oT0; varying vec4 oT1; varying vec4 oT2; varying vec4 oT3; void main() { // trans#0 label:vs-file shadowmodel_vs20 vs-index 0 vs-combo 0 vec4 r0; vec4 r1; vec4 vTempPos; r0.w = vc[0].y; r0.x = dot( v0.xyzw, vcbones[0].xyzw ); r0.y = dot( v0.xyzw, vcbones[1].xyzw ); r0.z = dot( v0.xyzw, vcbones[2].xyzw ); vTempPos.x = dot( r0.xyzw, vc[8].xyzw ); vTempPos.y = dot( r0.xyzw, vc[9].xyzw ); r1.z = dot( r0.xyzw, vc[10].xyzw ); r1.w = dot( r0.xyzw, vc[11].xyzw ); r0.w = -r1.z * vc[16].w + vc[16].x; vTempPos.zw = r1.zw; gl_FogFragCoord = max( r0.w, vc[16].z ); r1.x = dot( r0.xyz, vc[48].xyz ); r1.y = dot( r0.xyz, vc[49].xyz ); r1.z = dot( r0.xyz, vc[50].xyz ); r0.xyz = vc[52].xyz; oT0.xyz = r1.xyz * r0.xyz + vc[51].xyz; oT2.xy = -r1.xy + vc[0].yy; oT1.xyz = r1.xyz; r0.w = r1.z + -vc[53].x; r0.z = vc[0].y; oT2.z = r0.w * -vc[53].y + r0.z; r0.x = dot( v1.xyz, vcbones[0].xyz ); r0.y = dot( v1.xyz, vcbones[1].xyz ); r0.z = dot( v1.xyz, vcbones[2].xyz ); r0.w = r0.w * vc[53].y; oT3.x = dot( r0.xyz, -vc[50].xyz ); gl_FrontColor.w = r0.w * vc[53].z; gl_FrontColor.xyz = vc[47].xyz; gl_ClipVertex = vTempPos; vTempPos.z = vTempPos.z * vc[0].z - vTempPos.w; // z' = (2*z)-w vTempPos.y = -vTempPos.y; // y' = -y vTempPos.xy += vcscreen.xy * vTempPos.w; gl_Position = vTempPos; } Compile of "shadowmodel_vs20" Failed: //GLSLvp #version 130 //ATTRIBMAP-00-30-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx attribute vec4 v0; // 80000000 900f0000 attribute vec4 v1; // 80000003 900f0001 //SAMPLERMASK-0 //SAMPLERTYPES-ffffffff //HIGHWATER-54 //HIGHWATERBONE-3 uniform vec4 vc[54]; uniform vec4 vcbones[3]; uniform vec4 vcscreen; varying vec4 oT0; varying vec4 oT1; varying vec4 oT2; varying vec4 oT3; void main() { // trans#0 label:vs-file shadowmodel_vs20 vs-index 0 vs-combo 1 vec4 r0; vec4 r1; vec4 r2; vec4 vTempPos; r0.w = vc[0].y; r0.x = dot( v0.xyzw, vcbones[0].xyzw ); r0.y = dot( v0.xyzw, vcbones[1].xyzw ); r0.z = dot( v0.xyzw, vcbones[2].xyzw ); vTempPos.x = dot( r0.xyzw, vc[8].xyzw ); vTempPos.y = dot( r0.xyzw, vc[9].xyzw ); r1.xy = -r0.zz + vc[2].wz; r1.w = max( r1.x, vc[0].x ); r2.w = 1.0 / r1.y; r2.w = r1.w * r2.w; r1.z = dot( r0.xyzw, vc[10].xyzw ); r1.w = dot( r0.xyzw, vc[11].xyzw ); r0.w = r2.w * r1.z; vTempPos.zw = r1.zw; r0.w = -r0.w * vc[16].w + vc[16].y; gl_FogFragCoord = max( r0.w, vc[16].z ); r1.x = dot( r0.xyz, vc[48].xyz ); r1.y = dot( r0.xyz, vc[49].xyz ); r1.z = dot( r0.xyz, vc[50].xyz ); r0.xyz = vc[52].xyz; oT0.xyz = r1.xyz * r0.xyz + vc[51].xyz; oT2.xy = -r1.xy + vc[0].yy; oT1.xyz = r1.xyz; r0.w = r1.z + -vc[53].x; r0.z = vc[0].y; oT2.z = r0.w * -vc[53].y + r0.z; r0.x = dot( v1.xyz, vcbones[0].xyz ); r0.y = dot( v1.xyz, vcbones[1].xyz ); r0.z = dot( v1.xyz, vcbones[2].xyz ); r0.w = r0.w * vc[53].y; oT3.x = dot( r0.xyz, -vc[50].xyz ); gl_FrontColor.w = r0.w * vc[53].z; gl_FrontColor.xyz = vc[47].xyz; gl_ClipVertex = vTempPos; vTempPos.z = vTempPos.z * vc[0].z - vTempPos.w; // z' = (2*z)-w vTempPos.y = -vTempPos.y; // y' = -y vTempPos.xy += vcscreen.xy * vTempPos.w; gl_Position = vTempPos; } Compile of "shadowmodel_vs20" Failed: //GLSLvp #version 130 //ATTRIBMAP-00-30-10-20-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx attribute vec4 v0; // 80000000 900f0000 attribute vec4 v1; // 80000003 900f0001 attribute vec4 v2; // 80000001 900f0002 attribute vec4 v3; // 80000002 900f0003 //SAMPLERMASK-0 //SAMPLERTYPES-ffffffff //HIGHWATER-54 //HIGHWATERBONE-161 uniform vec4 vc[54]; uniform vec4 vcbones[161]; uniform vec4 vcscreen; varying vec4 oT0; varying vec4 oT1; varying vec4 oT2; varying vec4 oT3; void main() { // trans#0 label:vs-file shadowmodel_vs20 vs-index 0 vs-combo 2 vec4 vd1 = vec4( 765.005859375, 0.0, 0.0, 0.0 ); vec4 va_r; vec4 r0; vec4 r1; vec4 r2; vec4 r3; vec4 vTempPos; r0.xyz = v3.zyx * vd1.xxx; va_r.xyz = r0.xyz; r1.w = v2.y + v2.x; r0 = v2.yyyy * vcbones[int(va_r.y) + 0]; r3.w = -r1.w + vc[0].y; r0 = vcbones[int(va_r.x) + 0] * v2.xxxx + r0; r2 = vcbones[int(va_r.z) + 0] * r3.wwww + r0; r0.x = dot( v0.xyzw, r2.xyzw ); r1 = v2.yyyy * vcbones[int(va_r.y) + 1]; r3.x = dot( v1.xyz, r2.xyz ); r1 = vcbones[int(va_r.x) + 1] * v2.xxxx + r1; r2 = vcbones[int(va_r.z) + 1] * r3.wwww + r1; r1 = v2.yyyy * vcbones[int(va_r.y) + 2]; r0.y = dot( v0.xyzw, r2.xyzw ); r1 = vcbones[int(va_r.x) + 2] * v2.xxxx + r1; r3.y = dot( v1.xyz, r2.xyz ); r1 = vcbones[int(va_r.z) + 2] * r3.wwww + r1; r0.z = dot( v0.xyzw, r1.xyzw ); r0.w = vc[0].y; r3.z = dot( v1.xyz, r1.xyz ); vTempPos.x = dot( r0.xyzw, vc[8].xyzw ); vTempPos.y = dot( r0.xyzw, vc[9].xyzw ); r1.z = dot( r0.xyzw, vc[10].xyzw ); r1.w = dot( r0.xyzw, vc[11].xyzw ); r0.w = -r1.z * vc[16].w + vc[16].x; vTempPos.zw = r1.zw; r1.x = dot( r0.xyz, vc[48].xyz ); r1.y = dot( r0.xyz, vc[49].xyz ); r1.z = dot( r0.xyz, vc[50].xyz ); gl_FogFragCoord = max( r0.w, vc[16].z ); r0.xyz = vc[52].xyz; oT0.xyz = r1.xyz * r0.xyz + vc[51].xyz; oT2.xy = -r1.xy + vc[0].yy; r0.w = r1.z + -vc[53].x; oT1.xyz = r1.xyz; r0.z = vc[0].y; oT2.z = r0.w * -vc[53].y + r0.z; r0.w = r0.w * vc[53].y; oT3.x = dot( r3.xyz, -vc[50].xyz ); gl_FrontColor.w = r0.w * vc[53].z; gl_FrontColor.xyz = vc[47].xyz; gl_ClipVertex = vTempPos; vTempPos.z = vTempPos.z * vc[0].z - vTempPos.w; // z' = (2*z)-w vTempPos.y = -vTempPos.y; // y' = -y vTempPos.xy += vcscreen.xy * vTempPos.w; gl_Position = vTempPos; } Compile of "shadowmodel_vs20" Failed: //GLSLvp #version 130 //ATTRIBMAP-00-30-10-20-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx attribute vec4 v0; // 80000000 900f0000 attribute vec4 v1; // 80000003 900f0001 attribute vec4 v2; // 80000001 900f0002 attribute vec4 v3; // 80000002 900f0003 //SAMPLERMASK-0 //SAMPLERTYPES-ffffffff //HIGHWATER-54 //HIGHWATERBONE-161 uniform vec4 vc[54]; uniform vec4 vcbones[161]; uniform vec4 vcscreen; varying vec4 oT0; varying vec4 oT1; varying vec4 oT2; varying vec4 oT3; void main() { // trans#0 label:vs-file shadowmodel_vs20 vs-index 0 vs-combo 3 vec4 vd1 = vec4( 765.005859375, 0.0, 0.0, 0.0 ); vec4 va_r; vec4 r0; vec4 r1; vec4 r2; vec4 r3; vec4 vTempPos; r0.xyz = v3.zyx * vd1.xxx; va_r.xyz = r0.xyz; r1.w = v2.y + v2.x; r0 = v2.yyyy * vcbones[int(va_r.y) + 0]; r3.w = -r1.w + vc[0].y; r0 = vcbones[int(va_r.x) + 0] * v2.xxxx + r0; r1 = vcbones[int(va_r.z) + 0] * r3.wwww + r0; r0.x = dot( v0.xyzw, r1.xyzw ); r3.x = dot( v1.xyz, r1.xyz ); r1 = v2.yyyy * vcbones[int(va_r.y) + 1]; r2 = vcbones[int(va_r.x) + 1] * v2.xxxx + r1; r1 = v2.yyyy * vcbones[int(va_r.y) + 2]; r2 = vcbones[int(va_r.z) + 1] * r3.wwww + r2; r1 = vcbones[int(va_r.x) + 2] * v2.xxxx + r1; r0.y = dot( v0.xyzw, r2.xyzw ); r1 = vcbones[int(va_r.z) + 2] * r3.wwww + r1; r3.y = dot( v1.xyz, r2.xyz ); r0.z = dot( v0.xyzw, r1.xyzw ); r3.z = dot( v1.xyz, r1.xyz ); r0.w = vc[0].y; vTempPos.x = dot( r0.xyzw, vc[8].xyzw ); r1.xy = -r0.zz + vc[2].wz; r1.w = max( r1.x, vc[0].x ); r2.w = 1.0 / r1.y; vTempPos.y = dot( r0.xyzw, vc[9].xyzw ); r2.w = r1.w * r2.w; r1.z = dot( r0.xyzw, vc[10].xyzw ); r1.w = dot( r0.xyzw, vc[11].xyzw ); r0.w = r2.w * r1.z; vTempPos.zw = r1.zw; r0.w = -r0.w * vc[16].w + vc[16].y; r1.x = dot( r0.xyz, vc[48].xyz ); r1.y = dot( r0.xyz, vc[49].xyz ); r1.z = dot( r0.xyz, vc[50].xyz ); gl_FogFragCoord = max( r0.w, vc[16].z ); r0.xyz = vc[52].xyz; oT0.xyz = r1.xyz * r0.xyz + vc[51].xyz; oT2.xy = -r1.xy + vc[0].yy; r0.w = r1.z + -vc[53].x; oT1.xyz = r1.xyz; r0.z = vc[0].y; oT2.z = r0.w * -vc[53].y + r0.z; r0.w = r0.w * vc[53].y; oT3.x = dot( r3.xyz, -vc[50].xyz ); gl_FrontColor.w = r0.w * vc[53].z; gl_FrontColor.xyz = vc[47].xyz; gl_ClipVertex = vTempPos; vTempPos.z = vTempPos.z * vc[0].z - vTempPos.w; // z' = (2*z)-w vTempPos.y = -vTempPos.y; // y' = -y vTempPos.xy += vcscreen.xy * vTempPos.w; gl_Position = vTempPos; } Compile of "shadowmodel_ps20" Failed: //GLSLfp #version 130 varying vec4 oT0; varying vec4 oT1; varying vec4 oT2; varying vec4 oT3; //SAMPLERMASK-0 //SAMPLERTYPES-ffffffff //HIGHWATER-1 uniform vec4 pc[1]; void main() { // trans#0 label:ps-file shadowmodel_ps20 ps-index 0 ps-combo 0 vec4 pd0 = vec4( -1.0, 1.0, 0.0, 0.0 ); vec4 r0; vec4 r1; vec4 r2; r2.xyz = oT1.xyz; r2.w = oT1.z; r1.xyz = oT2.xyz; r1.w = oT2.z; r0 = oT3.xxxx; if ( r2.x < 0.0 || r2.y < 0.0 || r2.z < 0.0 ) { discard; } if ( r1.x < 0.0 || r1.y < 0.0 || r1.z < 0.0 ) { discard; } if ( r0.x < 0.0 || r0.y < 0.0 || r0.z < 0.0 ) { discard; } r0.xyz = gl_Color.xyz + pd0.xxx; r0.xyz = oT0.www * r0.xyz + pd0.yyy; r0.w = pd0.y; gl_FragData[0] = r0; } SDLAUDIO: SDL_OpenAudioDevice() failed: Could not setup connection to PulseAudio |
martinberger |
|
Темы:
14
Сообщения:
83
Участник с: 14 ноября 2012
|
опять чёрный экран (делаю всё как сказал диван) |
Nebulosa |
|
Темы:
10
Сообщения:
831
Участник с: 05 марта 2009
|
Стим чудит, да. Переносил файл самостоятельно, но всё так же требует переноса. В комментатах пишут что скоро поправят, и вообще не нужно на это обращать внимания. |
divan |
|
Темы:
2
Сообщения:
28
Участник с: 03 марта 2012
|
Поиграться vblank_mode для driver=“dri2”.Т.е. создать отдельный параграф <device> |
martinberger |
|
Темы:
14
Сообщения:
83
Участник с: 14 ноября 2012
|
Диванкакой адрес конфига? |
martinberger |
|
Темы:
14
Сообщения:
83
Участник с: 14 ноября 2012
|
Nebulosaне то слово.Я в нём разочаровался хотя учитывая возможности и добросовестность valve совсем скоро стим может заработать лучше,чем в винде |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Кто знает почему не запускается The Book of Unwritten Tales :(
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
equeim |
|
Темы:
5
Сообщения:
30
Участник с: 27 февраля 2012
|
Здравствуйте. Решил установить нативный Стим “на посмотреть”. И столкнулся с такой проблемой: он вылетает сразу после запуска. Точнее, не сразу, а после закрытия сообщения о том, что это закрытая бета. Лог такой: [[email protected] ~]$ steam Installing breakpad exception handler for appid(steam)/version(1355250651_client) Installing breakpad exception handler for appid(steam)/version(1355250651_client) unlinked 0 orphaned pipes Installing breakpad exception handler for appid(steam)/version(1355250651_client) Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 16: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 29: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 39: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 48: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 60: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 71: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-linux.conf", line 92: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/60-group-non-tt-fonts.conf", line 483: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/60-group-tt-fonts.conf", line 262: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/62-tt-monospace-rendering.conf", line 27: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/62-tt-traced-bitmap-rendering.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/62-tt-traced-bitmap-rendering.conf", line 50: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 16: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 31: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 102: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 119: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 138: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/infinality/conf.d/80-selective-rendering-inf-win-lin.conf", line 158: Having multiple values in <test> isn't supported and may not work as expected [1213/225541:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [1213/225541:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation Installing breakpad exception handler for appid(steam)/version(1355250651_client) Installing breakpad exception handler for appid(steam)/version(1355250651_client) Installing breakpad exception handler for appid(steam)/version(1355250651_client) Installing breakpad exception handler for appid(steam)/version(1355250651_client) PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied Generating new string page texture 2: 48x256, total string texture memory is 49,15 KB Generating new string page texture 3: 256x256, total string texture memory is 311,30 KB Installing breakpad exception handler for appid(steam)/version(1355250651_client) Installing breakpad exception handler for appid(steam)/version(1355250651_client) crypto.cpp (1320) : Assertion Failed: cubInput > 0 Assert( Assertion Failed: cubInput > 0 ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/common/crypto.cpp:1320 Installing breakpad exception handler for appid(steam)/version(1355250651_client) Uploading dump (in-process) [proxy ''] /tmp/dumps/assert_20121213225543_1.dmp success = yes response: CrashID=bp-05b703bd-b0a6-4d0e-b996-f7ce82121213 Installing breakpad exception handler for appid(steam)/version(1355250651_client) Adding license for package 0 Adding license for package 18639 roaming config store loaded successfully - 0 bytes. ExecCommandLine: "/home/alexey/.local/share/Steam/ubuntu12_32/steam" Generating new string page texture 66: 128x256, total string texture memory is 442,37 KB Generating new string page texture 67: 384x256, total string texture memory is 835,58 KB Generating new string page texture 68: 24x256, total string texture memory is 860,16 KB Generating new string page texture 75: 1024x256, total string texture memory is 1,91 MB Generating new string page texture 76: 128x256, total string texture memory is 131,07 KB Installing breakpad exception handler for appid(steam)/version(1355250651_client) Generating new string page texture 77: 32x256, total string texture memory is 1,94 MB Generating new string page texture 78: 64x256, total string texture memory is 2,01 MB System startup time: 13,77 seconds Traceback (most recent call last): File "/home/alexey/.local/share/Steam/ubuntu12_32/driverhelper.py", line 431, in <module> sys.exit(main(sys.argv[1:])) File "/home/alexey/.local/share/Steam/ubuntu12_32/driverhelper.py", line 368, in main pkgInfo.init((args[1], args[2], args[3])) File "/home/alexey/.local/share/Steam/ubuntu12_32/driverhelper.py", line 276, in init f = file(self.cache_file, 'w') NameError: global name 'file' is not defined Shutting down. . . unlinked 2 orphaned pipes CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals. CAsyncIOManager: 170980 single object sleeps, 78 multi object sleeps CAsyncIOManager: 0 single object alertable sleeps, 1 multi object alertable sleeps [[email protected] ~]$ Система обновлена, драйвер проприетарный nvidia для ядра linux-ck. Не знаю даже, в чем проблема. |
equeim |
|
Темы:
5
Сообщения:
30
Участник с: 27 февраля 2012
|
Отбой, через steam steam://store все запустилось. |
NoVASpirit |
|
Темы:
6
Сообщения:
158
Участник с: 21 января 2011
|
Скачал демку The Critter Chronicles, а она не запускается… Пишет ошибку сегментирования… Так, что про дистры отличные от убунты можно забыть :( |