Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can not open any .exe program with wine, including winecfg
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Mon Feb 22, 2016 9:26 am    Post subject: Can not open any .exe program with wine, including winecfg Reply with quote

I have installed wine-1.8 with the USE staging. However, no applications can be opened. I tried to reinstall it with staging off and downgrade to version 1.7.55, which appeared to be helpless.

Here is what I got running winecfg for the first time

Code:
$ winecfg
wine: created the configuration directory '/home/zero/.wine'
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:dwmapi:DwmIsCompositionEnabled 0x6d41fd70
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e6babb, context 0x893100, init_notify 0, handle 0x122e1d0): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
fixme:ntdll:__syscall_NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0x923cf0, init_notify 0, handle 0x11fe7a4): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/zero/.wine' has been updated.



Nothing happened after that.

Will anyone please tell me how to fix this? Thanks a lot.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Mon Feb 22, 2016 4:50 pm    Post subject: Reply with quote

Posting the output from a stock run of winecfg is about as useful as posting a screen shot of your desktop background!! :?

Perhaps if you posted your wine USE flags and some system info - then someone might be able to help out! 8)

Code:
emerge --info
emerge -pv wine

_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 885
Location: Germany

PostPosted: Mon Feb 22, 2016 6:53 pm    Post subject: Reply with quote

Just to make sure... you are running an X-session, aren't you?
As far as I know you can't just run an .exe (of a non cli programme) with wine without running an X-session
Oh, and you need to be in the "games" group in order to use wine.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Feb 22, 2016 7:30 pm    Post subject: Reply with quote

Clad in Sky wrote:
Oh, and you need to be in the "games" group in order to use wine.


Not true. I have a games group but no one is in it, still I run programs with wine like idapro and msmoney.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Mon Feb 22, 2016 7:45 pm    Post subject: Reply with quote

Clad in Sky wrote:
...
Oh, and you need to be in the "games" group in order to use wine.


I'd check out the WineHQ FAQ.
By default Wine runs as your login (Gentoo/Linux) user and stores your WINEPREFIX in ~/.wine - with your stock ${HOME} permissions... No need for extra groups therefore - unless you do something real fancy 8)
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Tue Feb 23, 2016 3:04 am    Post subject: Reply with quote

Thanks for the replies.

Clad in Sky wrote:
Just to make sure... you are running an X-session, aren't you?


Yes. I am using Plasma 5


BobWya wrote:
Perhaps if you posted your wine USE flags and some system info - then someone might be able to help out!


Here are what I got.
Code:
$ emerge --info
Portage 2.2.27 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.22-r2, 4.4.2-gentoo x86_64)
=================================================================
System uname: Linux-4.4.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-4200M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3942784 total,   2227396 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Mon, 22 Feb 2016 14:30:02 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

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

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.tuna.tsinghua.edu.cn/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cjk cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kms lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="modesetting nvidia intel i915" 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, USE_PYTHON



Code:
$ emerge -pv wine

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

Calculating dependencies... done!
[ebuild   R    ] app-emulation/wine-1.8::gentoo  USE="X alsa cups fontconfig gecko jpeg lcms ldap mono mp3 ncurses nls opengl perl png pulseaudio realtime run-exes ssl staging threads truetype udisks xcomposite xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -gstreamer -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -scanner (-selinux) {-test} -v4l -vaapi" ABI_X86="32 64 (-x32)" LINGUAS="en en_US zh_CN -ar -bg -ca -cs -da -de -el -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_TW" 0 KiB
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2280
Location: Adendorf, Germany

PostPosted: Tue Feb 23, 2016 11:00 am    Post subject: Reply with quote

I have wine-1.8 *without* the staging USE flag and am running Plasma 5, too.
Code:
 ~ $ winecfg
fixme:dwmapi:DwmIsCompositionEnabled 0x6cf1312c
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0x923af8, init_notify 0, handle 0x11fe764): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/sed/.wine' has been updated.
This is how it should look like.

Apart from the staging USE flag, at a first glance, your setup looks fine to me. But the output of your run of winecfg suggests that some parts are missing.

Did "/home/zero/.wine" exist before that run? Is it a regularly set up WINEPREFIX?

If so, how did you create your WINEPREFIX? IIRC you have to tell wine to create a 32bit prefix if you compile wine on 64bit, or your wine will not be able to run 32bit executables. (is this still true?)
Code:
WINEARCH=win32 wineboot

_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Tue Feb 23, 2016 11:13 am    Post subject: Reply with quote

@backslashhbar,

Sorry but nothing (about your configuration) is jumping out at me... :?

Personally I went with ABI_X86="64 32" - but quite frankly I can't see that being an issue (probably)...
I can't see any additional 32-bit libraries being linked to just run winecfg in a clean 64-bit WINEPREFIX, from my system:
Code:
ldd -r /usr/bin/wine
        linux-gate.so.1 (0xf7751000)
        libwine.so.1 => /usr/bin/../lib32/libwine.so.1 (0xf7584000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7500000)
        libc.so.6 => /lib32/libc.so.6 (0xf7352000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf734c000)
        /lib/ld-linux.so.2 (0xf7752000)

Those 32-bit libraries should be all pulled in by the wine ebuild though...

So to summarise you're saying your system is "clean" (no revdep rebuilds to do, no deep system updates uninstalled, clean upgrade to gcc 5.3.0)? Plus gcc is built with the +multilib USE flag (obviously).

Yet you still have no output from winecfg creating a clean (default) 64-bit WINEPREFIX?

Do you get any different behaviour when you create a 32-bit WINEPREFIX?
Code:
rm -rf ~/.wine
WINEARCH="win32" wine winecfg


I'd hate to start suggesting turning WINEDEBUG to 11 (i.e. with the +all or +relay channels enabled) - you get such huge log files from this... 8O

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Tue Feb 23, 2016 11:23 am    Post subject: Reply with quote

Yamakuzure wrote:
...

Apart from the staging USE flag, at a first glance, your setup looks fine to me. But the output of your run of winecfg suggests that some parts are missing.

Did "/home/zero/.wine" exist before that run? Is it a regularly set up WINEPREFIX?

If so, how did you create your WINEPREFIX? IIRC you have to tell wine to create a 32bit prefix if you compile wine on 64bit, or your wine will not be able to run 32bit executables. (is this still true?)
Code:
WINEARCH=win32 wineboot


No - that's inaccurate - some non-essential items aren't enabled is all...

The incredibly short wine console output actually states the WINEPREFIX directory is being created (like the first line)!!
Code:
wine: created the configuration directory '/home/zero/.wine'


You can use either a Syswow 64-bit WINEPREFIX (default) or a pure 32-bit WINEPREFIX. The latter is the Upstream officially supported option. But I can quite happily run Steam+games in a 64-bit WINEPREFIX.
Op correctly has the multilib (ABI_X86="32 64 (-x32)") USE flag enabled for his wine build.

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Tue Feb 23, 2016 2:09 pm    Post subject: Reply with quote

BobWya wrote:
Do you get any different behaviour when you create a 32-bit WINEPREFIX?

I tried as you told me. And as it turned out, nothing different seemed to happen.

When it comes to libraries linking, I have the same output as yours, although I do not know what does that mean.
Code:
$ ldd -r /usr/bin/wine
        linux-gate.so.1 (0xf77a1000)
        libwine.so.1 => /usr/bin/../lib32/libwine.so.1 (0xf75d6000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7589000)
        libc.so.6 => /lib32/libc.so.6 (0xf73db000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf73d5000)
        /lib/ld-linux.so.2 (0xf77a2000)


As for "clean" system, I can not say for sure. However, I have tried
Code:
emerge -avDNu --with-bdeps=y --complete-graph @world
and even
Code:
emerge -avDNu --with-bdeps=y --complete-graph @installed
despite possible unsolved blocker conflicts according to portage. And both give me "Nothing to merge". To upgrade gcc I followed instruction from Gentoo Wiki. And I have run
Code:
gcc-config 2
source /etc/profile
emerge -a1 libtool
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Tue Feb 23, 2016 3:46 pm    Post subject: Reply with quote

Perhaps you could trying running wine through gdb (as your normal user obviously!!):
Code:

rm -rf ~/.wine
gdb "/usr/bin/wine"
(gdb) set args winecfg
(gdb) run

Don't type the (gdb) bits - that's just the debugger shell prompt :wink: (just checking!!)

A second run with some debugging channels enabled (but nothing too extreme):
Code:
rm -rf ~/.wine
WINEDEBUG="+winecfg,+x11drv,+x11settings,+xrender,+xvidmode,+thread" wine winecfg &>wine_console_trace.txt

The output from this was quite long (but informative) on my system - so probably best to put it on your fav. pastebin-type site!!

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


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

PostPosted: Tue Feb 23, 2016 9:58 pm    Post subject: ><)))°€ Reply with quote

Indeed, the output looks OK, even with the errors and fixmes. It's pretty much identical to what I see here.

I'd be interested in seeing the output from running something other than winecfg. A game, or/and anything else that might be available.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Tue Feb 23, 2016 10:12 pm    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
...
I'd be interested in seeing the output from running something other than winecfg. A game, or/and anything else that might be available.


Well I wouldn't... That's illogical... The best thing to fix / debug is one the simplest built-in Wine tools... Which is exactly what I was suggesting!

Why would introducing far greater complexity and say a 3rd party application make the process any easier? :roll:

Op's build of Wine is broken in some way (or there is a system issue). But Wine has plenty of built-in diagnostic channels that can be leveraged to determine what is causing the failure... However the debug channels do not work well when the application being tested is complex - because the output logs can be 100's of megabytes in size!!

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 6:19 am    Post subject: Reply with quote

@BobWya Thanks for your patience.

BobWya wrote:
Perhaps you could trying running wine through gdb ...

And here is what I got , https://drive.google.com/file/d/0B79LN0ZetgxtWXg4aUtpaFNleUE/view?usp=sharing

BobWya wrote:
second run with some debugging channels enabled

the output is here https://drive.google.com/file/d/0B79LN0ZetgxtUHhtSjByY3ZURmM/view?usp=sharing


And @Chiitoo, I had already tried installing other application. However no windows can be created.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


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

PostPosted: Wed Feb 24, 2016 6:26 am    Post subject: Re: ><)))°€ Reply with quote

BobWya wrote:
Why would introducing far greater complexity and say a 3rd party application make the process any easier? :roll:

Perhaps I'm simply curious. ^^

From what we have now, there seem to be no clear indications of Wine itself not running as it should. I feel executing and showing the output from something else is a rather cheap test, and it might give some additional hints. If not, much time was not lost in the process.

Emphasis on 'additional hints'. I'm not saying they shouldn't try what you suggested!

The logic in this being that the more data we have, the easier it should be to determine what's going awry (by data here I don't mean logs of hundreds of mebibytes; I'm all too familiar with going through gibibytes of relay logs...).

backslashhbar wrote:
And @Chiitoo, I had already tried installing other application. However no windows can be created.

I'm aware you did, but I was interested of the terminal output for such tries. :]
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 7:22 am    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
I'm aware you did, but I was interested of the terminal output for such tries. :]


After the configruation directory "~/.wine" is created, nothing except
Code:
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.


is shown in the terminal. It seems just stuck. and when I press CTRL+C, it gives me something like this
Code:
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


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

PostPosted: Wed Feb 24, 2016 8:19 am    Post subject: Re: ><)))°€ Reply with quote

backslashhbar wrote:
After the configruation directory "~/.wine" is created, nothing except
Code:
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.


is shown in the terminal. It seems just stuck. and when I press CTRL+C, it gives me something like this
Code:
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0

Thanks!

That, and the output with the debug channels open somewhat reaffirm my belief in that Wine is actually working, only the windows get sent to somewhere they can't be seen from (this is all just guessing though). Does the machine have multiple heads? The xinerama flag is enabled, which might suggest it is.

I didn't peruse the logs too deeply; the answer might be there, but for now, all I have is another test:

Code:
wine explorer /desktop=default winecfg

_________________
Kindest of regardses.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Wed Feb 24, 2016 9:40 am    Post subject: Reply with quote

backslashhbar wrote:
@BobWya Thanks for your patience.
... second run with some debugging channels enabled
the output is here https://drive.google.com/file/d/0B79LN0ZetgxtUHhtSjByY3ZURmM/view?usp=sharing
...


Heh, heh... I moderate a few pages on WineHQ AppDB, I've got a few ebuilds for Wine in my Overlay ( always "first to market" - guaranteed 8) )...
You should see the questions on the WineHQ forums - there you really need patience!! :roll:

As Chiitoo stated there's an issue with how Wine is reading your X / Xinerama multi-monitor setup... A BIG issue (hint: your screen is zero pixel sized)!! :P
Wine talks directly to your X session - it seems to be a "noisy line" in your case... 8)

Yours:
Code:
wine: created the configuration directory '/home/zero/.wine'
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
trace:x11drv:init_pixmap_formats depth 1, bpp 1, pad 32
trace:x11drv:init_pixmap_formats depth 4, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 8, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 15, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 16, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 24, bpp 32, pad 32
trace:x11drv:init_pixmap_formats depth 32, bpp 32, pad 32
trace:x11drv:init_visuals default visual 59 class 4 argb 5b
trace:x11drv:xinerama_init monitor 0x1: (0,0)-(0,0) work (0,0)-(0,0) (primary)
trace:x11drv:xinerama_init virtual size: (0,0)-(0,0) primary: (0,0)-(0,0)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 0x0x32 @60 Hz (NoRes)
trace:xvidmode:X11DRV_XF86VM_Init XVidMode modes: count=1
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: XF86VidMode
trace:x11settings:X11DRV_Settings_SetHandlers Destroying old display modes array
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array


My wine startup (newer version - but same command), compare that to yours (I think you'll see what I mean):
Code:
wine: created the configuration directory '/home/robert_gentoo/.wine'
fixme:winediag:start_process Wine Staging 1.9.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
trace:x11drv:init_pixmap_formats depth 1, bpp 1, pad 32
trace:x11drv:init_pixmap_formats depth 4, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 8, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 15, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 16, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 24, bpp 32, pad 32
trace:x11drv:init_pixmap_formats depth 32, bpp 32, pad 32
trace:x11drv:init_pixmap_formats depth 1, bpp 1, pad 32
trace:x11drv:init_visuals default visual 21 class 4 argb 23
trace:x11drv:init_pixmap_formats depth 4, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 8, bpp 8, pad 32
trace:x11drv:init_pixmap_formats depth 15, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 16, bpp 16, pad 32
trace:x11drv:init_pixmap_formats depth 24, bpp 32, pad 32
trace:x11drv:init_pixmap_formats depth 32, bpp 32, pad 32
trace:x11drv:init_visuals default visual 21 class 4 argb 23
trace:x11drv:xinerama_init monitor 0x1: (0,0)-(2560,1440) work (0,0)-(2560,1440) (primary)
trace:x11drv:xinerama_init monitor 0x2: (2560,550)-(4480,1630) work (2560,550)-(4480,1576)
trace:x11drv:xinerama_init virtual size: (0,0)-(4480,1630) primary: (0,0)-(2560,1440)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 2560x1440x32 @60 Hz (NoRes)
trace:x11drv:xinerama_init monitor 0x1: (0,0)-(2560,1440) work (0,0)-(2560,1440) (primary)
trace:x11drv:xinerama_init monitor 0x2: (2560,550)-(4480,1630) work (2560,550)-(4480,1576)
trace:x11drv:xinerama_init virtual size: (0,0)-(4480,1630) primary: (0,0)-(2560,1440)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 2560x1440x32 @60 Hz (NoRes)
trace:xvidmode:X11DRV_XF86VM_Init XVidMode modes: count=11
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: XF86VidMode
trace:x11settings:X11DRV_Settings_SetHandlers Destroying old display modes array
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
...

_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 9:45 am    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
but for now, all I have is another test

Still no windows. Only it seems that the progress stops by itself.
Code:
$ wine explorer /desktop=default winecfg
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
$
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Wed Feb 24, 2016 10:37 am    Post subject: Re: ><)))°€ Reply with quote

backslashhbar wrote:
Chiitoo wrote:
but for now, all I have is another test

Still no windows. Only it seems that the progress stops by itself.
Code:
$ wine explorer /desktop=default winecfg
fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
$


You remember that bit where I said you display is zero-pixel sized... 8)
So you've got windows - they're just very, very small windows...

You may notice how one person (on this forum) is leading you down the "garden path of nope" ...
Stepping back to reality i.e. we need to fix your zero-sized display first!!
...

Could we got a dump of your your X config. file(s):
Code:
/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/*


Plus the output from:
Code:
xrandr --verbose


Something is a bit fishy in your X configuration. 8O

Ta
Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Barbieken
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2014
Posts: 82

PostPosted: Wed Feb 24, 2016 10:48 am    Post subject: Reply with quote

Have the same problem. Plasma 5.


Code:

WINEPREFIX=$(pwd)/wine2 WINEARCH="win32" wine winecfg

Code:

fixme:winediag:start_process Wine Staging 1.8 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.




Xorg:
Code:

Section "ServerLayout"
    Identifier "layout"
    Screen 1 "nvidia"
    Inactive "intel"
EndSection


Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "RegistryDwords" "EnableBrightnessControl=1"
    Option "AllowEmptyInitialConfiguration"
EndSection


Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    # Uncomment this line if your computer has no display devices connected to
    # the NVIDIA GPU.  Leave it commented if you have display devices
    # connected to the NVIDIA GPU that you would like to use.
    #Option "UseDisplayDevice" "none"
     Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0:2:0"
    Option "AccelMethod" "none"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection



xrandr --verbose
Code:

Screen 0: minimum 8 x 8, current 2880 x 1620, maximum 16384 x 16384
eDP-1 connected primary 2880x1620+0+0 (0x49) normal (normal left inverted right x axis y axis) 340mm x 190mm
        Identifier: 0x42
        Timestamp:  9791
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:   
        CRTC:       0
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        EDID:
                00ffffffffffff0034a9a29600000000
                ff170104a52213780212a1a754539926
                0b505400000001010101010101010101
                0101010101012a7640c4b05414602c04
                910058c11000001e2a7640c4b0545b61
                2c04910058c11000001e000000fd0031
                3d60641e010a202020202020000000fe
                005656583136543032384a30300a0050
        scaling mode: Full aspect
                supported: None, Full, Center, Full aspect
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
  2880x1620 (0x49) 302.500MHz +HSync +VSync *current +preferred
        h: width  2880 start 2924 end 2928 total 3076 skew    0 clock  98.34KHz
        v: height 1620 start 1629 end 1630 total 1640           clock  59.96Hz
  2880x1620 (0x4a) 302.500MHz +HSync +VSync
        h: width  2880 start 2924 end 2928 total 3076 skew    0 clock  98.34KHz
        v: height 1620 start 1629 end 1630 total 1967           clock  50.00Hz
  2048x1536 (0x4b) 266.950MHz -HSync +VSync
        h: width  2048 start 2200 end 2424 total 2800 skew    0 clock  95.34KHz
        v: height 1536 start 1537 end 1540 total 1589           clock  60.00Hz
  1920x1440 (0x4c) 234.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2256 total 2600 skew    0 clock  90.00KHz
        v: height 1440 start 1441 end 1444 total 1500           clock  60.00Hz
  1856x1392 (0x4d) 218.300MHz -HSync +VSync
        h: width  1856 start 1952 end 2176 total 2528 skew    0 clock  86.35KHz
        v: height 1392 start 1393 end 1396 total 1439           clock  60.01Hz
  1792x1344 (0x4e) 204.800MHz -HSync +VSync
        h: width  1792 start 1920 end 2120 total 2448 skew    0 clock  83.66KHz
        v: height 1344 start 1345 end 1348 total 1394           clock  60.01Hz
  1600x1200 (0x4f) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1400x1050 (0x50) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0x51) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x52) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x53) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x54) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x55) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x56) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x57) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  800x600 (0x58) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x59) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x5a) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  700x525 (0x5b) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  640x512 (0x5c) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  640x480 (0x5d) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x5e) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x5f) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  400x300 (0x60) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x61) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  320x240 (0x62) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
VGA-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x43
        Timestamp:  9791
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
DP-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x44
        Timestamp:  9791
        Subpixel:   unknown
        Clones:     HDMI-1
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
HDMI-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x45
        Timestamp:  9791
        Subpixel:   unknown
        Clones:     DP-1
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        aspect ratio: Automatic
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
DP-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x46
        Timestamp:  9791
        Subpixel:   unknown
        Clones:     HDMI-2
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
HDMI-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x47
        Timestamp:  9791
        Subpixel:   unknown
        Clones:     DP-2
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        aspect ratio: Automatic
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 10:59 am    Post subject: Reply with quote

Chiitoo wrote:
...
Does the machine have multiple heads?
...

I am using my notebook with only one screen, so I do not think multiple heads is using. And I do not use the extension xinerama. the flag is enabled by default.

BobWya wrote:
...
As Chiitoo stated there's an issue with how Wine is reading your X / Xinerama multi-monitor setup... A BIG issue (hint: your screen is zero pixel sized)!! :P
Wine talks directly to your X session - it seems to be a "noisy line" in your case... 8)
...

Code:
trace:x11drv:xinerama_init monitor 0x1: (0,0)-(0,0) work (0,0)-(0,0) (primary)
trace:x11drv:xinerama_init virtual size: (0,0)-(0,0) primary: (0,0)-(0,0)

If I get it right, the above shows some mistakes on xinerama setup as you said. Is there a solution to fix this?
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 11:15 am    Post subject: Re: ><)))°€ Reply with quote

BobWya wrote:

Could we got a dump of your your X config. file(s):
Code:
/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/*


Plus the output from:
Code:
xrandr --verbose




Thanks a lot!

xorg.conf
Code:
Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection



xorg.conf.d/20opengl.conf
Code:
Section "Files"
        ModulePath "/usr/lib64/xorg/modules"
EndSection


xrandr -verbose
Code:
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected primary 1366x768+0+0 (0x47) normal (normal left inverted right x axis y axis) 310mm x 174mm
        Identifier: 0x42
        Timestamp:  22432
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:   
        CRTC:       0
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        EDID:
                00ffffffffffff0030e4fa0300000000
                00160104951f1178ea4bb59458569128
                1f505400000001010101010101010101
                010101010101ce1d56f4500016303020
                350036ae100000190000000000000000
                00000000000000000000000000fe004c
                4720446973706c61790a2020000000fe
                004c503134305748322d545053310062
        scaling mode: Full aspect
                supported: None, Full, Center, Full aspect
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
  1366x768 (0x47) 76.300MHz -HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1610 skew    0 clock  47.39KHz
        v: height  768 start  771 end  776 total  790           clock  59.99Hz
  1024x768 (0x48) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x49) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x4a) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x4b) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x4c) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  800x600 (0x4d) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x4e) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x4f) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  700x525 (0x50) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  640x512 (0x51) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  640x480 (0x52) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x53) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x54) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  400x300 (0x55) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x56) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  320x240 (0x57) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
VGA-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x43
        Timestamp:  22432
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
HDMI-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x44
        Timestamp:  22432
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        aspect ratio: Automatic
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
DP-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x45
        Timestamp:  22432
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on


I've set up nvidia optimus following the instruction from Arch wiki. Maybe this is relevant.

/usr/share/sddm/scripts/Xsetup
Code:
#!/bin/sh
# Xsetup - run as root before the login dialog appears

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96
Back to top
View user's profile Send private message
backslashhbar
n00b
n00b


Joined: 22 Feb 2016
Posts: 11

PostPosted: Wed Feb 24, 2016 11:27 am    Post subject: Reply with quote

I removed xorg.conf and Xsetup files just now, and found the window created.

The output of xrandr --verbose is somehow different.
Code:
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (0x49) normal (normal left inverted right x axis y axis) 310mm x 174mm
        Identifier: 0x43
        Timestamp:  17699
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:   
        CRTC:       0
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        EDID:
                00ffffffffffff0030e4fa0300000000
                00160104951f1178ea4bb59458569128
                1f505400000001010101010101010101
                010101010101ce1d56f4500016303020
                350036ae100000190000000000000000
                00000000000000000000000000fe004c
                4720446973706c61790a2020000000fe
                004c503134305748322d545053310062
        BACKLIGHT: 4882
                range: (0, 4882)
        Backlight: 4882
                range: (0, 4882)
        scaling mode: Full aspect
                supported: None, Full, Center, Full aspect
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
  1366x768 (0x49) 76.300MHz -HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1610 skew    0 clock  47.39KHz
        v: height  768 start  771 end  776 total  790           clock  59.99Hz
  1280x720 (0x299) 74.480MHz -HSync +VSync
        h: width  1280 start 1336 end 1472 total 1664 skew    0 clock  44.76KHz
        v: height  720 start  721 end  724 total  746           clock  60.00Hz
  1024x768 (0x29a) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  1024x576 (0x29b) 46.995MHz -HSync +VSync
        h: width  1024 start 1064 end 1168 total 1312 skew    0 clock  35.82KHz
        v: height  576 start  577 end  580 total  597           clock  60.00Hz
  960x540 (0x29c) 40.784MHz -HSync +VSync
        h: width   960 start  992 end 1088 total 1216 skew    0 clock  33.54KHz
        v: height  540 start  541 end  544 total  559           clock  60.00Hz
  800x600 (0x29d) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x29e) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  864x486 (0x29f) 32.901MHz -HSync +VSync
        h: width   864 start  888 end  976 total 1088 skew    0 clock  30.24KHz
        v: height  486 start  487 end  490 total  504           clock  60.00Hz
  640x480 (0x2a0) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x405 (0x2a1) 22.176MHz -HSync +VSync
        h: width   720 start  728 end  800 total  880 skew    0 clock  25.20KHz
        v: height  405 start  406 end  409 total  420           clock  60.00Hz
  680x384 (0x2a2) 19.677MHz -HSync +VSync
        h: width   680 start  688 end  752 total  824 skew    0 clock  23.88KHz
        v: height  384 start  385 end  388 total  398           clock  60.00Hz
  640x360 (0x2a3) 17.187MHz -HSync +VSync
        h: width   640 start  640 end  704 total  768 skew    0 clock  22.38KHz
        v: height  360 start  361 end  364 total  373           clock  60.00Hz
DP1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x44
        Timestamp:  17699
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
HDMI1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x45
        Timestamp:  17699
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        aspect ratio: Automatic
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on
VGA1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x46
        Timestamp:  17699
        Subpixel:   unknown
        Clones:   
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x47
        Timestamp:  17699
        Subpixel:   no subpixels
        Clones:   
        CRTCs:      3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:


However, in this way, it seems that I can not have the optimus of nvidia. Is this the only way to make it right?
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Wed Feb 24, 2016 12:01 pm    Post subject: Reply with quote

backslashhbar wrote:
I removed xorg.conf and Xsetup files just now, and found the window created.
...
However, in this way, it seems that I can not have the optimus of nvidia. Is this the only way to make it right?


@backslashhbar

Yeah, I had my suspicions when I saw the multiple graphics cards in your emerge --info dump 8)

I was actually quite relieved when I found my gaming laptop only has the Nvidia GTX 970M card enabled (the Intel Haswell IGP is disabled in the UEFI firmware / hardware).
So I've never had to troubleshoot Optimus (or the now dead Bumblebee project)... Sound like a TIPA though... :cry:

  • I'd mark this thread as [SOLVED] (because Wine was always doing what you told it to do - you just didn't give it a very big canvas).
  • Start a new thread - either this sub-forum or Kernel & Hardware seem to be the favourite sites for Optimus problems...


If the Gentoo Wiki Nvidia Optimus isn't working for then file a bug!! This area seems to be causing a lot of people a lot of grief.
I run Arch as well - in a multi-boot on this laptop... I've delved into how both distros (Gentoo & Arch) switch GL implementations... This included pouring over the PKGBUILD scripts for Arch and comparing them to the ebuild's for Gentoo. If you haven't personally done this then I'd really strongly advise against blindly copying stuff off the Arch Wiki :wink:

I can't imagine using Optimus and Plasma 5 - it'd be a miracle if you ever had a working DE!! :roll:

One problem solved, another one begins... Good luck 8)

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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