Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#10038 closed defect (fixed)

display panel content meltdown on pygame.display.set_mode

Reported by: Quozl Owned by: cjb
Priority: low Milestone: 10.1.2
Component: x window system Version: Development build as of this date
Keywords: Cc: bernie, pgf
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

on XO-1.5, the display stops being driven if resolution is changed by a user program. the content melts down.

the following reproducer demonstrates the symptom:

#!/usr/bin/python
import pygame
pygame.init()
print pygame.display.Info()
pygame.display.set_mode((1024, 768), pygame.FULLSCREEN)
pygame.time.wait(3000) # three seconds
print pygame.display.Info()
pygame.display.quit()
pygame.quit()

the code effectively calls XF86VidModeSwitchToMode().

Attachments (1)

0001-disable-video-mode-switching-10038.patch (891 bytes) - added by Quozl 5 years ago.
Patch proposed for review. Disables video mode switching. Does not solve cause of symptom but has been tested to be a workaround.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by Quozl

A workaround is to add this to /etc/X11/xorg.conf:

Section "ServerFlags"
        Option "DisableVidModeExtension"  "True"
EndSection

Changed 5 years ago by Quozl

Patch proposed for review. Disables video mode switching. Does not solve cause of symptom but has been tested to be a workaround.

comment:2 Changed 5 years ago by Quozl

  • Cc bernie_ pgf added

comment:3 Changed 5 years ago by Quozl

  • Cc bernie added; bernie_ removed

comment:4 Changed 5 years ago by Quozl

  • Action Needed changed from diagnose to add to build

http://github.com/downloads/linux4kix/openchrome/xorg-x11-drv-openchrome-0.2.904-6.2.fc11.i586.rpm available for testing ... in conjunction with the removal of xorg.conf prohibition on resolution change.

comment:5 Changed 5 years ago by Quozl

xorg.conf already has the prohibition removed, tested resolution change, worked fine. okay to add to build.

comment:6 Changed 4 years ago by Quozl

  • Action Needed changed from add to build to no action
  • Milestone changed from 1.5-software-later to 10.1.2
  • Resolution set to fixed
  • Status changed from new to closed

Tested in os852, is fixed. Closing.

comment:7 Changed 4 years ago by Quozl

(Withdrawn has been build os852 mentioned above this point in ticket history. 6630361a31cbc31e5c338405b6cad0db os852.zd)

Note: See TracTickets for help on using tickets.