iEvgeny / cctv-viewer

CCTV Viewer - viewer and mounter video streams.
GNU General Public License v3.0
134 stars 19 forks source link

libGL error: DRI driver #79

Closed mabed-fr closed 9 months ago

mabed-fr commented 9 months ago

Hello i have cctv-viewer crash at launch

 ~ → sudo snap refresh --list
[sudo] Mot de passe de mabed : 
All snaps up to date.
~ → sudo snap refresh cctv-viewer
snap "cctv-viewer" has no updates available
 ~ →  snap info cctv-viewer
name:      cctv-viewer
summary:   Viewer and mounter video streams
publisher: Evgeny S Maksimov (ievgeny)
store-url: https://snapcraft.io/cctv-viewer
contact:   me@vragam.net
license:   GPL-3.0
description: |
  CCTV Viewer - a simple application for simultaneously viewing multiple
  video streams. Designed for high performance and low latency.
  Based on ffmpeg.
commands:
  - cctv-viewer
snap-id:      C3fPuBbiCM4TNYMAIYrrjrYdp8IP52WX
tracking:     latest/stable
refresh-date: today at 07:48 CET
channels:
  latest/stable:    0.1.9+git 2024-02-19 (1250) 373MB -
  latest/candidate: 0.1.9+git 2024-02-19 (1250) 373MB -
  latest/beta:      0.1.9+git 2024-02-19 (1250) 373MB -
  latest/edge:      0.1.9+git 2024-02-19 (1250) 373MB -
installed:          0.1.9+git            (1250) 373MB -
~ → cctv-viewer -l 2
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: swrast
QGLXContext: Failed to create dummy context
[QmlAVPlayer @ 0x564df87a15b0] stop()
[QmlAVPlayer @ 0x564df87a15b0] stop()
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df87d7930] stop()
[QmlAVPlayer @ 0x564df87d7930] stop()
[QmlAVPlayer @ 0x564df87e0730] stop()
[QmlAVPlayer @ 0x564df87e0730] stop()
[QmlAVPlayer @ 0x564df8903c60] stop()
[QmlAVPlayer @ 0x564df8903c60] stop()
[QmlAVPlayer @ 0x564df87f28a0] stop()
[QmlAVPlayer @ 0x564df87f28a0] stop()
[QmlAVPlayer @ 0x564df87be9d0] stop()
[QmlAVPlayer @ 0x564df87be9d0] stop()
[QmlAVPlayer @ 0x564df87561c0] stop()
[QmlAVPlayer @ 0x564df87561c0] stop()
[QmlAVPlayer @ 0x564df8837e00] stop()
[QmlAVPlayer @ 0x564df8837e00] stop()
[QmlAVPlayer @ 0x564df87bfce0] stop()
[QmlAVPlayer @ 0x564df87bfce0] stop()
[QmlAVPlayer @ 0x564df87f3680] stop()
[QmlAVPlayer @ 0x564df87f3680] stop()
[QmlAVPlayer @ 0x564df87f2b00] stop()
[QmlAVPlayer @ 0x564df87f2b00] stop()
[QmlAVPlayer @ 0x564df88ea9b0] stop()
[QmlAVPlayer @ 0x564df88ea9b0] stop()
[QmlAVPlayer @ 0x564df88e5800] stop()
[QmlAVPlayer @ 0x564df88e5800] stop()
[QmlAVPlayer @ 0x564df87a15b0] setSource(source=rtmp://live.a71.ru/demo/0)
[QmlAVPlayer @ 0x564df87a15b0] stop()
[QmlAVPlayer @ 0x564df87a15b0] stop()
[QmlAVPlayer @ 0x564df8729600] setSource(source=rtmp://live.a71.ru/demo/1)
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df87a15b0] setSource(source=rtsp://192.168.1.254:8554/TELECOM)
[QmlAVPlayer @ 0x564df87a15b0] stop()
[QmlAVPlayer @ 0x564df8926b40] stop()
[QmlAVPlayer @ 0x564df8926b40] stop()
[QmlAVPlayer @ 0x564df8925500] stop()
[QmlAVPlayer @ 0x564df8925500] stop()
[QmlAVPlayer @ 0x564df8c2c900] stop()
[QmlAVPlayer @ 0x564df8c2c900] stop()
[QmlAVPlayer @ 0x564df8939cb0] stop()
[QmlAVPlayer @ 0x564df8939cb0] stop()
[QmlAVPlayer @ 0x564df8926b40] setSource(source=rtsp://192.168.1.254:8554/TELECOM)
[QmlAVPlayer @ 0x564df8926b40] stop()
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df8729600] stop()
[QmlAVPlayer @ 0x564df87d7930] stop()
[QmlAVPlayer @ 0x564df87d7930] stop()
[QmlAVPlayer @ 0x564df87e0730] stop()
[QmlAVPlayer @ 0x564df87e0730] stop()
[QmlAVPlayer @ 0x564df87f28a0] stop()
[QmlAVPlayer @ 0x564df87f28a0] stop()
[QmlAVPlayer @ 0x564df87be9d0] stop()
[QmlAVPlayer @ 0x564df87be9d0] stop()
[QmlAVPlayer @ 0x564df87561c0] stop()
[QmlAVPlayer @ 0x564df87561c0] stop()
[QmlAVPlayer @ 0x564df8837e00] stop()
[QmlAVPlayer @ 0x564df8837e00] stop()
[QmlAVPlayer @ 0x564df87bfce0] stop()
[QmlAVPlayer @ 0x564df87bfce0] stop()
[QmlAVPlayer @ 0x564df87f3680] stop()
[QmlAVPlayer @ 0x564df87f3680] stop()
[QmlAVPlayer @ 0x564df87f2b00] stop()
[QmlAVPlayer @ 0x564df87f2b00] stop()
[QmlAVPlayer @ 0x564df88ea9b0] stop()
[QmlAVPlayer @ 0x564df88ea9b0] stop()
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) 
Abandon (core dumped)

~ → neofetch 
       _,met$$$$$gg.          
    ,g$$$$$$$$$$$$$$$P.       ----------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Host: Latitude 5440 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-18-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 7 days, 15 hours, 48 mins 
 $$P      d$'     ,    $$P    Packages: 4283 (dpkg), 14 (snap) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15 
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080, 2560x1440, 1920x1080 
 Y$$.    `.`"Y$$$$P"'         DE: Plasma 5.27.5 
 `$$b      "-.__              WM: KWin 
  `Y$$                        Theme: [Plasma], Breeze [GTK2/3] 
   `Y$$.                      Icons: [Plasma], breeze-dark [GTK2/3] 
     `$$b.                    Terminal: konsole 
       `Y$$b.                 CPU: 13th Gen Intel i5-1345U (12) @ 4.700GHz 
          `"Y$b._             GPU: Intel Raptor Lake-P [Iris Xe Graphics] 
              `"""            Memory: 7438MiB / 31781MiB 
misbahally commented 9 months ago

Hello,

I am having the same issue:

misbah@940XFG:~$ cctv-viewer 
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: swrast
QGLXContext: Failed to create dummy context
Icon theme "Papirus-Dark" not found.
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)
iEvgeny commented 9 months ago

Hi! More information is needed. What operating system is it, did the app work before and after which the problem appeared, have you tried installing CCTV Viewer from source or PPA?

misbahally commented 9 months ago

I am using Fedora 39. CCTV Viewer is installed via snap, it seems to have been updated today.

I have been using this app for more than a year and launched it almost every day but since this morning it's not starting.

adolfocartagena commented 9 months ago

akk55@i5-bawerr:~$ cctv-viewer Gtk-Message: 11:48:59.492: Failed to load module "appmenu-gtk-module" Gtk-Message: 11:48:59.493: Failed to load module "canberra-gtk-module" Qt: Session management error: Could not open network socket libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2') libGL error: failed to load driver: iris libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2') libGL error: failed to load driver: iris libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2') libGL error: failed to load driver: swrast QGLXContext: Failed to create dummy context Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), 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) Abortado (`core' generado)

       `:+shmNNMMNNmhs+:`              alghieri@i5-powerr 
    .odMMMMMMMMMMMMMMMMMMdo.           ------------------ 
  /dMMMMMMMMMMMMMMMmMMMMMMMMd/         OS: Ubuntu MATE 22.04.4 LTS x86_64 
:mMMMMMMMMMMMMNNNNM/`/yNMMMMMMm:       Kernel: 5.15.0-94-generic 

yMMMMMMMMMms:..-::oM: -omMMMMMy Uptime: 1 hour, 18 mins dMMMMMMMMy-.odNMMMMMM: -odMMMMMMd Packages: 2552 (dpkg), 18 (snap) hMMMMMMMm-.hMMy/....+M:/yNm+mMMMMMMMh Shell: bash 5.1.16 /MMMMNmMN-:NMy-yNMMMMMmNyyMN:dMMMMMMM/ Resolution: 1920x1080, 1920x1080 hMMMMm -odMMhsMMMMMMMMMMs sMN..MMMMMMMh DE: MATE 1.26.0 NMMMMm /yNMMMMMMMMMMMM: MM+ mMMMMMMN WM: Metacity (Marco) NMMMMm/yNMMMMMMMMMMMM: MM+ mMMMMMMN Theme: Yaru-viridian-dark [GTK2/3] hMMMMm -odMMh sMMMMMMMMMMs oMN..MMMMMMMh Icons: Yaru-viridian-dark [GTK2/3] /MMMMNNMN-:NMy-yNMMMMMNNsyMN:dMMMMMMM/ Terminal: mate-terminal hMMMMMMMm-.hMMy/....+M:.+hNd+mMMMMMMMh Terminal Font: Hack Nerd Font Mono 9 dMMMMMMMMy-.odNMMMMMM: :smMMMMMMd CPU: Intel i5-9400 (6) @ 4.100GHz yMMMMMMMMMms/..-::oM: .+dMMMMMy GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630] :mMMMMMMMMMMMMNNNNM: :smMMMMMMm: Memory: 3929MiB / 15850MiB /dMMMMMMMMMMMMMMMdNMMMMMMMd/ .odMMMMMMMMMMMMMMMMMMdo.
:+shmNNMMNNmhs+:

iEvgeny commented 9 months ago

Hm... As temporary solution downgrade CCTV Viewer: sudo snap revert cctv-viewer --revision 1243

iEvgeny commented 9 months ago

I confirm the problem. The error is related to Snap packaging. At this point I have rolled back the changes and you can simply reinstall CCTV Viewer.

misbahally commented 9 months ago

I am unable to revert. I think maybe I removed and reinstalled it when the issue happened I lost the old version.

image

adolfocartagena commented 9 months ago

El 2024-02-19 12:19, Evgeny S Maksimov escribió:

Hm... As temporary solution downgrade CCTV Viewer: sudo snap revert cctv-viewer --revision 1243

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you commented.Message ID: @.***>

Links:

[1] https://github.com/iEvgeny/cctv-viewer/issues/79#issuecomment-1952236423 [2] https://github.com/notifications/unsubscribe-auth/AYWGXE6BLLMKCJFSVXBVUCTYUMYLNAVCNFSM6AAAAABDO6MYAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGIZTMNBSGM

Hello, error running...

sudo snap revert cctv-viewer --revision 1243

error: cannot revert "cctv-viewer": cannot find revision 1243 for snap "cctv-viewer"

iEvgeny commented 9 months ago

Just reinstall CCTV Viewer. The latest working version is already in the stable channel. image

adolfocartagena commented 9 months ago

El 2024-02-19 12:45, Evgeny S Maksimov escribió:

Just reinstall CCTV Viewer. The latest working version is already in the stable channel. image.png (view on web) [1]

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you commented.Message ID: @.***>

Links:

[1] https://github.com/iEvgeny/cctv-viewer/assets/3954130/06493e64-2161-4071-a2d3-6d3f69faf658 [2] https://github.com/iEvgeny/cctv-viewer/issues/79#issuecomment-1952279095 [3] https://github.com/notifications/unsubscribe-auth/AYWGXE32VVX74Y7YZSDHN4DYUM3OVAVCNFSM6AAAAABDO6MYAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGI3TSMBZGU

Ok, all working again, thanks!!!

misbahally commented 9 months ago

Working for me as well.

Thank you.