Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000 #6158

Open
5 of 6 tasks
NeilPandya opened this issue Nov 13, 2024 · 2 comments
Open
5 of 6 tasks
Labels
B: content not loading B: crash B: inconsistent behavior B: usability bug Something isn't working OS: linux issue that occurs on linux but not on other platforms

Comments

@NeilPandya
Copy link

NeilPandya commented Nov 13, 2024

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

First of all, thanks for your outstanding work on this application!

FreeTube grows unstable and crashes or freezes and then unfreezes after about 20 minutes of video playback. I noticed some warnings popping up repetitively when launching from the terminal.

The error itself is:

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

It's related to the GBM (Generic Buffer Management) driver in your code. There's nothing I could find in FreeTube's documentation that helps me troubleshoot this issue.

Perhaps someone can help point me towards an already open/closed issue that's related to this problem that I've potentially glossed over?

Thanks, in advance, for your help.

Neil

Installation Method

Below are the steps I used to install FreeTube.

  1. Download .deb package from GitHub.
  2. Navigate to ~/Downloads directory.
cd ~/Downloads
  1. Make the .deb package executable.
chmod -v +x freetube_0.22.0_amd64.deb
  1. Install the package.
sudo dpkg -i freetube_0.22.0_amd64.deb
  1. Change permissions of chrome-sandbox directory to 4755, due to peculiarities with Ubuntu 24.04 security features & Electron applications.
sudo chmod -v -R 4755 /opt/FreeTube/chrome-sandbox
  1. Launch FreeTube.
freetube

Expected Behavior

I expected FreeTube to playback video, in all modes supported, with stability.

Issue Labels

causes crash, content not loading, inconsistent behavior, usability issue

FreeTube Version

v0.22.0 Beta

Operating System Version

Kubuntu 24.04.1 LTS

Installation Method

.deb

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

v0.21.0 Beta

Additional Information

Note that the output displays the same warning 10 times after running freetube via the terminal.

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

System Specifications

                                           neil@FractalNorth 
           `.:/ossyyyysso/:.               ----------------- 
        .:oyyyyyyyyyyyyyyyyyyo:`           OS: Kubuntu trixie/sid (noble) x86_64 
      -oyyyyyyyodMMyyyyyyyysyyyyo-         Kernel: 6.8.0-48-generic 
    -syyyyyyyyyydMMyoyyyydmMMyyyyys-       Uptime: 1 hour, 45 mins 
   oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo     Packages: 2476 (dpkg), 21 (flatpak-system) 
 `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo`    Shell: bash 5.2.21 
 oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo    Resolution: 1920x1080 @ 164.92Hz 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   DE: Plasma 5.27.11 [KF5 5.115.0] [Qt 5.15.13] (x11) 
oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo   WM: KWin 
yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy   Theme: klassy [KDE/Qt], Breeze [GTK2/3] 
yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy   Icons: BeautySolar [KDE/Qt/GTK2/3] 
oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Cursor: breeze_cursors [KDE/GTK2/3] 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Terminal: konsole 
 oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo    Terminal Font: Noto Mono 12 
 `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo     CPU: AMD Ryzen 9 5950X (32) @ 4.6GHz 
   oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo      GPU: NVIDIA GeForce RTX 3090 
    -syyyyyyyyydMMMysyyydMMMysyyyys-       Memory: 5.18 GiB / 31.24 GiB (16%) 
      -oyyyyyyydMMyyyyyyysosyyyyo-         Network: Wifi 
        ./oyyyyyyyyyyyyyyyyyyo/.           Bluetooth: Intel Corp. AX200 
           `.:/oosyyyysso/:.`              BIOS: American Megatrends Inc. 5.17 (03/18/2024)

        a8888b.           Host        -  neil@FractalNorth                       
       d888888b.          Machine     -  ASUS System Product Name Version        
       8P"YP"Y88          Kernel      -  6.8.0-48-generic                        
       8|o||o|88          Distro      -  Ubuntu 24.04.1 LTS (Noble Numbat)       
       8'    .88          DE          -  KDE                                     
       8`._.' Y8.         WM          -  KWin (X11)                              
      d/      `8b.        Packages    -  2476 (dpkg), 14 (cargo), 21 (flatpak)   
     dP        Y8b.       Shell       -  bash                                    
    d8:       ::88b.      Terminal    -  konsole                                 
   d8"         'Y88b      Resolution  -  1920x1080, 1920x1080                    
  :8P           :888      Uptime      -  1h 47m                                  
   8a.         _a88P      CPU         -  AMD Ryzen 9 5950X 16-Core Processor (32)
 ._/"Yaa     .| 88P|      CPU Load    -  1%                                      
 \    YP"    `|     `.    Memory      -  5.2 GB / 32.8 GB                        
 /     \.___.d|    .'     GPU         -  GA102 [GeForce RTX 3090]                
 `--..__)     `._.'                                                              

CPU Specifications

Name:                AMD Ryzen 9 5950X 16-Core Processor 
Microarchitecture:   Zen 3
Technology:          7nm
Max Frequency:       6.914 GHz
Cores:               16 cores (32 threads)
AVX:                 AVX,AVX2
FMA:                 FMA3
L1i Size:            32KB (512KB Total)
L1d Size:            32KB (512KB Total)
L2 Size:             512KB (8MB Total)
L3 Size:             32MB (64MB Total)
Peak Performance:    3.54 TFLOP/s

GPU Specifications

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3090        Off |   00000000:0A:00.0  On |                  N/A |
|  0%   44C    P0            105W /  350W |     887MiB /  24576MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1613      G   /usr/lib/xorg/Xorg                            121MiB |
|    0   N/A  N/A      5649      G   /usr/bin/kwalletd5                              4MiB |
|    0   N/A  N/A      6056      G   /usr/bin/ksmserver                              4MiB |
|    0   N/A  N/A      6058      G   /usr/bin/kded5                                  4MiB |
|    0   N/A  N/A      6059      G   /usr/bin/kwin_x11                              52MiB |
|    0   N/A  N/A      6136      G   /usr/bin/plasmashell                           65MiB |
|    0   N/A  N/A      6291      G   ...c/polkit-kde-authentication-agent-1          4MiB |
|    0   N/A  N/A      6293      G   ...-gnu/libexec/xdg-desktop-portal-kde          4MiB |
|    0   N/A  N/A      6610      G   /usr/bin/kaccess                                4MiB |
|    0   N/A  N/A      6618      G   ...-linux-gnu/libexec/DiscoverNotifier          4MiB |
|    0   N/A  N/A      6625      G   /usr/bin/kalendarac                             4MiB |
|    0   N/A  N/A      6808      G   /usr/bin/akonadi_control                        4MiB |
|    0   N/A  N/A      6980      G   /usr/bin/akonadi_akonotes_resource              4MiB |
|    0   N/A  N/A      6981      G   /usr/bin/akonadi_archivemail_agent              4MiB |
|    0   N/A  N/A      6982      G   /usr/bin/akonadi_birthdays_resource             4MiB |
|    0   N/A  N/A      6983      G   /usr/bin/akonadi_contacts_resource              4MiB |
|    0   N/A  N/A      6984      G   .../bin/akonadi_followupreminder_agent          4MiB |
|    0   N/A  N/A      6985      G   /usr/bin/akonadi_ical_resource                  4MiB |
|    0   N/A  N/A      6986      G   /usr/bin/akonadi_imap_resource                  4MiB |
|    0   N/A  N/A      6988      G   /usr/bin/akonadi_indexing_agent                 4MiB |
|    0   N/A  N/A      6989      G   /usr/bin/akonadi_maildir_resource               4MiB |
|    0   N/A  N/A      6992      G   /usr/bin/akonadi_maildispatcher_agent           4MiB |
|    0   N/A  N/A      6993      G   /usr/bin/akonadi_mailfilter_agent               4MiB |
|    0   N/A  N/A      6994      G   /usr/bin/akonadi_mailmerge_agent                4MiB |
|    0   N/A  N/A      6995      G   /usr/bin/akonadi_migration_agent                4MiB |
|    0   N/A  N/A      6998      G   /usr/bin/akonadi_newmailnotifier_agent          4MiB |
|    0   N/A  N/A      6999      G   /usr/bin/akonadi_sendlater_agent                4MiB |
|    0   N/A  N/A      7000      G   /usr/bin/akonadi_unifiedmailbox_agent           4MiB |
|    0   N/A  N/A     13187      G   /usr/bin/konsole                                4MiB |
|    0   N/A  N/A     14885      G   ...86_64-linux-gnu/libexec/baloorunner          4MiB |
|    0   N/A  N/A     14972      G   /usr/share/librewolf/librewolf                146MiB |
+-----------------------------------------------------------------------------------------+

Nightly Build

@absidue
Copy link
Member

absidue commented Nov 13, 2024

As other programs seem to be having the same issue with NVIDIA and Linux, such as this one reported 4 days ago: https://youtrack.jetbrains.com/issue/FL-30743 it is probably a driver issue.
Is that the full log that you get when starting FreeTube?
Please check that your graphics drivers are up-to-date. Additionally you can try passing --enable-features='' when running FreeTube and see if that helps.

@absidue absidue added U: Waiting for Response from Author OS: linux issue that occurs on linux but not on other platforms labels Nov 13, 2024
@NeilPandya
Copy link
Author

@absidue, thanks for your help with this.

Is that the full log that you get when starting FreeTube?

Yes, below is the only output in the terminal when FreeTube launches. The same error occurs 10 times.

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

Please check that your graphics drivers are up-to-date.

As mentioned above in my output from nvidia-smi, I'm using a NVIDIA RTX 3090 on driver version 565.57.01, which is the latest beta version according to NVIDIA's driver archive. Should I roll my drivers back?

Additionally you can try passing --enable-features='' when running FreeTube and see if that helps.

Passing that flag doesn't seem to affect anything, unfortunately.

(base) neil@FractalNorth:~$ freetube --enable-features=''
src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: content not loading B: crash B: inconsistent behavior B: usability bug Something isn't working OS: linux issue that occurs on linux but not on other platforms
Projects
Status: To assign
Development

No branches or pull requests

2 participants