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

Author Topic: Window Antialiasing on Linux  (Read 4268 times)

0 Members and 1 Guest are viewing this topic.

ath88

  • Newbie
  • *
  • Posts: 12
    • View Profile
Window Antialiasing on Linux
« on: July 20, 2014, 12:52:48 pm »
Hi there,

I have been looking around and i found a few clues that window anti-aliasing on Linux is broken. All of the resources are fairly old though, from 2011 and 2012, respectively.

Will this be on the drawing board anytime soon? Or is it already fixed?

I noticed some fix mentioned here https://github.com/SFML/SFML/issues/35, but i fail to comprehend the solution.

Regards, ath88

Edit: I have been trying an FXAA shader, but i can't make it work with primitive shapes (which is what i am using, no textures).

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Window Antialiasing on Linux
« Reply #1 on: July 20, 2014, 03:36:03 pm »
If I had to guess, I would say read this.
https://github.com/SFML/SFML/issues/664
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

ath88

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Window Antialiasing on Linux
« Reply #2 on: July 20, 2014, 03:48:53 pm »
If I had to guess, I would say read this.
https://github.com/SFML/SFML/issues/664

Thanks, but to no avail. Setting the depthBit to 32 changes nothing. Still no antialiasing, even though antialiasingLevel is set to 8.

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: Window Antialiasing on Linux
« Reply #3 on: July 20, 2014, 03:53:05 pm »
Show us the full output of glxinfo. Preferably in code tags.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

ath88

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Window Antialiasing on Linux
« Reply #4 on: July 20, 2014, 03:57:07 pm »
Show us the full output of glxinfo. Preferably in code tags.

Alright. I am not sure how to interpret this info. Hope this is correct.

(click to show/hide)
« Last Edit: July 20, 2014, 04:27:46 pm by ath88 »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Window Antialiasing on Linux
« Reply #5 on: July 20, 2014, 04:20:42 pm »
Your graphics driver supports no visual with antialiasing (see the last two columns, there are only zeroes), which is weird since it supports the GLX_ARB_multisample extension.
Laurent Gomila - SFML developer

ath88

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Window Antialiasing on Linux
« Reply #6 on: July 20, 2014, 04:27:03 pm »
Your graphics driver supports no visual with antialiasing (see the last two columns, there are only zeroes), which is weird since it supports the GLX_ARB_multisample extension.

My laptop has a Nvidia Optimus graphicscard (one small internal, and another bigger one), and i can switch to use the bigger card with the Bumblebee server. I realised i should be running glxinfo with the bigger card. Here is the, hopefully better, information;

(click to show/hide)

ath88

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Window Antialiasing on Linux
« Reply #7 on: July 29, 2014, 01:24:17 pm »
So, any ideas as to why my anti aliasing does not work? The same code, when run on Windows, works fine.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Window Antialiasing on Linux
« Reply #8 on: July 29, 2014, 01:33:26 pm »
Are you sure that your application runs on the "bigger" graphics card?
Laurent Gomila - SFML developer