Git Product home page Git Product logo

Comments (3)

mike-ward avatar mike-ward commented on September 26, 2024

I'm seeing something similar:

mike@fedora:~/Documents/github/ved$ ./ved ved.v
size=gg.Size{
    width: 2560
    height: 1440
}
screen_width=2560
MAX=880
height=1440
loading syntax files...
V panic: the builtin syntax file can not be decoded
v hash: 66ea826
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:16773: at _v_panic: Backtrace
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:48082: by main__Ved_load_syntaxes
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:48457: by main__main
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:52100: by main

mike@fedora:~/Documents/github/ved$ v doctor
V full version: V 0.4.6 add1621.66ea826
OS: linux, Linux version 6.8.11-300.fc40.x86_64 (mockbuild@f09cc32e12c24ed6a1a66c2a2e9f1728) (gcc (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4), GNU ld version 2.41-37.fc40) #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024
Processor: 4 cpus, 64bit, little endian, Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz

getwd: /home/mike/Documents/github/ved
vexe: /home/mike/Documents/github/v/v
vexe mtime: 2024-07-09 13:15:02

vroot: OK, value: /home/mike/Documents/github/v
VMODULES: OK, value: /home/mike/.vmodules
VTMP: OK, value: /tmp/v_1000

Git version: git version 2.45.2
Git vroot status: weekly.2024.25-79-g66ea8260
.git/config present: true

CC version: cc (GCC) 14.1.1 20240607 (Red Hat 14.1.1-5)
thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5

from ved.

luong2047 avatar luong2047 commented on September 26, 2024

I also got the same execution error on Debian 12:

size=gg.Size{
width: 2560
height: 1440
}
screen_width=2560
MAX=880
height=1440
loading syntax files...
0 syntax files loaded + the compile time builtin syntax for .v
full screen=true
add_workspace(".")
open workspace(0)
load session "/home/horus/.ved/session"
first_launch=true
open file "/home/horus/apps/ved/welcome.txt"
getting words
saving session...
saving view #0 /home/horus/apps/ved/welcome.txt
saving view #1
saving view #2
sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 2, item_id: 49, fname: /home/horus/apps/v/thirdparty/sokol/sokol_app.h, line: 10180, message: LINUX_X11_QUERY_SYSTEM_DPI_FAILED: failed to query system dpi value, assuming default 96.0
sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 0, item_id: 35, fname: /home/horus/apps/v/thirdparty/sokol/sokol_app.h, line: 10412, message: LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 162
Current serial number in output stream: 162

from ved.

medvednikov avatar medvednikov commented on September 26, 2024

Can you run

glxinfo | grep "OpenGL version"

Do you have GPU drivers installed?

from ved.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.