Skip to content

Demo: main panicked - Result::unwrap() - Err value: "GL context creation failed" #192

@Webtest7

Description

@Webtest7

NEWBIE ALERT! I am very new to 'rust'. I got a few primitive things running and found this demo of a graphics app which I want to try to see if I want to continue with 'rust'.
It builds normally, but when it runs, it aborts with an error message:

  • thread 'main' panicked at 'called Result::unwrap() on an Err value: "GL context creation failed"', libcore/result.rs:945:5
    note: Run with RUST_BACKTRACE=1 for a backtrace.

I tried to figure out the BACKTRACE stuff, but wasn't able to ... It disappears from the environment as soon as it is put in ??? I don't know what I am doing yet.

Here is my system info - I hope it is enough:

Machine: System: Hewlett-Packard product: HP Compaq dx2400 Microtower
Mobo: ASUSTeK model: 2A73 v: 1.01
Bios: American Megatrends v: 5.23 date: 04/21/2008
CPU: Dual core Intel Core2 Duo E4600 (-MCP-) cache: 2048 KB
clock speeds: max: 2400 MHz 1: 1600 MHz 2: 2000 MHz
CPU Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
cx16 cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht lahf_lm lm mca mce mmx
monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36 rep_good
sep ss sse sse2 ssse3 syscall tm tm2 tsc vme xtpr
System: Host: mint Kernel: 4.10.0-38-generic x86_64 (64 bit) Desktop: MATE 1.18.0
Distro: Linux Mint 18.3 Sylvia
Graphics: Card: Intel 82G33/G31 Express Integrated Graphics Controller
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: [email protected]
GLX Renderer: Mesa DRI Intel G33 GLX Version: 1.4 Mesa 17.0.7
mint@mint ~ $ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
mint@mint ~ $ find /dev -group video
/dev/fb0
/dev/dri/card0
/dev/dri/renderD128
mint@mint ~ $ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
Subsystem: Hewlett-Packard Company 82G33/G31 Express Integrated Graphics Controller
Kernel driver in use: i915
Kernel Mode Setting driver: i915, version 1.6.0 20161121

I spent several hours googling for a resolution to this problem with NO success.
Thank you for any and all comments, suggestions, and assistance.
Blessings in abundance,
Art in Carlisle, PA USA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions