Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kuinox

Pages: [1] 2
1
DotNet / Re: SFML.NET 2.4 Update
« on: April 08, 2018, 08:07:17 pm »
Hi here ! 
I noticed that SFML.NET doesn't respect the .NET naming convention (https://msdn.microsoft.com/en-us/library/8bc1fexb(v=vs.71).aspx) on the interface. 
Example: 
Drawable should be IDrawable. 
Realy not a hard fix, but, why SFML.NET is not following this naming convention ? 
If there is no problem i can do the pull request. 
This can be a cool fix for the 2.4. 
Also, for the vectors, why SFML.NET is not using generics ?

2
General / Re: SFML With multi GPU
« on: January 26, 2018, 07:12:31 pm »
First, i will try with another game, that is running SFML, to know if it's my fault :D 
So, i tested with OpenHexagon, it use SFML 2 while i use SFML.NET 2 
It got the same problem: 


Windows recognize it as using the intel GPU, and it eat up the intel gpu, and it's probably being bottleneck by the intel GPU. 
Now, i will try with a game that isn't using SFML(to test if it's not my laptop fault) 
OKay, so it's look like that, more i draw frames, more it use the intel card. 
When i run CSGO, it also use the intel card, but a lot less than when i run a small 2D game that run at 300-400 fps. 
So it looks like it my laptop fault. 
For the bad GPU indicator in the task manager, it work on games not using SFML. 
Maybe there is something to do ?

3
General / Re: SFML With multi GPU
« on: January 26, 2018, 04:47:20 pm »
So, now we know that SFML is using the nvidia card thanks to the opengl command. 
Now, i have another problem: 
 
Why the intel spike, and is now always at 100% ? 
I think it sort of bottleneck the nvidia...

4
General / Re: GL.GetString on SFML.NET
« on: January 26, 2018, 04:40:11 pm »
Thanks it work !
It solved partially problem i posted in another thread. Now i know the used GPU is the nvidia one, but, it make the intel usage increase.

5
General / Re: GL.GetString on SFML.NET
« on: January 25, 2018, 05:32:28 pm »
This is far ahead my level :D.   
So, the GL.GetString is actually not working ? 
The class you sended is a fix ? 
Thanks !

6
General / Re: GL.GetString on SFML.NET
« on: January 25, 2018, 01:45:06 pm »
Also, could you look at the examples in SFML.NET ? I couldn't make it work. I don't know what i need to do to make it work...

7
General / Re: GL.GetString on SFML.NET
« on: January 25, 2018, 11:52:56 am »
So,
the lib is in the downlaod page of SFML.NET https://www.sfml-dev.org/download/sfml.net/
 
 
Also, i dont want the OpenGL version but the vendor name of the GPU, to help me figure out the problem on the other thread i did.

8
General / Re: GL.GetString on SFML.NET
« on: January 25, 2018, 12:25:29 am »
Couldnt make it work today, will try tomorrow, do you think there is an error in the examples ?

9
General / Re: GL.GetString on SFML.NET
« on: January 24, 2018, 09:33:11 pm »
I'm trying to get the gpu vendor name. I'm using SFML, and i figured out i could get the vendor name with an OpenGL command, in this examples: https://github.com/SFML/SFML.Net/blob/master/examples/opengl/OpenGL.cs 
Because i'm using SFML.NET, the example use GL.FunctionName i simply found that there was a GL.GetString and i could ask for the vendor name. 
Also, the examples in the SFML.NET github doesnt work out of the box, you need to Add the references to a compiled libs, i don't know if it's intentional. 
EDIT: Okay, i can't even make the SFML.NET OpenGL working. 
I did something wrong in the references ?

10
General / Re: GL.GetString on SFML.NET
« on: January 24, 2018, 09:02:11 pm »
Yeah, i know, and i'm using SFML. This is my problem :D

11
General / GL.GetString on SFML.NET
« on: January 24, 2018, 07:38:44 pm »
Hi hi ! 
I'm using SFML.NET
I try to get the GPU Vendor name, using the examples on the github of the SFML.NET,  i did this:
Quote
MenuType choice = MenuType.Menu;
            Console.WriteLine("FullScreen Mode ? y/n");
            var answere = Console.ReadLine()?.ToLower();
            bool windowed = !(answere == "yes" || answere == "y");
            // Request a 24-bits depth buffer when creating the window
            ContextSettings contextSettings = new ContextSettings();
            contextSettings.DepthBits = 24;
            //Change true for window, false for fullscreen
            RenderWindow window;
            if (windowed)
            {
                window = new RenderWindow(VideoMode.FullscreenModes[2], "Vestige", Styles.Titlebar | Styles.Close);
            }
            else
            {
                window = new RenderWindow(VideoMode.FullscreenModes[0], "Vestige", Styles.Fullscreen);
            }
            Toolkit.Init();
            var context = new GraphicsContext(new ContextHandle(IntPtr.Zero), null);
            window.SetActive(true);
            Console.WriteLine("Vendor: " + GL.GetString(StringName.Version));
It throw: System.AccessViolationException on the GL.GetString, but i tried to do the same init that the one in the example.
Thanks ! 
EDIT: Only found now, he can't load the SDL2.dll , there was no SDL2.dll in the precompiled package Oo.

12
General / Re: SFML With multi GPU
« on: January 21, 2018, 10:36:42 pm »
I updated it. 
It's even worst. Now it won't run on my nvidia graphics card in both case ^^. 
Now using 23.20.16.4901   
Update: 
So, using a nvidia tool, i saw that the windowed mode is using the Nvidia graphics card. 

There is some problems. Because the intel graphics is running really high, when the Nvidia is the default one. 
I will try to use an opengl command to see what is the GPU i'm using.

13
General / Re: SFML With multi GPU
« on: January 21, 2018, 07:16:21 pm »
Can you try with the script i did for my game ?   
Quote
var answere = Console.ReadLine()?.ToLower();
bool windowed = !(answere == "yes" || answere == "y");
var window = windowed ? new RenderWindow(VideoMode.FullscreenModes[2], "Vestige", Styles.Titlebar | Styles.Close) : new RenderWindow(VideoMode.FullscreenModes[0], "Vestige", Styles.Fullscreen);
I will test with update driver, i will give the result soon.

14
General / Re: SFML With multi GPU
« on: January 21, 2018, 04:21:22 pm »
I mean the driver provided by HP. 
I'm using the 21.20.16.4542

15
General / Re: SFML With multi GPU
« on: January 21, 2018, 02:06:35 am »
I'm using constructor latest driver for intel chipset, and the latest nvidia drivers. 
Tomorrow i will try with another laptop to reproduce this. 
Also, as i mentioned in a previous reply, the fullscreen bug on my friend laptop is now "resolved" we didn't changed anything and it fixed itself   :o

Pages: [1] 2
anything