Opened 10 years ago

Closed 10 years ago

#5469 closed enhancement (fixed)

xf86-video-nouveau 1.0.11

Reported by: ken@… Owned by: Pierre Labastie
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

http://lists.freedesktop.org/archives/nouveau/2014-September/018623.html

Highlights:
  - Support for server managed fd's.
  - Glamor support.
  - Maxwell support.
  - DRI3 and initial Present support.
  - vsync'ed kms pageflip performance fixes when running on Linux 3.13+
  - Multi-display vsync, vblank, swap scheduling, timestamping fixes.
  - Multi x-screen support fixes.
  - ZaphodHead support on for multiple outputs per x-screen.
  - EXA nv-10 fixes.
  - Enable sync of swaps to vblank by default (Option GLXVblank "on").
  - Disable pseudo-triplebuffering by default (Option SwapLimit "1").

For the books, glamor support might change some text in other places.

NB I don't have any hardware to test this, so I'll leave it for someone who does.

Change History (8)

comment:1 by Pierre Labastie, 10 years ago

Owner: changed from blfs-book@… to Pierre Labastie
Status: newassigned

I've a Nvidia card, but I do not know what glamor is. Accepting anyway...

in reply to:  1 ; comment:2 by ken@…, 10 years ago

Replying to pierre.labastie:

I've a Nvidia card, but I do not know what glamor is. Accepting anyway...

Glamor is an acceleration library using the card's 3D capabilities to accelerate 2D rendering. It is hoped it will make writing new video drivers easier. It is now part of xorg-server.

Mentioned on the xorg-server page (it needs libepoxy) and under the ati video driver.

At the moment, the newest ati (radeon southern islands and central islands) chips need it. It is available for intel and radeons from r600 onwards, but not the default for those.

in reply to:  2 comment:3 by Pierre Labastie, 10 years ago

Replying to ken@…:

Replying to pierre.labastie:

I've a Nvidia card, but I do not know what glamor is. Accepting anyway...

Glamor is an acceleration library using the card's 3D capabilities to accelerate 2D rendering. It is hoped it will make writing new video drivers easier. It is now part of xorg-server.

Mentioned on the xorg-server page (it needs libepoxy) and under the ati video driver.

At the moment, the newest ati (radeon southern islands and central islands) chips need it. It is available for intel and radeons from r600 onwards, but not the default for those.

Thanks Ken!

comment:4 by Pierre Labastie, 10 years ago

The new version works like a charm with "AccelMethod" "exa", but I am unable to have it work with glamor, although "AccelMethod" "glamor" is accepted. Problem is, when I add this option, I get:

[0.000] (II) Loading sub module "glamoregl"
[0.000] (II) LoadModule: "glamoregl"
[0.000] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[0.000] (II) Module glamoregl: vendor="X.Org Foundation"
[0.000]        compiled for 1.16.0, module version = 1.0.0
[0.000]        ABI class: X.Org ANSI C Emulation, version 0.4
[0.000] (II) glamor: OpenGL accelerated X.org driver based.
[0.000] (II) glamor: EGL version 1.4 (DRI2):
[0.000] (II) NOUVEAU(0): [GLAMOR] EGL initialised

but later

[0.000] (II) AIGLX: Screen 0 is not DRI2 capable
[0.000] (EE) AIGLX: reverting to software rendering
[0.000] (II) AIGLX: Loaded and initialized swrast
[0.000] (II) GLX: Initialized DRISWRAST GL provider for screen 0

instead of (with exa):

[0.000] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[0.000] (II) AIGLX: enabled GLX_ARB_create_context
[0.000] (II) AIGLX: enabled GLX_ARB_create_context_profile
[0.000] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[0.000] (II) AIGLX: enabled GLX_INTEL_swap_event
[0.000] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[0.000] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[0.000] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[0.000] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[0.000] (II) AIGLX: Loaded and initialized nouveau
[0.000] (II) GLX: Initialized DRI2 GL provider for screen 0

Also, with exa, I had (before the AIGLX lines):

[0.000] (II) NOUVEAU(0): [DRI2] Setup complete
[0.000] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[0.000] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[0.000] (II) Loading sub module "exa"
[0.000] (II) LoadModule: "exa"
[0.000] (II) Loading /usr/lib/xorg/modules/libexa.so
[0.000] (II) Module exa: vendor="X.Org Foundation"
[0.000]        compiled for 1.16.0, module version = 2.6.0
[0.000]        ABI class: X.Org Video Driver, version 18.0
[0.000] (II) EXA(0): Driver allocated offscreen pixmaps
[0.000] (II) EXA(0): Driver registered support for the following operations:
[0.000] (II)         Solid
[0.000] (II)         Copy
[0.000] (II)         Composite (RENDER acceleration)
[0.000] (II)         UploadToScreen
[0.000] (II)         DownloadFromScreen

instead of just, with glamor:

[0.000] (II) NOUVEAU(0): [GLAMOR] initialised

I do not know if I am doing something wrong (missing option for the driver or whatnot). I have added a nvidia.conf file in /etc/X11/xorg.conf.d:

Section "Device"
        Identifier "Nividia"
        Driver "nouveau"
        Option "AccelMethod" "glamor"
EndSection

comment:5 by Pierre Labastie, 10 years ago

I see that some changes are needed for Mesa (see ticket #5497) and xorg-server (see r14252). I'll try those (actually already done for Mesa), to see if I can get glamor to work. If not, I'll commit as is, stating that glamor has been added but is not functional yet (on my cards, GT220 (NVA5) and Quadro 600 (NVC1)).

comment:6 by Armin K, 10 years ago

I believe that Glamor is only used by Maxwell (and will be used for any later) hardware, so I don't think you can use it just yet.

comment:7 by Pierre Labastie, 10 years ago

Thanks, Armin!

What the doc says is that glamor is the default for Maxwell, and that you can enable it for the others by setting "AccelMethod" to "glamor". I guess that is not yet true. I have no Maxwell GPU here, so I cannot test...

comment:8 by Pierre Labastie, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r14271

Note: See TracTickets for help on using tickets.