GPUShader: compile error on opening blender #74911

Closed
opened 2020-03-19 07:58:49 +01:00 by voxel · 11 comments

System Information
Operating system: Linux Mint
Graphics card: 4.4.0 NVIDIA 340.107

Blender 2.83 (sub 9), Commit date: 2020-03-18 15:41, Hash 9e382dd2a3

Backtrace
/home/xuse/soft/blender283/blender(BLI_system_backtrace+0x1d) [0x7404e0d]
/home/xuse/soft/blender283/blender() [0x16b5a32]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fb2c0306f20]
/home/xuse/soft/blender283/blender(GPU_shader_get_uniform_block+0x4) [0x611d2c4]
/home/xuse/soft/blender283/blender() [0x1a9ecbb]
/home/xuse/soft/blender283/blender(DRW_shgroup_create+0x1c) [0x1aa09bc]
/home/xuse/soft/blender283/blender(workbench_antialiasing_cache_init+0xfe) [0x1afc0ee]
/home/xuse/soft/blender283/blender(workbench_cache_init+0x39) [0x1ac0669]
/home/xuse/soft/blender283/blender() [0x1a9b146]
/home/xuse/soft/blender283/blender(DRW_draw_render_loop_ex+0x3a4) [0x1a9c5d4]
/home/xuse/soft/blender283/blender(view3d_main_region_draw+0x8f) [0x209c9cf]
/home/xuse/soft/blender283/blender(ED_region_do_draw+0x8f1) [0x1cb91b1]
/home/xuse/soft/blender283/blender(wm_draw_update+0x527) [0x1962197]
/home/xuse/soft/blender283/blender(WM_main+0x30) [0x19600a0]
/home/xuse/soft/blender283/blender(main+0x321) [0x15ec8f1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb2c02e9b97]
/home/xuse/soft/blender283/blender() [0x16b225c]

Blender Version
Broken since: blender-2.83-7ba403dc94c3
Worked: blender-2.83-212660f46745

When trying to launch from cmd, I get:
found bundled python: /home/xuse/soft/blender283/2.83/python
GPUShader: compile error:
0(621) : error C0105: Syntax error in #if
0(621) : error C0105: Syntax error in #if
0(622) : error C0000: syntax error, unexpected '!' at token "!"
0(623) : error C0000: you must define the shading language: SMAA_HLSL_, SMAA_GLSL_ or SMAA_CUSTOM_SL
0(640) : error C0000: syntax error, unexpected reserved word "return" at token "return"
0(654) : error C0000: syntax error, unexpected reserved word "return" at token "return"

Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

I also deleted the preferences to force a clean start, but with the same result.

**System Information** Operating system: Linux Mint Graphics card: 4.4.0 NVIDIA 340.107 Blender 2.83 (sub 9), Commit date: 2020-03-18 15:41, Hash 9e382dd2a3d8 **Backtrace** /home/xuse/soft/blender283/blender(BLI_system_backtrace+0x1d) [0x7404e0d] /home/xuse/soft/blender283/blender() [0x16b5a32] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fb2c0306f20] /home/xuse/soft/blender283/blender(GPU_shader_get_uniform_block+0x4) [0x611d2c4] /home/xuse/soft/blender283/blender() [0x1a9ecbb] /home/xuse/soft/blender283/blender(DRW_shgroup_create+0x1c) [0x1aa09bc] /home/xuse/soft/blender283/blender(workbench_antialiasing_cache_init+0xfe) [0x1afc0ee] /home/xuse/soft/blender283/blender(workbench_cache_init+0x39) [0x1ac0669] /home/xuse/soft/blender283/blender() [0x1a9b146] /home/xuse/soft/blender283/blender(DRW_draw_render_loop_ex+0x3a4) [0x1a9c5d4] /home/xuse/soft/blender283/blender(view3d_main_region_draw+0x8f) [0x209c9cf] /home/xuse/soft/blender283/blender(ED_region_do_draw+0x8f1) [0x1cb91b1] /home/xuse/soft/blender283/blender(wm_draw_update+0x527) [0x1962197] /home/xuse/soft/blender283/blender(WM_main+0x30) [0x19600a0] /home/xuse/soft/blender283/blender(main+0x321) [0x15ec8f1] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb2c02e9b97] /home/xuse/soft/blender283/blender() [0x16b225c] **Blender Version** Broken since: blender-2.83-7ba403dc94c3 Worked: blender-2.83-212660f46745 **When trying to launch from cmd, I get:** found bundled python: /home/xuse/soft/blender283/2.83/python GPUShader: compile error: 0(621) : error C0105: Syntax error in #if 0(621) : error C0105: Syntax error in #if 0(622) : error C0000: syntax error, unexpected '!' at token "!" 0(623) : error C0000: you must define the shading language: SMAA_HLSL_*, SMAA_GLSL_* or SMAA_CUSTOM_SL 0(640) : error C0000: syntax error, unexpected reserved word "return" at token "return" 0(654) : error C0000: syntax error, unexpected reserved word "return" at token "return" Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) I also deleted the preferences to force a clean start, but with the same result.
Author

Added subscriber: @voxel

Added subscriber: @voxel

#75006 was marked as duplicate of this issue

#75006 was marked as duplicate of this issue
Ankit Meel changed title from Blender crash when trying to start it to GPUShader: compile error on opening blender 2020-03-19 12:25:09 +01:00
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

can you retry a make update ?

can you retry a `make update` ?
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

Can you give me, please, few more details? I'm not quite that technical. If you're talking about GNU make, my system has version 4.1 and that seems to be the latest in the Linux Mint repository. I checked gnu.org and their last version is 4.3. I could try to install it if that is what you're suggesting, but I have to read about how to do it. If you're talking about compiling Blender from sources, I didn't try that yet.

Can you give me, please, few more details? I'm not quite that technical. If you're talking about GNU make, my system has version 4.1 and that seems to be the latest in the Linux Mint repository. I checked gnu.org and their last version is 4.3. I could try to install it if that is what you're suggesting, but I have to read about how to do it. If you're talking about compiling Blender from sources, I didn't try that yet.
Member
  • I thought you complied blender from source. running make update is regular to update precompiled libraries, source code etc. I suggest you compile from source and try a git bisect to find the problematic commit between working and broken version. https:*wiki.blender.org/wiki/Building_Blender/Linux (feel free to ask for help on https:*devtalk.blender.org)
  • If not, first step would be to update the drivers. It was released on 2018.6.6 & for sure this was updated. https://www.nvidia.com/en-us/drivers/unix/freebsd-x64-archive/
- I thought you complied blender from source. running `make update` is regular to update precompiled libraries, source code etc. I suggest you compile from source and try a `git bisect` to find the problematic commit between working and broken version. https:*wiki.blender.org/wiki/Building_Blender/Linux (feel free to ask for help on https:*devtalk.blender.org) - If not, first step would be to update the drivers. It was released on 2018.6.6 & for sure this was updated. https://www.nvidia.com/en-us/drivers/unix/freebsd-x64-archive/
Member

Added subscriber: @akvarog

Added subscriber: @akvarog
Author

I updated the drivers to 435.21 (it was a pain!) and now it's working again.
Thank you Ankit for your support. From my side, you may close this task.

I updated the drivers to 435.21 (it was a pain!) and now it's working again. Thank you Ankit for your support. From my side, you may close this task.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Ankit Meel self-assigned this 2020-03-23 11:45:16 +01:00
Member

Marking invalid since not a bug. Hopefully it would work for Igo too.

Marking invalid since not a bug. Hopefully it would work for Igo too.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#74911
No description provided.