Comments (8)
On windows? That's really weird! Anything special about the system?
Can you post the full system configuration?
from glfw.jl.
Device name LAPTOP-F5O1N7V3
Processor AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz
Installed RAM 16.0 GB (15.4 GB usable)
Device ID 99199F31-7E5A-4CCB-B695-39EEB04D95DC
Product ID 00355-60680-92500-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 11 Pro
Version 22H2
Installed on 12/03/2023
OS build 22621.2134
Serial number PF3A2HMT
Experience Windows Feature Experience Pack 1000.22659.1000.0
from glfw.jl.
And when you run using GLFW; GLFW.Window()
in a normal terminal/powershell/cmd, it just throws that error?
from glfw.jl.
julia> GLFW.Window() ERROR: ReadOnlyMemoryError() Stacktrace: [1] CreateWindow(width::Int64, height::Int64, title::String, monitor::GLFW.Monitor, share::GLFW.Window) @ GLFW C:\Users\Vlad\.julia\packages\GLFW\BWxfF\src\glfw3.jl:499 [2] GLFW.Window(; name::String, resolution::Tuple{Int64, Int64}, debugging::Bool, major::Int64, minor::Int64, windowhints::Vector{Tuple{UInt32, Int64}}, contexthints::Vector{Tuple{UInt32, Integer}}, visible::Bool, focus::Bool, fullscreen::Bool, monitor::Nothing, share::GLFW.Window) @ GLFW C:\Users\Vlad\.julia\packages\GLFW\BWxfF\src\glfw3.jl:344 [3] GLFW.Window() @ GLFW C:\Users\Vlad\.julia\packages\GLFW\BWxfF\src\glfw3.jl:302 [4] top-level scope @ REPL[5]:1
from glfw.jl.
And all drivers for the GPU are correctly installed and you dont run this in WSL or something?
from glfw.jl.
I run it on Visual Studio Code and it was working before.
from glfw.jl.
Since this is directly calling into C and doesn't do anything weird, and GLFW hasn't changed at all in the last year or so, my only idea is that you must have gotten a faulty driver update, or something like that.
Unless, something else is different now on your system, but this more or less directly calls into the OS to open a window, and Windows has been very stable with driver support in the last 5 years or so.
Btw, which Julia version is this?
from glfw.jl.
Julia 1.9.2
from glfw.jl.
Related Issues (20)
- [Vulkan] Creating window surface cannot work on macOS HOT 1
- EGL support? HOT 1
- inaccurate performance counters HOT 1
- Compatability with julia-vscode? HOT 1
- libGL error: failed to load driver: swrast HOT 12
- test fail for Manjaro on Renoir APU HOT 1
- Don't know how to install this?
- TagBot trigger issue HOT 1
- No matching fbConfigs or visuals found HOT 3
- How to add new user data to the window context?
- Going to fullscreen causes a crash on macOS (Apple M1) HOT 1
- Please replace deprecated Makie.primary_resolution() with GLFW.jl cross-platform function
- GLFWError (API_UNAVAILABLE): WGL: The driver does not appear to support OpenGL HOT 1
- GL dependencies kill CI capacity HOT 2
- GLFW crashes entire julia session after re-attaching in tmux HOT 2
- unable to load GLMakie HOT 2
- NSInternalInconsistencyException when calling display() HOT 1
- No GLXFBConfigs returned using X11 forwarding HOT 1
- Release latest changes? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glfw.jl.