canglongbeta
本帖最后由 canglongbeta 于 2021-1-9 06:53 编辑

SEUS Renewed E2 修改过final后依然报错,而且出现了奇奇怪怪的(雨点?火花?)。下面的是dav gy test14,修改final后依然报错,出现极其阴间的场面,修改自不知道什么版本的SEUS(原帖:https://tieba.baidu.com/p/7178503686,标题打错了不要在意,链接是test14)我的显卡是A卡,请告知解决方案(由于第一个光影付费,所以请不要发文件,说方法即可,第二个免费,所以请告诉我修改方法然后把修改后的文件给我)
SEUS LPVGI E1也不能用,请帮个忙谢谢




GeForceLegend
本帖最后由 GeForceLegend 于 2021-1-8 23:25 编辑

建议上传log,光看两个文件报错也很难看出什么来,我Parteon上SE的订阅刚过期没法弄Renewed E2

顺便,如果可以的话,发一份完整的composite.fsh和composite2.fsh的代码上来,配合log方便查错


canglongbeta
GeForceLegend 发表于 2021-1-8 22:26
建议上传log,光看两个文件报错也很难看出什么来,我Parteon上SE的订阅刚过期没法弄Renewed E2

顺便,如果 ...

我私发给你了,帮忙看看,还有下面那个dav gy test14也帮忙弄一下谢谢🙏

GeForceLegend
canglongbeta 发表于 2021-1-9 06:48
我私发给你了,帮忙看看,还有下面那个dav gy test14也帮忙弄一下谢谢🙏

还有log呢,没log我怎么看是哪里报错
你这种一般是A卡的问题,我加载应该是不会报错的,没log不好看哪儿有问题

旋转的枪兵
这边建议删了重新下一个,我之前也有这种情况,删了重下就好了

canglongbeta
GeForceLegend 发表于 2021-1-9 08:01
还有log呢,没log我怎么看是哪里报错
你这种一般是A卡的问题,我加载应该是不会报错的,没log不好看哪儿 ...

log是指mc运行的log?

GeForceLegend
canglongbeta 发表于 2021-1-9 17:55
log是指mc运行的log?

是的,log文件一般包含了错误代码的具体位置,对错误诊断很有帮助

canglongbeta
GeForceLegend 发表于 2021-1-9 21:48
是的,log文件一般包含了错误代码的具体位置,对错误诊断很有帮助

RenewedE2在重新下载F5版本Optifine后解决了,但是dav gy test 14一用就崩,日志在这,帮忙看看https://cowtransfer.com/s/3c775ad4613a41

GeForceLegend
canglongbeta 发表于 2021-1-12 21:41
RenewedE2在重新下载F5版本Optifine后解决了,但是dav gy test 14一用就崩,日志在这,帮忙看看https://c ...

你上传的log里面没看到任何ERROR,试试加载dav光影之后保存并退出游戏再上传log

canglongbeta
GeForceLegend 发表于 2021-1-12 22:03
你上传的log里面没看到任何ERROR,试试加载dav光影之后保存并退出游戏再上传log ...

使用后加载然后直接崩溃,加载条完毕直接崩,无法保存并退出

GeForceLegend
canglongbeta 发表于 2021-1-13 06:19
使用后加载然后直接崩溃,加载条完毕直接崩,无法保存并退出

那就崩了之后等游戏完全结束再上传log

canglongbeta
GeForceLegend 发表于 2021-1-13 08:17
那就崩了之后等游戏完全结束再上传log

经过我的一系列操作终于不崩了,但是仍然报错,log:https://cowtransfer.com/s/c7d0de9cea6640

GeForceLegend
canglongbeta 发表于 2021-1-15 21:26
经过我的一系列操作终于不崩了,但是仍然报错,log:https://cowtransfer.com/s/c7d0de9cea6640 ...

是Dav光影的问题对吧?那个贴的提取码我怎么整都不对,不过应该是composite和composite2的问题。大体的三处问题我都知道大概怎么回事了,不过没具体的代码不好整

canglongbeta
GeForceLegend 发表于 2021-1-15 22:55
是Dav光影的问题对吧?那个贴的提取码我怎么整都不对,不过应该是composite和composite2的问题。大体的三 ...

链接: https://pan.baidu.com/s/1YT--OEV9vifpDwrbTNOa2A 提取码: y4a1

GeForceLegend
本帖最后由 GeForceLegend 于 2021-1-16 23:22 编辑

composite.fsh 第551行 114f 改成114.0f
composite2.fsh 第347和348行 2f 改成2.0f
很奇怪为啥347行报错但是348没报错,但是建议都改了
目前只看得出这么些

还有一个错是 Btxlus-v10.1-Ultra-SEUS-Change 报的,似乎是composite.vsh 的37~39行用了in。没有光影文件不知道具体情况,不过根据总共三行我估计他在改attribute,vsh里面虽然说高版本GLSL里面attribute过期了,但是那玩意不是用in代替的,需要layout(location=xx) in,比如 layout(location = 11) in vec4 mc_Entity; (仅适用于1.15以及更高版本,低版本下mc_Entity的位置是10)

canglongbeta
GeForceLegend 发表于 2021-1-16 23:15
composite.fsh 第551行 114f 改成114.0f
composite2.fsh 第347和348行 2f 改成2.0f
很奇怪为啥347行报错但 ...

依然报错:https://cowtransfer.com/s/6e8d872dc2a647

GeForceLegend
canglongbeta 发表于 2021-1-17 10:37
依然报错:https://cowtransfer.com/s/6e8d872dc2a647

composite.fsh:
    773行:20f改成20.0f
composite2.fsh:
    1994行:1f改成1.0f
    2017行:1f改成1.0f
    2090行:1f改成1.0f

不确保还有哪儿会报错,毕竟我没法对整个文件的浮点数进行排查,我建议你自己学着看一下log文件。
比如下面这一段报错:
  1. [10:31:56] [main/ERROR]: [Shaders] Error compiling fragment shader: /shaders/composite.fsh
  2. [10:31:56] [main/INFO]: [Shaders] File: 1 = /shaders/Common.inc
  3. [10:31:56] [main/INFO]: [Shaders] Shader info log: /shaders/composite.fsh
  4. Fragment shader failed to compile with the following errors:
  5. WARNING: 0:80: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  6. WARNING: 0:81: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  7. WARNING: 0:83: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  8. WARNING: 0:84: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  9. WARNING: 0:85: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  10. WARNING: 0:86: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  11. WARNING: 0:88: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  12. WARNING: 0:89: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  13. WARNING: 0:90: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  14. WARNING: 0:91: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  15. WARNING: 0:92: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  16. WARNING: 0:93: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  17. WARNING: 0:94: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  18. WARNING: 0:95: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  19. WARNING: 0:96: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  20. WARNING: 0:111: deprecated130(#55) "varing" is deprecated since GLSL1.3. We suggest usage of "in/out"
  21. ERROR: 0:773: error(#132) Syntax error: "f" parse error
  22. ERROR: error(#273) 1 compilation errors.  No code generated
  23. [10:31:56] [main/ERROR]: [Shaders] Error linking program: 23 (composite)
  24. [10:31:56] [main/INFO]: [Shaders] Info log: composite
  25. Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed.
  26. [10:31:56] [main/ERROR]: [Shaders] OpenGL error: 1282 (Invalid operation), program: composite, at: useProgram
  27. [10:31:56] [main/INFO]: [Shaders] Info log: composite
  28. Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed.
  29. [10:31:56] [main/ERROR]: [Shaders] [Shaders] Error: Invalid program "composite"
  30. [10:31:56] [main/INFO]: [CHAT] [Shaders] Error: Invalid program "composite"
复制代码
这个就是log里面在加载composite的时候报的错误。WARNING不用管,因为这个基本上没有实际影响,重要的是看中间那段特别长的前面没有时间的输出信息的底部:
  1. ERROR: 0:773: error(#132) Syntax error: "f" parse error
  2. ERROR: error(#273) 1 compilation errors. No code generated
复制代码
所有的信息都给在了第一行: 0:773 意味着是0号文件的773行,由于GLSL有include,源文件为0号,include的文件往后排,而行数就不用说了
error(#132) Syntax error: 这个是错误的名称,不懂的话不用管
"f" parse error 是具体的内容,这个翻译过来就是对一个 f 字符出现了解析错误。
下次还有问题你先试试自己解决一下,大部分启动器可以边运行游戏边输出日志,自己解决的时候就可以一直开着游戏然后边改代码边重载光影,效率要高不少。