Giter VIP home page Giter VIP logo

Comments (8)

SimonDanisch avatar SimonDanisch commented on June 21, 2024

On windows? That's really weird! Anything special about the system?
Can you post the full system configuration?

from glfw.jl.

vladdez avatar vladdez commented on June 21, 2024

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.

SimonDanisch avatar SimonDanisch commented on June 21, 2024

And when you run using GLFW; GLFW.Window() in a normal terminal/powershell/cmd, it just throws that error?

from glfw.jl.

vladdez avatar vladdez commented on June 21, 2024

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.

SimonDanisch avatar SimonDanisch commented on June 21, 2024

And all drivers for the GPU are correctly installed and you dont run this in WSL or something?

from glfw.jl.

vladdez avatar vladdez commented on June 21, 2024

I run it on Visual Studio Code and it was working before.

from glfw.jl.

SimonDanisch avatar SimonDanisch commented on June 21, 2024

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.

vladdez avatar vladdez commented on June 21, 2024

Julia 1.9.2

from glfw.jl.

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.