Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wine ignores jpeg use flag
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
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Thu Oct 01, 2009 8:35 pm    Post subject: wine ignores jpeg use flag Reply with quote

Since my last world update wine ignores the jpeg use flag even it was visible via emerge --info. Wine was reemerged with USE = -jpeg. Putting this flag into package.use does not make any difference.

Why does wine ignore the jpeg USE flag?

I am on amd64

Regards
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Thu Oct 01, 2009 9:25 pm    Post subject: Reply with quote

Here is the hardmasked use flag via

grep -R jpeg /usr/portage/profiles

Code:
/usr/portage/profiles/arch/amd64/package.use.mask:app-emulation/wine jpeg


//edit: basically you could edit the files until next emerge --sync but not recommended

//edit: is it possible to create a file called /etc/portage/package.use.unmask :idea:
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 6:39 am    Post subject: Reply with quote

Thank you very much :)

I figured out that after wine was reemerged without use=jpeg my Singleplayer mode of Call of Duty doesnt work anymore. Now i am going to get this back. Could somebody else confirm this experience?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Oct 02, 2009 7:44 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=283089

The last times, wine in amd64 is getting unusable. Half of the features can't be used because of this emul- crap.

You might be interested in the multilib overlay.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 8:14 am    Post subject: Reply with quote

:(
I could build wine with USE=jpeg but Call of Duty Singleplayer still does not work. I just does not start without any message on the console.
Would it work to mask jpeg7 and go back completly to the old version?

thanks an lot
Erdie

BTW: It is strange that the Multiplayer version still works :o
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Oct 02, 2009 8:19 am    Post subject: Reply with quote

I have no idea, maybe there's more than one problem, coincidences happen sometimes.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 11:43 am    Post subject: Reply with quote

I will try to go back to jpeg-6* and report the results later here. Thanks again for your help.
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Oct 02, 2009 1:26 pm    Post subject: Reply with quote

In order to go back to jpeg-6b you could do:

/etc/portage/package.mask
>=media-gfx/fbida-2.07-r1
>=media-gfx/xli-1.17.0-r4
media-libs/jpeg-compat
>=media-libs/jpeg-7

/etc/portage/profile/package.use.mask
app-emulation/wine -jpeg

I didn't try it, so shooting off from the hip here. :wink:

But I'm not recommending it, instead you should get the emul- pkgs updated to support libjpeg.so.7.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 3:14 pm    Post subject: Reply with quote

thanks :)

just one question: Why do i need to mask media-libs/jpeg-compat ?

-Erdie (just compiling)
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W


Last edited by Erdie on Fri Oct 02, 2009 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Oct 02, 2009 3:20 pm    Post subject: Reply with quote

Erdie wrote:
thanks :)

just one question: Why do i need to mask media-libs/jpeg-compat

-Erdie (just compiling)


Both jpeg-6b and jpeg-compat install libjpeg.so.62, but there's blockers in place. So I guess the response to your question is: Just in case. :)
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 3:29 pm    Post subject: Reply with quote

I did not mask it actually, so far there are no blocker. But in the case it will come I will know what to do, thanks :D


aarrgm :cry: I did that all, recompiled wine, too. CoD Singleplayer still does not work :(
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Oct 02, 2009 5:39 pm    Post subject: Reply with quote

That's disappointing to hear, but can't be more of an assistance. I really don't use wine myself, at all, sorry. :?
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Fri Oct 02, 2009 6:59 pm    Post subject: Reply with quote

Let me shed some light on this as I spent about 2 hours on this last night. The issue lies with the emul-linux-x86-*** packages. Wine is compiled against the 32-bit binaries so that you can run 32 bit applications. In order to "fix" this problem you need to either

A) downgrade xorg-server to 1.5.*

B) compile jpeg-7 on a x86 chroot or machine and copy it to /usr/lib32/ and then link /usr/lib32/libjpeg.so to that file. (I'm at work and can't remember exact file names right now)

C) I hear something about a multilib overlay that might fix this as well.

This "problem" happened with the stabilization of the new xorg-server. Its cool though, everything else works just not wine or anything else that requires jpeg-7.

My plea is that emul-linux-x86 packages be update or that we can somehow compile 32-bit binaries via our own environments (i.e. without chroot).
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Fri Oct 02, 2009 7:33 pm    Post subject: Reply with quote

I could live with the perspective that the emul libs would be updated and contain jpeg-7. That would be nice. I do not want to do to deal with these overlay, i seems to risky for me since i use my maching for pro-audio work, too. thank you all for you help :)
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Sat Oct 03, 2009 11:29 am    Post subject: Reply with quote

How about that somebody could provide a binary of the x86 version of jpeg-7?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Oct 03, 2009 12:18 pm    Post subject: Reply with quote

Erdie wrote:
How about that somebody could provide a binary of the x86 version of jpeg-7?


How about this?

emerge -1 app-emulation/emul-linux-x86-baselibs
FEATURES="collision-protect" ABI="x86" DEFAULT_ABI="x86" CFLAGS="-march=i686 -m32 -O2 -pipe" emerge -av1 jpeg

After this, it will abort the emerge because of file collision. That's O.K.

Now,

cp -af /var/tmp/portage/media-libs/jpeg-7/work/jpeg-7/.libs/libjpeg.so* /usr/lib32/

And you should have 32bit ELF's where they belong.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Oct 03, 2009 12:33 pm    Post subject: Reply with quote

# file /var/tmp/portage/media-libs/jpeg-7/work/jpeg-7/.libs/libjpeg.so.7.0.0
/var/tmp/portage/media-libs/jpeg-7/work/jpeg-7/.libs/libjpeg.so.7.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

# file /usr/lib64/libjpeg.so.7.0.0
/usr/lib64/libjpeg.so.7.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

Should prove it should work. :-)
Back to top
View user's profile Send private message
Mistwolf
Apprentice
Apprentice


Joined: 07 Mar 2007
Posts: 189
Location: Edmonton, AB

PostPosted: Sat Oct 03, 2009 5:54 pm    Post subject: Reply with quote

Tried ssuominen's idea, had to comment out the line in package.use.mask (in /usr/portage/profile/arch/amd64), and rebuild wine.

That fixed the jpeg issue for me.

Thanks ssuominen!!
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Oct 03, 2009 6:10 pm    Post subject: Reply with quote

Mistwolf wrote:
Tried ssuominen's idea, had to comment out the line in package.use.mask (in /usr/portage/profile/arch/amd64), and rebuild wine.

That fixed the jpeg issue for me.

Thanks ssuominen!!


No problem. :P

You can do this,

In /etc/portage/profile/package.use.mask:

app-emulation/wine -jpeg

So that you don't have to comment it out from the /usr/portage because it will be be lost after --sync.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Oct 04, 2009 5:45 pm    Post subject: Reply with quote

Good news,

20:22 <@KingTaco> # Mike Doty <kingtaco@gentoo.org> (04 Oct 2009)
20:22 <@KingTaco> # alpha packages, kills puppies.
20:22 <@KingTaco> =app-emulation/emul-linux-x86-baselibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-compat-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-gtklibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-medialibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-qtlibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-sdl-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-soundlibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-xlibs-20091004_rc1
20:22 <@KingTaco> commiting soon

New emul- libraries on it's way to Portage, with libjpeg.so.7.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Sun Oct 04, 2009 8:25 pm    Post subject: Reply with quote

I got this wine build workaround with use=jpeg too. Anyway, CoD singleplayer still does not start. No idea why ..:(

Its really strange, when i lauch:

wine CoDMP.exe
-> the multimode runs normally. In the same directory, when i type:

wine CoDSP.exe
-> it just comes back to the command prompt, without printing ANY information.


Before I got the world update with wine "USE=-jpeg" everything worked perfectly. I can remember, I was just playing CoD when the emerge process was running.

Is there any possiblity do debug this issue?

-Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W


Last edited by Erdie on Mon Oct 05, 2009 1:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Mon Oct 05, 2009 1:23 pm    Post subject: Reply with quote

BTW: Do I need to cleanup my /usr/lib32 when the official version of the emul libs comes to us or isnt it that necessary?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Oct 05, 2009 7:57 pm    Post subject: Reply with quote

Erdie wrote:
BTW: Do I need to cleanup my /usr/lib32 when the official version of the emul libs comes to us or isnt it that necessary?


If you used my previous hack to build the 32bit jpeg libs, then do rm -rf /usr/lib32/libjpeg* before upgrading to the p.masked emul- libs,
but that's about it. Portage should abort otherwise with file-collision's.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Sat Oct 10, 2009 7:55 am    Post subject: Reply with quote

Hi,

I'm trying to update my emul-linux* libs with the multilib overlay.
The problem is, it implies re-compliling some stuff with the lib32 flag, such as :

Code:

emerge: there are no ebuilds built with USE flags to satisfy "sys-libs/e2fsprogs-libs[lib32]".
!!! One of the following packages is required to complete your request:
- sys-libs/e2fsprogs-libs-1.41.9 (Change USE: +lib32)
(dependency required by "app-emulation/emul-linux-x86-baselibs-99999999" [ebuild])
(dependency required by "emul-linux-x86-baselibs" [argument])



Does it mean that this program for example will be running in 32bits mode ?

Thanks and Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Sat Oct 10, 2009 10:57 am    Post subject: Reply with quote

ssuominen wrote:
Good news,

20:22 <@KingTaco> # Mike Doty <kingtaco@gentoo.org> (04 Oct 2009)
20:22 <@KingTaco> # alpha packages, kills puppies.
20:22 <@KingTaco> =app-emulation/emul-linux-x86-baselibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-compat-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-gtklibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-medialibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-qtlibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-sdl-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-soundlibs-20091004_rc1
20:22 <@KingTaco> =app-emulation/emul-linux-x86-xlibs-20091004_rc1
20:22 <@KingTaco> commiting soon

New emul- libraries on it's way to Portage, with libjpeg.so.7.


I just upgraded to the masked emul libraries, and they don't seem to include mpg123.The mpg123 libraries are needed for mp3 support with new versions of wine.
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