Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error loading file "/home/s98259/.openlara/047A427E.xsh" #470

Open
Helenah2020 opened this issue Aug 16, 2023 · 8 comments
Open

error loading file "/home/s98259/.openlara/047A427E.xsh" #470

Helenah2020 opened this issue Aug 16, 2023 · 8 comments

Comments

@Helenah2020
Copy link

Helenah2020 commented Aug 16, 2023

Description

Failure to load what I suspect is a shader file.
error loading file "/home/s98259/.openlara/047A427E.xsh"

Architecture and Platform

Operating System: GNU/Linux
CPU Architecture: ARMv8
CPU Model: Rockchip RK3399

Things Tried

  • Clearing the cache (.openlara)
  • Looking for the file to put in place manually
  • Re-compiling

Filesystem Trees

OpenLara/bin
├── DATA
│   ├── CRED1.PCX
│   ├── CRED2.PCX
│   ├── CRED3.PCX
│   ├── CUT1.PHD
│   ├── CUT2.PHD
│   ├── CUT3.PHD
│   ├── CUT4.PHD
│   ├── EIDOSPC.PCX
│   ├── END.PCX
│   ├── GYM.PHD
│   ├── INSTALL.PCX
│   ├── LEVEL10A.PHD
│   ├── LEVEL10B.PHD
│   ├── LEVEL10C.PHD
│   ├── LEVEL1.PHD
│   ├── LEVEL2.PHD
│   ├── LEVEL3A.PHD
│   ├── LEVEL3B.PHD
│   ├── LEVEL4.PHD
│   ├── LEVEL5.PHD
│   ├── LEVEL6.PHD
│   ├── LEVEL7A.PHD
│   ├── LEVEL7B.PHD
│   ├── LEVEL8A.PHD
│   ├── LEVEL8B.PHD
│   ├── LEVEL8C.PHD
│   ├── TITLEH.PCX
│   └── TITLE.PHD
├── OpenLara
└── openvr_api.dll
.openlara
└── perlin3_128.raw

Simple Log

scan 32 files
init gamepads:
OpenLara (Aug 16 2023)
Vendor   : Mesa
Renderer : Mali-T860 (Panfrost)
Version  : 3.1 Mesa 23.0.4
cache    : /home/s98259/.openlara/
supports :
  variyngs count : 16
  binary shaders : true
  vertex arrays  : true
  depth texture  : true
  shadow sampler : true
  discard frame  : false
  NPOT textures  : true
  3D   textures  : true
  RG   textures  : true
  border color   : true
  max level      : false
  anisotropic    : 0
  float textures : float = full, half = full

shader: cache warm-up...
error loading file "/home/s98259/.openlara/047A427E.xsh"
zsh: segmentation fault (core dumped)  ./OpenLara

Compile Log

clang-15: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang-15: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from main.cpp:15:
In file included from ../../game.h:4:
In file included from ../../core.h:795:
../../gapi/gl.h:1319:35: warning: comparison of function 'glTexImage3D' not equal to a null pointer is always true [-Wtautological-pointer-compare]
            support.tex3D       = glTexImage3D != NULL;
                                  ^~~~~~~~~~~~    ~~~~
../../gapi/gl.h:1319:35: note: prefix with the address-of operator to silence this warning
            support.tex3D       = glTexImage3D != NULL;

Debug Log

debug.log

@Helenah2020
Copy link
Author

Someone else has tested this and had the same issue on an X86 system.

@XProger
Copy link
Owner

XProger commented Aug 17, 2023

check the access rights for /home/s98259/.openlara/047A427E.xsh the game can't fopen it for some reason

@Helenah2020
Copy link
Author

Helenah2020 commented Aug 17, 2023

check the access rights for /home/s98259/.openlara/047A427E.xsh the game can't fopen it for some reason

Thing is, OpenLara created the .openlara directory, and created a .raw file but no other files as seen in the directory tree I posted in my issue so it clearly can create files in there, I then removed the directory upon this error, to which OpenLara created it again and reported the same error so therefore I wouldn't have thought there was a permissions problem unless OpenLara is creating the directory then setting the permissions on it. As per your request however, I have just checked the directory permissions and all seems good

stat -c "%A %a %U %G" .openlara
drwxr-xr-x 755 s98259 s98259

@ws1968
Copy link

ws1968 commented Aug 18, 2023

I also have the same problem. Running Manjaro Linux on a Odroid N2plus (aarch64). The previous release works oke, but I don't have the source anymore so can't see what has changed.

@Helenah2020
Copy link
Author

Helenah2020 commented Aug 18, 2023

I also have the same problem. Running Manjaro Linux on a Odroid N2plus (aarch64). The previous release works oke, but I don't have the source anymore so can't see what has changed.

It's not a platform or distribution specific issue, a friend of mine has attempted to test OpenLara after having read my issue, he uses Fedora Linux on an X86_64 system and had the same issue.

@RICCIARDI-Adrien
Copy link

Same problem for me on Debian Testing (trixie) x86_64.

@egrain
Copy link

egrain commented Oct 14, 2023

Same on Archlinux, everything fresh, 6.5.7-arch1-1 kernel. (x86_64)

@rafaegont1
Copy link
Contributor

The last release for nix works for me, but when I try to build from source it gives me this same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants