Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
[Yellow Dog Linux 6 / PS3] Card colors off (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: [Yellow Dog Linux 6 / PS3] Card colors off
#2105
billb (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 2 Weeks ago Karma: 0  
Hi -- I'm running PokerTH (svn revision 1528) on Yellow Dog Linux (PPC Linux) on the Playstation 3. I had to do a little work to compile it because of the boost lib on YDL6 -- it needed to be upgraded to 1.34 from the included/available 1.33 version.

Also, I had to comment out instances of this line in the .pro files:

QMAKE_LFLAGS += -no_dead_strip_inits_and_terms

Or I'd get an unknown option error during compiling.

Also noted a few warnings during compiling, but would have to compile again and make a note of them -- sorry.

Anyway -- the game runs great, I'm able to connect and play Internet games, etc, and I'm really enjoying it!..

One problem I have noticed is the card colors (and some avatars?) don't display properly -- see this screenshot.

Any ideas?

Thanks!

billb

EDIT: Just wanted to add that the card colors do show properly while the card is being flipped (animated), but once they are flipped they don't show properly.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/07/11 16:54 By billb.
  The administrator has disabled public write access.
#2115
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 1 Week ago Karma: 13  
billb wrote:
QUOTE:
[...]
QMAKE_LFLAGS += -no_dead_strip_inits_and_terms

Or I'd get an unknown option error during compiling.


This should be a warning not an error. Are you sure the compiler was aborting and not simply ignoring the option?
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#2116
billb (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 1 Week ago Karma: 0  
QUOTE:
This should be a warning not an error. Are you sure the compiler was aborting and not simply ignoring the option?


Thank you for the response.

Yes -- I'm positive it was aborting. YDL6 has gcc-4.1.1. I had to upgrade the included boost-devel from 1.33 to 1.34.

Here are the warnings I got (after commenting out the QMAKE_LFLAGS += -no_dead_strip_inits_and_terms lines):

Warnings:
Code:

src/core/common/avatarmanager.cpp: In member function ‘void AvatarManager::RemoveOldAvatarCacheEntries()’: src/core/common/avatarmanager.cpp:496: warning: comparison between signed and unsigned integer expressions src/third_party/tinyxml/tinystr.cpp:39: warning: missing braces around initializer for ‘char [1]’ In file included from src/third_party/libircclient/src/libircclient.c:17: src/third_party/libircclient/src/portable.c:120: warning: unused parameter ‘mutex’ src/third_party/libircclient/src/portable.c:121: warning: unused parameter ‘mutex’ src/third_party/libircclient/src/portable.c:122: warning: unused parameter ‘mutex’ src/third_party/libircclient/src/portable.c:123: warning: unused parameter ‘mutex’ In file included from src/third_party/libircclient/src/libircclient.c:23: src/third_party/libircclient/src/utils.c:70: warning: unused parameter ‘event’ src/third_party/libircclient/src/utils.c:70: warning: unused parameter ‘count’ src/third_party/libircclient/src/libircclient.c: In function ‘libirc_process_incoming_data’: src/third_party/libircclient/src/libircclient.c:410: warning: comparison between signed and unsigned /usr/include/boost/iostreams/read.hpp: In instantiation of ‘static bool boost::iostreams::detail::true_eof_impl<false>::true_eof(T&) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’: /usr/include/boost/iostreams/read.hpp:89: instantiated from ‘bool boost::iostreams::detail::true_eof(T&) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’ /usr/include/boost/iostreams/read.hpp:153: instantiated from ‘static std::streamsize boost::iostreams::detail::read_device_impl<boost::iostreams::streambuf_tag>::read(T&, typename boost::iostreams::char_type_of<T>::type*, std::streamsize) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’ /usr/include/boost/iostreams/read.hpp:51: instantiated from ‘std::streamsize boost::iostreams::read(T&, typename boost::iostreams::char_type_of<T>::type*, std::streamsize) [with T = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >]’ /usr/include/boost/iostreams/copy.hpp:115: instantiated from ‘std::streamsize boost::iostreams::detail::copy_impl(Source&, Sink&, std::streamsize, mpl_::false_, mpl_::false_) [with Source = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >, Sink = boost::reference_wrapper<std::basic_ofstream<char, std::char_traits<char> > >]’ /usr/include/boost/iostreams/copy.hpp:136: instantiated from ‘std::streamsize boost::iostreams::detail::copy_impl(Source, Sink, std::streamsize) [with Source = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >, Sink = boost::reference_wrapper<std::basic_ofstream<char, std::char_traits<char> > >]’ /usr/include/boost/iostreams/copy.hpp:191: instantiated from ‘std::streamsize boost::iostreams::copy(Source&, Sink&, std::streamsize, typename boost::enable_if<boost::iostreams::is_std_io<T>, void>::type*, typename boost::enable_if<boost::iostreams::is_std_io<Sink>, void>::type*) [with Source = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>, Sink = std::ofstream]’ src/net/common/clientstate.cpp:437: instantiated from here /usr/include/boost/iostreams/read.hpp:82: warning: unused parameter ‘t’ src/gui/qt/guiwrapper.cpp:232:57: warning: no newline at end of file src/gui/qt/gametable/myavatarlabel.cpp:32: warning: unused parameter ‘event’ src/gui/qt/gametable/myavatarlabel.cpp:37: warning: unused parameter ‘pos’ /usr/include/boost/date_time/time_facet.hpp: In instantiation of ‘boost::date_time::time_facet<time_type, CharT, OutItrT>::time_facet(size_t) [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’: /usr/include/boost/date_time/posix_time/posix_time_io.hpp:59: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’ src/core/common/loghelper_server.cpp:61: instantiated from here /usr/include/boost/date_time/time_facet.hpp:200: warning: unused parameter ‘a_ref’ /usr/include/boost/date_time/time.hpp: In instantiation of ‘std::string boost::date_time::base_time<T, time_system>::zone_abbrev(bool) const [with T = boost::posix_time::ptime, time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]’: /usr/include/boost/date_time/time_facet.hpp:263: instantiated from ‘OutItrT boost::date_time::time_facet<time_type, CharT, OutItrT>::put(OutItrT, std::ios_base&, typename boost::date_time::date_facet<typename time_type::date_type, CharT, OutItrT>::char_type, const time_type&) const [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’ /usr/include/boost/date_time/posix_time/posix_time_io.hpp:51: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’ src/core/common/loghelper_server.cpp:61: instantiated from here /usr/include/boost/date_time/time.hpp:87: warning: unused parameter ‘as_offset’ /usr/include/boost/date_time/time.hpp: In instantiation of ‘std::string boost::date_time::base_time<T, time_system>::zone_name(bool) const [with T = boost::posix_time::ptime, time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]’: /usr/include/boost/date_time/time_facet.hpp:277: instantiated from ‘OutItrT boost::date_time::time_facet<time_type, CharT, OutItrT>::put(OutItrT, std::ios_base&, typename boost::date_time::date_facet<typename time_type::date_type, CharT, OutItrT>::char_type, const time_type&) const [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’ /usr/include/boost/date_time/posix_time/posix_time_io.hpp:51: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’ src/core/common/loghelper_server.cpp:61: instantiated from here /usr/include/boost/date_time/time.hpp:80: warning: unused parameter ‘as_offset’
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2117
billb (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 1 Week ago Karma: 0  
Sorry, never mind about the -no_dead_strip_inits_and_terms issue -- I was just building an RPM and it didn't stop on that, though it did when I was compiling it manually. Maybe I accidentally hosed up the makefile somehow?

Anyway, the main point of the original post was regarding the colors being off as shown in the screenshot. They are only displayed properly while the cards are flipping over.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2129
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 1 Week ago Karma: 13  
billb wrote:
QUOTE:
SAnyway, the main point of the original post was regarding the colors being off as shown in the screenshot. They are only displayed properly while the cards are flipping over.


This has also been reported on PowerPC and is some byte order problem. Since the images are drawn using Qt, I suppose that it might be a Qt bug.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#2141
billb (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:[Yellow Dog Linux 6 / PS3] Card colors off 4 Months, 1 Week ago Karma: 0  
It does indeed appear to be an issue with Qt ... either how my version was compiled or in Qt itself. A friend pointed out to me that I'm experiencing the same issue in another Qt application (qmc2 frontend for sdlmame).

Thanks for the response.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com