raspberrypi / rpi-imager

The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices.
https://www.raspberrypi.com/software
Other
1.64k stars 248 forks source link

Crashes after launching #515

Open K0-RR opened 1 year ago

K0-RR commented 1 year ago
$ rpi-imager
QGLXContext: Failed to create dummy context
qrc:/main.qml:281:21: QML Rectangle: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)
maxnet commented 1 year ago

Failed to create OpenGL context

Does "which rpi-imager" show /usr/bin/rpi-imager or something else like "/snap/..." ?

What Linux distribution, GPU card? You do are sitting in front of that computer and started "rpi-imager" locally from a local terminal window, and not through ssh or other remote means?

K0-RR commented 1 year ago

which rpi-imager

/usr/bin/rpi-imager

What Linux distribution, GPU card

It's an old laptop with Linux Mint Cinnamon v21, Geforce 920M.

You do are sitting in front of that computer and started "rpi-imager" locally from a local terminal window, and not through ssh or other remote means?

Yes

maxnet commented 1 year ago

Running other GPU accelerated programs does work? E.g. "glxgears" (from "mesa-utils" package).

If not, may need to update the Nvidia driver.

strahlc commented 1 year ago

Same problem here:

$ /usr/bin/rpi-imager
qrc:/main.qml:281:21: QML Rectangle: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Segmentation fault (core dumped)

GPU card:

$ lspci | rg VGA
03:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] (rev a1)
hnariman commented 1 month ago

Is this issue still open?

also having this issue on Fedora 39 (workstation) - rpi-imager installed through dnf

$ rpi-imager 

QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
[1]    687787 IOT instruction (core dumped)  rpi-imager
$ which rpi-imager
/usr/bin/rpi-imager
lspci | rg VGA  
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] (rev a1)