invalid selected palette .NET 3.5sp1

Questions about Wine on Linux
Locked
Cagnulein
Level 2
Level 2
Posts: 19
Joined: Sun Sep 20, 2009 8:32 am

invalid selected palette .NET 3.5sp1

Post by Cagnulein »

Hi everybody, i have a CNC's machine software, written on .NET 3.5sp1 that runs OK on Wine.
The only issue is the slowness on rendering 2d objects on screens (like buttons or labels).
Checking the messages with WINEDEBUG, i saw a lot of

GDISelectPalette invalid selected palette

Is it should be related to the slowness?
If it's not, how could i understand where is the bottleneck?
The performance are the same with wine-staging and wine 1.8.7. Any idea?

Thanks
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: invalid selected palette .NET 3.5sp1

Post by DarkShadow44 »

wine 1.8.7 is way out of date. Please try wine-4.10.
Cagnulein
Level 2
Level 2
Posts: 19
Joined: Sun Sep 20, 2009 8:32 am

Re: invalid selected palette .NET 3.5sp1

Post by Cagnulein »

DarkShadow44 wrote:wine 1.8.7 is way out of date. Please try wine-4.10.
I said "same with wine-staging and wine 1.8.7", for wine-staging i mean 4.10
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: invalid selected palette .NET 3.5sp1

Post by Bob Wya »

Cagnulein wrote:...
GDISelectPalette invalid selected palette

Is it should be related to the slowness?
If it's not, how could i understand where is the bottleneck?
...
@Cagnulein

The simplest Wine performance hack, is simply to run your application with terminal debugging disabled:

Code: Select all

export WINEDEBUG=-all
Bob
Cagnulein
Level 2
Level 2
Posts: 19
Joined: Sun Sep 20, 2009 8:32 am

Re: invalid selected palette .NET 3.5sp1

Post by Cagnulein »

thanks @Bob Wya but it's doesn't help :(
Maybe i've to try to get the root of the issue, without hidden it in the closet :P
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: invalid selected palette .NET 3.5sp1

Post by jkfloris »

Did you use winetricks to install .Net 3.5 or do you use the build-in Mono variant?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: invalid selected palette .NET 3.5sp1

Post by DarkShadow44 »

Maybe "winetricks gdiplus" helps. Wine gdiplus is very slow.
Locked