Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dolphin failed to launch game
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Feb 07, 2018 8:18 am    Post subject: Dolphin failed to launch game Reply with quote

Hello, i have installed dolphin emulator and no problem for install it, but when i launch game, i have white screen and dolphin complain: "Failed to initialize video backend".

I don't use any DE, i have just X with i3-gaps.


Dolphin info + Emerge info:

Code:
fulgurance@msi-gs73vr-6rf ~ $ eix dolphin
* games-board/mt_dolphin_ia
     Available versions:  ~0.1.98-r1
     Homepage:            http://www.nongnu.org/maitretarot/
     Description:         client for the french tarot game maitretarot

[I] games-emulation/dolphin
     Available versions:  5.0 **9999 {alsa ao bluetooth doc egl +evdev ffmpeg libav llvm log lto openal +pch portaudio profile pulseaudio qt5 sdl upnp +wxwidgets}
     Installed versions:  5.0(09:12:14 07/02/2018)(alsa egl evdev ffmpeg sdl wxwidgets -ao -bluetooth -doc -libav -llvm -log -lto -openal -pch -portaudio -profile -pulseaudio -qt5 -upnp)
     Homepage:            https://www.dolphin-emu.org/
     Description:         Gamecube and Wii game emulator

* kde-apps/dolphin
     Available versions:  (5) 17.08.3^t ~17.12.1^t
       {debug +handbook semantic-desktop test thumbnail}
     Homepage:            https://www.kde.org/applications/system/dolphin https://userbase.kde.org/Dolphin
     Description:         Plasma filemanager focusing on usability

* kde-apps/dolphin-plugins
     Available versions:  (5) 17.08.3 ~17.12.1
       {bazaar debug dropbox git mercurial subversion}
     Homepage:            https://www.kde.org/
     Description:         Extra Dolphin plugins

Found 4 matches
fulgurance@msi-gs73vr-6rf ~ $ emerge --info
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/hardened/selinux, gcc-6.4.0, glibc-2.25-r9, 4.9.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    16315876 total,  14117596 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 06 Feb 2018 15:00:01 +0000
Head commit of repository gentoo: b25aea0d4ece2dee039dbfe54be5f352a536c6ee
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

localrepo
    location: /usr/local/portage
    masters: gentoo

oboeverlay
    location: /var/lib/layman/oboeverlay
    sync-type: laymansync
    sync-uri: https://github.com/ChrisOboe/oboeverlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bzip2 crypt custom-cflags custom-optimization cxx hardened iconv ipv6 multilib ncurses nls nptl openmp pam pcre pie readline seccomp selinux ssl ssp unicode xattr xtpax zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Feb 14, 2018 9:37 am    Post subject: Reply with quote

No idea ?

When i launch dolphin, i have this:

Code:
fulgurance@msi-gs73vr-6rf ~ $ primusrun dolphin-emu
libEGL warning: DRI2: failed to authenticate
Erreur de segmentation


Dolphin close when i launch game.
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 441

PostPosted: Wed Feb 14, 2018 3:15 pm    Post subject: Reply with quote

And without the primus hack?
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Feb 14, 2018 3:53 pm    Post subject: Reply with quote

I have tested with virtualgl and without any hack, the same problem.
I have successfull remove dri error and segfault error, but, when i launch game, i have many "WriteRest: op out of range" error, and for finish, dolphin complain "Failed to initialize video backend".
I think it's missing package or driver, because, i have testing launch my game with dolphin on Ubuntu in past, and it's work perfectly.

Any idea ?

PS:
If i remember correctly, i haven't got this bug when in past i have used plasma desktop, with plasma profile.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Feb 14, 2018 5:10 pm    Post subject: Reply with quote

I have solved part of probem !!!!
For remove WriteRest op out of range error, i have rebuild dolphin with -no-pie gcc option !

How is it possible to specify cflags for specific package ?

Now, just stay only one problem. Dolphin failed to initialize video backend
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Feb 14, 2018 6:24 pm    Post subject: Reply with quote

Any reason you're building it with embedded GL instead of standard GLX?
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Thu Feb 15, 2018 12:16 am    Post subject: Reply with quote

No reason, it's my error ... I have removed all egl and gles use flag. But the same result :cry:
When i launch dolphin without primus or optirun, i have message failed to initialize video backend.

When i use primusrun, no message, dolphin just crash simply ...

No change when i had --backend glx parameters for compton on my xinitrc file ...

And when i stop X, i see messages tell me Xlib: extension GLX missing on display :0. ( i think this message appear just when i don't switch to nvidia card)

Last, when i launch primus with glxgears:

Code:
fulgurance@msi-gs73vr-6rf ~ $ primusrun glxgears
Error: couldn't get an RGB, Double-buffered visual
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Thu Feb 15, 2018 9:33 am    Post subject: Reply with quote

I have see problem, i have removed egl use flag on my package.use file, but mesa as build with egl. Emerge ignore totally my file for egl !

And when i mask egl flag and attempt to rebuilt mesa:
Code:
fulgurance@msi-gs73vr-6rf ~ $ sudo emerge --ask mesa

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-17.2.8  USE="(-egl*)"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/mesa:0

  (media-libs/mesa-17.2.8:0/0::gentoo, ebuild scheduled for merge) pulled in by
    media-libs/mesa (Argument)

  (media-libs/mesa-17.2.8:0/0::gentoo, installed) pulled in by
    >=media-libs/mesa-10.3.4-r1[egl,gbm] required by (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, installed)
                                ^^^                                                                                                               
    >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,
                            ^^^    abi_mips_n32(-)?,abi_mips_n64(-)?,
                                   abi_mips_o32(-)?,abi_ppc_32(-)?,
                                   abi_ppc_64(-)?,abi_s390_32(-)?,
                                   abi_s390_64(-)?]
        required by (x11-libs/cairo-1.14.12:0/0::gentoo, installed)

    media-libs/mesa[d3d9,egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,
                         ^^^    abi_mips_n32(-)?,abi_mips_n64(-)?,
                                abi_mips_o32(-)?,abi_ppc_32(-)?,
                                abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
        required by (app-emulation/wine-any-2.21:2.21/2.21::gentoo, installed)

It might be possible to solve this slot collision
by applying all of the following changes:
   - media-libs/mesa-17.2.8 (Change USE: +egl)

fulgurance@msi-gs73vr-6rf ~ $ eix wine-any
[I] app-emulation/wine-any
     Available versions: 
     (2.0)  (~)2.0-r1^t
     (2.19) (~)2.19^t
     (2.20) (~)2.20^t
     (2.21) (~)2.21^t
     (9999) **9999^t
       {+X +alsa capi cups custom-cflags d3d9 dos +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kerberos +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss pcap +perl pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +xcomposite xinerama +xml ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="(+)32 (+)64 x32" ELIBC="glibc" KERNEL="FreeBSD"}
     Installed versions:  2.21(2.21)^t(18:56:15 13/02/2018)(X alsa custom-cflags d3d9 fontconfig gecko jpeg lcms mono mp3 ncurses netapi nls openal opengl perl png pulseaudio realtime run-exes selinux ssl staging themes threads truetype udisks vaapi xcomposite xml -capi -cups -dos -gphoto2 -gsm -gstreamer -kerberos -ldap -odbc -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -scanner -test -udev -v4l -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" ELIBC="glibc" KERNEL="-FreeBSD")
     Homepage:            https://www.winehq.org/
     Description:         Free implementation of Windows(tm) on Unix, with optional external patchsets


It's dependencies

Applied word wrap on long lines to make the forum layout behave.Chiitoo
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Thu Feb 15, 2018 12:44 pm    Post subject: Reply with quote

Moved from Multimedia to Gamers & Players, since this is about getting a game to run (though there might be some deeper issues from the looks of it).

I have no personal experience with regards to 'primus', nor Hardened Gentoo (which I've seen being a source for some interesting issues), but I can say the Wine requires USE="egl" on 'media-libs/mesa' if you have USE="d3d9", which you do, so Portage most certainly isn't “ignoring” it. :]

I do see 'games-emulation/dolphin' has a USE-flag for it, too, so you could just disable it for that (which you seem to have already done).
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Thu Feb 15, 2018 3:22 pm    Post subject: Reply with quote

Yes, i think the same idea. egl is required for programs. I have tested with disabling egl for dolphin, but nothing... same error.

I have tested on Debian installation, THE SAME PROBLEM with plasma desktop ! I end up thinking that the problem comes from dolphin.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Thu Feb 15, 2018 6:49 pm    Post subject: Reply with quote

Does 'glxgears' run without 'primusrun'?

Do other similar things, like a Linux game run okay (with or without 'primusrun')?

Is it only when you actually start a game, that things go awry, and 'dolphin-emu' itself executes okay? I just tried building and running it, but I don't have a game to try with it.

It is somewhat curious that you do get the same issue with Debian, hm... If you remember a version of the emulator that worked in the past, that could give some clues, too. :]
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Sat Feb 17, 2018 8:31 am    Post subject: Reply with quote

It's failed without primusrun.
Code:
fulgurance@msi-gs73vr-6rf ~ $ glxgears
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual
fulgurance@msi-gs73vr-6rf ~ $ primusrun glxgears
Error: couldn't get an RGB, Double-buffered visual


I haven't game on my linux sorry :oops:

I don't remember, but dolphin on Gentoo has a long time ago 5.0 version.

If this information can help you:
Code:
fulgurance@msi-gs73vr-6rf ~ $ sudo eselect mesa list
Mot de passe : 
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
32bit r300 (Radeon R300-R500)
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
fulgurance@msi-gs73vr-6rf ~ $ sudo eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
fulgurance@msi-gs73vr-6rf ~ $ sudo eselect opencl list
Available OpenCL implementations:
  [1]   mesa
  [2]   nvidia *


It's strange, mesa show radeon, but i have two card, and its intel and nvidia 8O
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Sun Feb 18, 2018 6:59 am    Post subject: Reply with quote

There are plenty free games in Portage, such as 'games-action/supermariowar'. :]

Since 'glxgears' fails, I'm not expecting many things at all to be working as intended.

Is the radeon one from the CPU (APU) perhaps?

I'm very unfamiliar with such hardware, so all I have for now, is perhaps '/var/log/Xorg.0.log' and 'glxinfo' might give more hints on what's going on.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Sun Feb 18, 2018 11:53 am    Post subject: Reply with quote

/var/log/Xorg.0.log
https://paste.pound-python.org/show/bG1SrqXm1iCqBo6F5xMf/


GLXInfo

Code:
fulgurance@msi-gs73vr-6rf ~ $ glxinfo
name of display: :0
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".

Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
fulgurance@msi-gs73vr-6rf ~ $ primusrun glxinfo
name of display: :0
Erreur de segmentation


Xlib
Code:
fulgurance@msi-gs73vr-6rf ~ $ eix xlib
* app-xemacs/xlib
     Available versions:  1.14
     Homepage:            http://xemacs.org/
     Description:         Emacs interface to X server

* dev-python/python-xlib
     Available versions:  0.15_rc1-r2 ~0.19 {doc PYTHON_TARGETS="pypy python2_7 python3_4 python3_5 python3_6"}
     Homepage:            https://github.com/python-xlib/python-xlib
     Description:         A fully functional X client library for Python, written in Python

* dev-ruby/mixlib-shellout
     Available versions:  ~2.2.7 ~2.3.2 {test ELIBC="FreeBSD" RUBY_TARGETS="ruby22 ruby23 ruby24"}
     Homepage:            https://github.com/opscode/mixlib-shellout
     Description:         Run external commands on Unix or Windows

* gnustep-base/gnustep-back-xlib
     Available versions:  0.25.0 ~0.25.1 ~0.26.2 {debug doc opengl xim}
     Homepage:            http://www.gnustep.org
     Description:         Default X11 back-end component for the GNUstep GUI Library


lspci output:
Code:
fulgurance@msi-gs73vr-6rf ~ $ sudo lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #14 (rev f1)
00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
3c:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 010f (rev 01)
3d:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
3e:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)


Is it possible this issue is it problem with PIE Gcc option you think ?

I don't undestand very well, what is radeon ? Graphic card type ? And what is difference between GPU, APU and CPU ?

I just remembered something, I usually did not use selinux! Can it be that selinux blocks the driver ???
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Sun Feb 18, 2018 1:07 pm    Post subject: Reply with quote

Finally solved when i disable nvidia with eselect opengl and opencl ! Strange, simply, nvidia drivers for nvidia don't work for opengl .... LOL
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Sun Feb 18, 2018 5:16 pm    Post subject: Reply with quote

Fulgurance wrote:
Is it possible this issue is it problem with PIE Gcc option you think ?

I've not seen things having runtime issues related to PIE, only build-time issues when things required for other things are compiled with a different setting.

That is to say, I don't think so, but I can't be sure.

Quote:
I don't undestand very well, what is radeon ? Graphic card type ? And what is difference between GPU, APU and CPU ?

While GPU refers to the graphics card: a graphics processing unit, CPU refers to the central processing unit, the processor.

APU is an Accelerated Processing Unit, where AMD combines a CPU and a GPU, so you have a graphics “card” inside the CPU itself. That's where I was thinking that device might come from (if you're not sure what CPU you have exactly, something like 'cat /proc/cpuinfo' should be able to tell).

Quote:
I just remembered something, I usually did not use selinux! Can it be that selinux blocks the driver ???

I've indeed seen hardened cause a variety of issues, but this might be a more simple thing related to the graphics set-up.

Quote:
Finally solved when i disable nvidia with eselect opengl and opencl ! Strange, simply, nvidia drivers for nvidia don't work for opengl .... LOL

That does kind of make sense, probably, considering this from the 'Xorg.0.log':

Code:
[    19.798] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

As I mentioned though, I've never played with such hardware (hybrid graphics) personally, so I'm not much of help with sorting this out. Glad to see you found a way to get things running at least! (Maybe it's even working as it should be now... I can't really tell.)

I would probably look into the Gentoo Wiki articles Hybrid graphics and NVIDIA/Optimus, if they indeed match your hardware.

If you're happy with the current performance, however, you could just run with it. :]
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Sun Feb 18, 2018 11:47 pm    Post subject: Reply with quote

Now, i have other problem :cry: Dolphin start game but i have looped black screen. And when i maximise or minimize window, i have bad refreshed window, and no games pictures... As if graphical acceleration was not enabled
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Mon Feb 19, 2018 1:04 pm    Post subject: Reply with quote

Problem partially solved, i have tested other rom, it's work. Iso is corrupted i think...

if you have solution to use nvidia opengl driver ! i take it !
Back to top
View user's profile Send private message
Ressy
n00b
n00b


Joined: 01 Jun 2010
Posts: 3

PostPosted: Wed Feb 21, 2018 1:42 am    Post subject: Issues with PIE Reply with quote

Fulgurance wrote:
I have solved part of probem !!!!
For remove WriteRest op out of range error, i have rebuild dolphin with -no-pie gcc option !

How is it possible to specify cflags for specific package ?


Not to hijack your thread, but I think you were on to something there, actually. I'm getting that same error message in my new install when trying to load a file, and I found this pull request related to PIE in the dolphin source from a while back (but not so far back as to be included in the latest released version I think, since 5.0 was a few months before that):

https://github.com/dolphin-emu/dolphin/pull/4365

And this Ubuntu thread, same deal:

https://bugs.launchpad.net/ubuntu/+source/dolphin-emu/+bug/1722129

When you rebuilt dolphin with --no-pie, did you compile from the latest source yourself rather than going through portage? I think this page should answer your other question about specifying cflags (or whatever) per package, if I'm reading it right:

https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package
Back to top
View user's profile Send private message
Utsuho Reiuji
Apprentice
Apprentice


Joined: 03 Apr 2013
Posts: 179

PostPosted: Sat Mar 03, 2018 5:02 pm    Post subject: Reply with quote

Ok, so with the links Ressy provided, I tried to set this up:
FILE /etc/portage/env/dolphin-emu-no-pie
Code:
CFLAGS="${CFLAGS} -no-pie"

and
FILE /etc/portage/package.env
Code:
games-emulation/dolphin dolphin-emu-no-pie

However, the dolphin emulator still exits with the same error:
Code:
WriteRest: op out of range (0x42d510f1 uses 0x55c9f39f61e8)
Back to top
View user's profile Send private message
Utsuho Reiuji
Apprentice
Apprentice


Joined: 03 Apr 2013
Posts: 179

PostPosted: Sun Mar 04, 2018 5:10 pm    Post subject: Reply with quote

after some testing, I assume that setting the CFLAG -no-pie does nothing actually. I also tested -nopie (build fails) and -pie (no effect). I guess dolphin is just broken on gentoo at this moment, but I'm not sure it this is a gentoo bug or connected to this known dolphin bug.
Oh right, almost forgot, I tested all available interpreters in dolphin (JIT, JITIL, cached and normal) and all of them return the "op out of range" error. The hex code in that error also always changes, even for the same game.

Edit: I built dolphin from source and that works without problems...
Back to top
View user's profile Send private message
Ressy
n00b
n00b


Joined: 01 Jun 2010
Posts: 3

PostPosted: Mon Mar 05, 2018 12:08 am    Post subject: Reply with quote

Yeah I actually had the same experience, Utsuho-- I tried the gentoo method first, couldn't get it to work, and then was able to get past the PIE problem by compiling from source with a cloned copy of their repo off github. While trying to fix other issues I also modified the version 5.0 code to match the newer version's CMakeLists.txt; that worked too.

(Now I just need to figure out why it's claiming I don't have OpenGL support in my video card even though glxinfo and glxgears see fine...)
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Mon Mar 05, 2018 8:44 am    Post subject: Reply with quote

CFLAGS or CXXFLAGS ? 8)

If i remember good, dolphin compile with g++, not gcc
Back to top
View user's profile Send private message
Utsuho Reiuji
Apprentice
Apprentice


Joined: 03 Apr 2013
Posts: 179

PostPosted: Mon Mar 05, 2018 9:18 pm    Post subject: Reply with quote

Fulgurance wrote:
CFLAGS or CXXFLAGS ? 8)

If i remember good, dolphin compile with g++, not gcc

I did CFLAGS. I guess CXXFLAGS works the same way? If so, I will try that.

Edit: Ok, so Fulgurance is right, if you set the CXXFLAGS correctly, it works:
FILE /etc/portage/env/dolphin-emu-no-pie
Code:
CXXFLAGS="${CFLAGS} -no-pie"

The rest as above. Reemerge and dolphin will run normally.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Tue Mar 06, 2018 8:08 am    Post subject: Reply with quote

I was sure of it ! 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum