kenshin305 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Primusrun issue on nvidia optimus laptop on Linux #589

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): Linux Mint 16
 - Machine type (32-bit or 64-bit): 64
 - Mupen64Plus version: the newest
 - Plugins used: tried with all

For visual artifacts, give:
 - flashing, flickering

Describe the problem:
Anytime I run mupen64plus with primusrun I experience flashing, flickering.

Bumblebee and nvidia are correctly installed, everything works, steam games 
etc. so the problem must be with mupen64plus

Mupen64plus is from trusted source - 
https://launchpad.net/~sven-eckelmann/+archive/ppa-mupen64plus

Original issue reported on code.google.com by esor...@gmail.com on 26 Dec 2013 at 6:30

GoogleCodeExporter commented 8 years ago
I personally have no similar system (dual gpu) and thus cannot reproduce it. It 
also doesnt happen with pure intel igp and nvidia gpu systems. 

Can you make a list of the plugin combination that you have used and what 
different symptoms you've experienced with each combination? This could really 
help someone with a similar system to reproduce the problem. Also your 
mupen64plus.cfg and the exact versions would be nice. Because the versions you 
are using right now will not be the newest in  6months. You can get the 
versions from dpkg by requesting them through 'dpkg -l'. But it is good that 
you told us the source of the installed packages so we know were to look for 
the used patches

Are drivers and primusrun the ones provided by Linux Mint 16? Did you modify 
them or the kernel?

Original comment by s...@narfation.org on 27 Dec 2013 at 11:08

GoogleCodeExporter commented 8 years ago
And a list of tested roms (the shown md5 sums are very important) would also be 
very useful

Original comment by s...@narfation.org on 27 Dec 2013 at 11:10

GoogleCodeExporter commented 8 years ago
And just for me personal: why is this ppa a trusted source? Also malware can 
easily be uploaded to an PPA

Original comment by s...@narfation.org on 27 Dec 2013 at 11:13

GoogleCodeExporter commented 8 years ago
The newest drivers from xorg-edgers, including nvidia 331.20 and the kernel 
from http://kernel.ubuntu.com/~kernel-ppa/mainline/ - version v3.12.5-trusty
That ppa was recommended here 
https://code.google.com/p/mupen64plus/wiki/DistributionPackages

I switched to mupen64plus from ubuntu repository and the same issues.

Original comment by esor...@gmail.com on 27 Dec 2013 at 11:26

Attachments:

GoogleCodeExporter commented 8 years ago
The roms tested: Kirby 64 The Crystal Shards PAL and NTSC and South Park PAL 
and NTSC

Original comment by esor...@gmail.com on 27 Dec 2013 at 11:30

GoogleCodeExporter commented 8 years ago
The attached config doesn't look like you've ever used any other gfx plugin 
than mupen64plus-video-rice. Please add the requested information about what 
other plugin combination you've used and what problem you noticed with it.

If it only happens with mupen64plus-video-rice then you can change 
ScreenUpdateSetting in [Video-Rice] to 2 or a different value mentioned in the 
comment above it.

Original comment by s...@narfation.org on 28 Dec 2013 at 11:28

GoogleCodeExporter commented 8 years ago
Changing ScreenUpdateSetting to different value fixed all the issues. Thanks!

Original comment by esor...@gmail.com on 28 Dec 2013 at 10:52

GoogleCodeExporter commented 8 years ago
btw. Is any ppa safe?

Original comment by esor...@gmail.com on 28 Dec 2013 at 10:55

GoogleCodeExporter commented 8 years ago
Just as hint: The PPA you've mentioned earlier is my own PPA

Just an explanation why I close this bug:  The problem seems to be that your 
bumblebee/"dma sharing driver" is not preserving the content of the previous 
rendering in the buffer. This is required to avoid flickering with rice and the 
ScreenUpdateSetting=1. The flickering is nothing "unexpected" when the this 
precondition for ScreenUpdateSetting=1 is not fulfilled

Original comment by s...@narfation.org on 28 Dec 2013 at 11:16