Full screen doesn't work with SDL2.

Bug #1838809 reported by Danielle Ravenwing on 2019-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Undecided
Unassigned
mutter (Ubuntu)
Undecided
Unassigned

Bug Description

When trying to enter full screen in SDL2 apps I just get a jittery mouse or a black screen.
I've tried pygame2 apps and this simple C program:
https://github.com/illume/pygame4000/blob/master/code/sdl2_basics_tutorial_fundamentals/hey.c
But I replaced line 150 where it has SDL_WINDOW_RESIZABLE with SDL_WINDOW_FULLSCREEN.

and I just get a black screen with a discolored bar at the top.

I'm using Ubuntu 18.04.2 with sdl2.0.9

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
Uname: Linux 4.15.0-55-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Aug 2 11:13:30 2019
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller [17aa:21d0]
 NVIDIA Corporation GF119M [Quadro NVS 4200M] [10de:1057] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Lenovo GF119M [Quadro NVS 4200M] [17aa:21d0]
InstallationDate: Installed on 2018-07-03 (394 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: LENOVO 4236B16
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=UUID=0f9f42c8-a36e-4919-a9ba-8ad037dc193a ro quiet splash vt.handoff=1
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/21/2016
dmi.bios.vendor: LENOVO
dmi.bios.version: 83ET78WW (1.48 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4236B16
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr83ET78WW(1.48):bd01/21/2016:svnLENOVO:pn4236B16:pvrThinkPadT420:rvnLENOVO:rn4236B16:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.family: ThinkPad T420
dmi.product.name: 4236B16
dmi.product.version: ThinkPad T420
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.97-1ubuntu1~18.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 19.0.2-1ubuntu1.1~18.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 19.0.2-1ubuntu1.1~18.04.2
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

summary: - Full screen doesn't work.
+ Full screen doesn't work with SDL2.
affects: xorg (Ubuntu) → mutter (Ubuntu)
Daniel van Vugt (vanvugt) wrote :

It's unclear if the use case described above is valid. Are there any existing apps where fullscreen is known to be broken?

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in mutter (Ubuntu):
status: New → Incomplete
Download full text (4.1 KiB)

It does not work with pygame 2 and python 3.6 in Ubuntu.

On Mon, Oct 7, 2019 at 1:50 AM Daniel van Vugt <
<email address hidden>> wrote:

> It's unclear if the use case described above is valid. Are there any
> existing apps where fullscreen is known to be broken?
>
> ** Changed in: gnome-shell (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: mutter (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1838809
>
> Title:
> Full screen doesn't work with SDL2.
>
> Status in gnome-shell package in Ubuntu:
> Incomplete
> Status in mutter package in Ubuntu:
> Incomplete
>
> Bug description:
> When trying to enter full screen in SDL2 apps I just get a jittery mouse
> or a black screen.
> I've tried pygame2 apps and this simple C program:
>
> https://github.com/illume/pygame4000/blob/master/code/sdl2_basics_tutorial_fundamentals/hey.c
> But I replaced line 150 where it has SDL_WINDOW_RESIZABLE with
> SDL_WINDOW_FULLSCREEN.
>
> and I just get a black screen with a discolored bar at the top.
>
> I'm using Ubuntu 18.04.2 with sdl2.0.9
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: xorg 1:7.7+19ubuntu7.1
> ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
> Uname: Linux 4.15.0-55-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.7
> Architecture: amd64
> BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> CurrentDesktop: ubuntu:GNOME
> Date: Fri Aug 2 11:13:30 2019
> DistUpgraded: Fresh install
> DistroCodename: bionic
> DistroVariant: ubuntu
> ExtraDebuggingInterest: Yes
> GraphicsCard:
> Intel Corporation 2nd Generation Core Processor Family Integrated
> Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
> Subsystem: Lenovo 2nd Generation Core Processor Family Integrated
> Graphics Controller [17aa:21d0]
> NVIDIA Corporation GF119M [Quadro NVS 4200M] [10de:1057] (rev a1)
> (prog-if 00 [VGA controller])
> Subsystem: Lenovo GF119M [Quadro NVS 4200M] [17aa:21d0]
> InstallationDate: Installed on 2018-07-03 (394 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
> (20180426)
> MachineType: LENOVO 4236B16
> ProcEnviron:
> LANGUAGE=en_US
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic
> root=UUID=0f9f42c8-a36e-4919-a9ba-8ad037dc193a ro quiet splash vt.handoff=1
> SourcePackage: xorg
> Symptom: display
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 01/21/2016
> dmi.bios.vendor: LENOVO
> dmi.bios.version: 83ET78WW (1.48 )
> dmi.board.asset.tag: Not Available
> dmi.board.name: 4236B16
> dmi.board.vendor: LENOVO
> dmi.board.version: Not Available
> dmi.chassis.asset.tag: No Asset Information
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Not Avail...

Read more...

Daniel van Vugt (vanvugt) wrote :

I mean existing binary apps not related to python or pygame

Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell (Ubuntu):
status: Incomplete → Expired
Launchpad Janitor (janitor) wrote :

[Expired for mutter (Ubuntu) because there has been no activity for 60 days.]

Changed in mutter (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers