Bug 19549 - run ri-li in plasma with AMD GPU to bang your head at darkness
Summary: run ri-li in plasma with AMD GPU to bang your head at darkness
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 22:41 CEST by Morgan Leijström
Modified: 2017-09-19 22:34 CEST (History)
5 users (show)

See Also:
Source RPM: ri-li-2.0.1-13.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2016-10-06 22:41:20 CEST
/!\ do not try this at $home ;)  -create a new user just for testing

I wanted to quickly try out 
ri-li - A toy wood train kit gameâ
to possibly install for my little child.
Stupid me tried it first on my workstation

Description of problem:
1) ri-li blacks screen when changing graphics mode, in at least Plasma, lxde, mate
2) Plasma never recovers by itself even after rebooting.

Versions: 64 bit updated cauldron;
ri-li 2.0.1-13.mga6, plasma 5.8.0


Essay:

It runs OK initially, but small window, so i went into settings and clicked some kind of graphic button that probably is about graphic.  Screen immediately went black, monitor went into standby i think.

Only way out i found was ctrl-alt-{backspace,backspace} = session lost.

What is worse screen blacks out immediately when same user logs into plasma.
That user can log into other DE OK, and other users log in to Plasma OK.

Tried without result:
§ log into mate and run systemsettings5: change Plasma to not restore session.
§ used same utility to not start desktop effects at login.
§ change graphics driver to simple vesa
§ changed my AMD card to NVIDIA.
§ uninstalled ri-li

What finally made result (i think)
§ log into mate and run systemsettings5 and go into screen: i had no screen selected ?! so i klicked in check box for the only screen available.
I also changed DM from LXDM to SDDM

after reboot I finally am home.
At first login the desktop settings button top left on screen was blacked out, but after logout-login it came alive.

Hooray :)

Side note: I also tried to run ri-li in mate and lxde and it also blacks screen when changing graphics mode there, but on next login it desktop works.  Have not tried other DE than those.
Of course main problem is with ri-li, but it would be nice if Plasma did not get stuck dark.
Comment 1 Morgan Leijström 2016-10-06 22:47:52 CEST
CC earlier packagers, and also Nicolas because of Plasma getting most hurt

Our version of ri-li is nine years old, but the latest
http://ri-li.sourceforge.net/

CC: (none) => fundawang, loginov_alex, mageia

Rémi Verschelde 2016-10-06 22:49:36 CEST

CC: (none) => pkg-bugs
Assignee: bugsquad => lists.jjorge

Comment 2 Marja Van Waes 2016-10-07 11:21:29 CEST
@ Morgan

Among the things you tried to get out of this, you mention

> § change graphics driver to simple vesa
> § changed my AMD card to NVIDIA.

So you were using nouveau when this happened, correct?

If so, does Plasma5 get stuck, too, if you start ri-li in a working Plasma5 while using the proprietary NVidia driver?

Also, what is the output of:

   lspcidrake -v | grep Card

CC: (none) => marja11

Comment 3 Morgan Leijström 2016-10-07 13:40:18 CEST
No, when it wrecked i was using an AMD HD6850 card.

Now with the Nvidia card and its proprieatry driver, in this same machine and plasma, same monitor, now with a fresh test user login, and the game works nicely.  It switches to and from another video mode for going to/from fullscreen but i see no issues.

This monitor is a high resolution DisplayPort connected monitor.  Both the cards have DP and double DVI and this Nvidia also HDMI.  I wonder if the game/plasma/whatever tries to be intelligent about port detect and switching but fouls up.

Problem so far seem to trigger by using this AMD but not Nvidia GPU/driver.

That AMD card is now in my son's gaming machine, also Mageia6, but DVI monitor.
I will retry there (using a new test user login), and also get the lspcidrake output there, then.

Later.
Morgan Leijström 2016-10-07 13:41:04 CEST

Summary: run ri-li in plasma to bang your head at darkness => run ri-li in plasma with AMD GPU to bang your head at darkness

Comment 4 José Jorge 2017-09-19 22:17:02 CEST
Any way, this is a bug in AMD GPU driver, not a bug in Ri-Li, which uses correctly xrandr to change screen resolution when switching to fullscreen mode.

Please reopen if you want to assign to upstream AMD developpers.

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 5 Morgan Leijström 2017-09-19 22:34:57 CEST
Hm. I do not have enough steam to push this further, and no AMD card installed at the moment.

However i now think this bug is more severe then i thought before if it is a bug in the graphics driver, used by any more than that game...  But very strange we do not have a bug on that...?

Note You need to log in before you can comment on or make changes to this bug.