Project

General

Profile

Actions

Emulator Issues #11749

closed

XUbuntu Disco Dingo - Dolphin does not prevent monitor standby/screensaver

Added by MuffinDolphin over 5 years ago. Updated 9 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

ANY

Game ID? (right click the game in the game list, Properties, Info tab)

ANY

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[Put MD5 Hash here]

What's the problem? Describe what went wrong.

This seems to be a problem frequently reoccurring on various platforms over the years. This time I noticed it happening on XUbuntu Disco Dingo. Running the emulator on fullscreen does not prevent the OS from turning off the display after x amount of time.

What steps will reproduce the problem?

  1. Have XUbuntu Disco Dingo
  2. Latest dolphin build
  3. Start any game, go to fullscreen
  4. Play for x amount of time
  5. Obviously do not profit

(Optional step: This may be an issue that currently only occurs when dolphin runs on a multi-monitor setup (and maybe only when the secondary screen is used)

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

I build 5.0-10411 myself like yesterday(?) because the ppa does not have builds for Disco Dingo

Is the issue present in the latest stable version?

I do not know this, but may test if wanted.

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

Athlon 200GE
8GB RAM
Gigabyte B450M-S2H
XUbuntu Disco Dingo

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

[Anything else here]


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #10392: Dolphin should inhibit the screen on Linux systemsFixed

Actions
Actions #1

Updated by Techjar over 5 years ago

Perhaps you have the DisableScreenSaver config set to False.

Actions #2

Updated by flacs over 5 years ago

Also check that you have xdg-screensaver installed. Dolphin will run "xdg-screensaver suspend" when starting a game and "xdg-screensaver resume" when stopping it.

Actions #3

Updated by MuffinDolphin over 5 years ago

First off: Wow, quick replies.
I was just starting to investigate this further.
I browsed through the repo and saw that, yes, as flacs says, xdg-screensaver is used.
So I made the call dolphin makes manually and that is my output:

myuser@mycomputer:~$ xdg-screensaver suspend 0x2a00059
myuser@mycomputer:~$ org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Googling the latter leads me to this:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1553466/comments/7

my uname -a output:
Linux mycomputer 5.0.0-15-generic #16-Ubuntu SMP Mon May 6 17:41:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

So I assume the issue is not dolphin, but anyway, I think it is good that it now known that there seem to be issues with xdg-screensaver that affect dolphin's functionality.
Maybe someone else has this issue and can find this.

Techjar wrote:

Perhaps you have the DisableScreenSaver config set to False.

Where can I find this?

Actions #4

Updated by MuffinDolphin over 5 years ago

Nevermind, you're referring to xscreensaver config file I presume.
I'm currently looking to find the global config file, the user-specific one does not have this entry.

Actions #5

Updated by flacs over 5 years ago

DisableScreenSaver is an option in Dolphin.ini which is either in ~/.dolphin-emu/Config/ or in ~/.config/dolphin-emu/.

Actions #6

Updated by MuffinDolphin over 5 years ago

There was no entry, so I created "DisableScreenSaver = True" under "[Display]".
No difference in behavior.

Actions #7

Updated by Warepire over 5 years ago

xdg-screensaver somehow thinks you're running a gnome desktop environment. A quick look at the code shows that gnome-screensaver "wins" over for example xscreensaver and any pre-determined Desktop Environment.

If you have installed gnome-screensaver, remove that and install for example xscreensaver.

Actions #8

Updated by MuffinDolphin over 5 years ago

I didn't.
This is a bare XUbuntu install. Image downloaded of the XUbuntu website. Only things I installed were chromium, thunderbird, and dolphin.

Actions #9

Updated by motofufu9k almost 5 years ago

Hello,
I am having the same issue on Linux Mint 19.3 Cinnamon edition (Ubuntu 18.04.3 based).
Other applications like smplayer and vivaldi when playing media do not have this problem.
I am currently running version: "5.0-0491831-dirty"

Actions #10

Updated by Billiard26 9 months ago

  • Status changed from New to Duplicate
Actions #11

Updated by Billiard26 9 months ago

Actions

Also available in: Atom PDF