Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Issues
  • #342
Closed
Open
Issue created Aug 04, 2021 by Martin Kepplinger@martin.kepplingerOwner

mainline camera drivers: system sometimes freezes when starting streaming

With the mainline camera drivers, currently https://source.puri.sm/Librem5/linux-next/-/merge_requests/430 running with byzantium on Evergreen, my system freezes after starting to stream via v4l2-ctl, see the script in the above MR. This happens every 3-4 reboots. When is works, it always works until I reboot. Then there's a chance of it to freeze again.

It happens with runtime PM disabled too.

trace-cmd doesn't save to a file properly in the failing case.

buffers seem to not being queued somehow: failing case:

        [  134.434528] videobuf2_common: vb2_core_streamon: start               
        [  134.619289] videobuf2_common: vb2_core_streamon: done ok             
        [  134.624689] vb2_ioctl_dqbuf: start                                   
        [  134.628183] vb2_dqbuf: start                

success case:

 [  148.532001] videobuf2_common: vb2_core_streamon: start               
        [  148.866438] videobuf2_common: vb2_core_streamon: done ok             
        [  148.871838] vb2_ioctl_dqbuf: start                                   
        [  148.875310] vb2_dqbuf: start                                         
        [  148.891619] vb2_ioctl_qbuf: start                                    
        [  148.894965] vb2_qbuf: start                                          
        [  148.897846] vb2_ioctl_dqbuf: start                                   
        [  148.901283] vb2_dqbuf: start                                         
        (and so on while streaming...)        
Edited Aug 04, 2021 by Martin Kepplinger
Assignee
Assign to
Time tracking