Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mesa
mesa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,373
    • Issues 2,373
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 658
    • Merge Requests 658
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #75

Closed
Open
Opened Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

glXWaitVideoSyncSGI() function freezes at resolution change

Submitted by alanw

Assigned to mes..@..op.org

Link to original bug (#35607)

Description

I am testing some recent Intel platforms like Ironlake and Sandy Bridge. With the multiplatform XBMC Media Center software i realized a bug probably in mesa drivers.

The movie player adjusts the refresh rate of the resolution while watching a movie to match the film fps the best. The problem is that if we use this function the program hangs. It doesn't not hang when i don't change refresh rate or i don't have vblank syncronization on. This refresh rate change function perfectly works with Nvidia hardware and drivers. Also it works with Intel hw but the windows build of this software.

Consulting with the developers and using gdb debugging we found out that the reason of the hang is that the call glXWaitVideoSyncSGI() hangs in case there is a resolution change happened.

There is another scenario when this function fails. When i am in GUI menu and checking the actual framerate (with vblank on) it shows the good framerate, until i start changing to the virtual terminals with ctrl+f2 and than back to Xorg screen. If the refresh rate of KMS differs from the refresh rate i set in xorg.conf, strangely the framerate starts going up maxed at ca. 120. Just like if i turn on sync to vblank completely. So i loose vblank sync again.

It would be really good to fix this, so that a lot of Media Center users can have a full experience with mesa and Intel hardware.

dmesg: http://pastebin.com/3mSLmZUt xorg.log http://pastebin.com/3jeHmMr2

Ubuntu Natty, Kernel 2.6.38

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: mesa/mesa#75