Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Latest shouts directly from our packagers and call for public testing MIB packages
Post Reply
User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by NicCo »

our GvM is preparing a full port of X 13 and all the stuff around graphics server and drivers

Main path
http://mib.pianetalinux.org/MIB/rosa2012.1/others
GvM wrote:Non mi ero accorto che la versione di X13 su ROSA Fresh avesse alcuni problemi,
a me funziona(va) come un orologio fin dall'installazione con i driver radeon open:
l'unica roba che non mi quadrava era la versione di OpenGL supportata (2.1, mentre dovrebbe essere 3.0).

Attualmente, dopo opportuni ritocchi ai package standard) il log di kwin dice:
**************************
OpenGL vendor string X.Org
OpenGL renderer string Gallium 0.4 on AMD JUNIPER
OpenGL version string 3.0 Mesa 9.0.1
OpenGL shading language version string 1.30
Driver R600G
GPU class EVERGREEN
OpenGL version 3.0
GLSL version 1.30
Mesa version 9.0.1
X server version 1.13
Linux kernel version 3.6.10
Direct rendering yes
Requires strict binding no
GLSL shaders yes
Texture NPOT support yes
**************************

Certo qualche magagnetta nel packaging standard c'è (me ne sono accorto mentre rifacevo i vari rpm: sono partito da quelli MIB per la 2010.2 e li ho sistematicamente confrontati con quelli standard... ci vuole un po' di più):
* nelle libdrm il driver nouveau non dovrebbe funzionare per niente: il srpm applica ancora delle patch ormai inutili (e dannose) per ripristinare la "vecchia" interfaccia DRM al posto di quella nuova, introdotta con la versione 2.4.35, perché all'epoca mesa non compilava con quella... ma adesso mesa 9.0.x supporta l'interfaccia nuova, mentre le libdrm, causa dette patches, quella vecchia: credo che questo possa spiegare molti problemi con nouveau.

* mesa è compilata senza l'opzione --enable-float-texture, che è necessaria per il supporto di OpenGL 3.x (d'accordo è patent-encumbered, ma almeno bisognerebbe fare come Mageia, cioè fornire una versione con detta opzione abilitata in Restricted...).

Non sono ancora arrivato all'xserver ed ai suoi driver (in questo momento sto iniziando la verifica/build delle varie librerie necessarie, dopo esser passato per libdrm/pixman/vdpau/vaapi) ma ricordo che il 1.13.x ha abbandonato del tutto l'interfaccia XAA per l'accelerazione grafica: è quindi del tutto possibile che driver meno usuali (tipo i sis e i matrox) o non siano stati del tutto portati all'EXA o, pur essendo avvenuto ciò, in realtà siano stati sottoposti a solo a test di compilazione e non di uso...

Nel frattempo, se vuoi cominciare i test, è già possibile, Io comincerei dalle sole libdrm: magari quello già risolve parte dei problemi con nouveau

nel path indicato trovi tutto quello che ho per ora, ciascun package nella sua brava directory con annesso srpm (al momento le dir i586 sono vuote):
* libdrm 2.4.40
* pixman 0.28.2
* libva 1.1.0
* vdpau 0.5.0
* wayland 1.0.3
* mesa 9.0.1

Consiglio di procedere per gradi:
1) libdrm (ed eventualmente) pixman sono le basi perché non dipendono da altro;

2) anche wayland al momento serve solo come presupposto per mesa e libva, ma non dipende da nulla di quanto segue e non dovrebbe avere influssi particolari se installato;

3) libvdpau serve a mesa;

4) finalmente mesa.
Io comincerei con 1) ed eventualmente 2); poi testerei 3) ed infine installerei 4)...

> Allo stato attuale, quali sono le principali differenze con la versione presente su Fresh?
GvM wrote: Tutti i package sono "stile MIB", cioè tentano di attivare il massimo delle opzioni possibili (e sensate, ovviamente):
p.es. il supporto wayland che nei rpm standard è presente solo in mesa (se non sbaglio)...

Puoi sempre spulciare i srpm se ne vuoi sapere di più.

Inoltre:
* le libdrm sono compilate *senza* quelle ormai inutili (e, secondo me, dannose) patches per nouveau che ripristinavano la vecchia interfaccia DRM (quella con il major "1", per capirci) che andava bene con kernel <= 3.5 e mesa <= 8.0.x, ma che ora dovrebbe dare sicuramente problemi.

* Mesa abilita il supporto a wayland e osmesa (utilizzato dalle ultime versioni di wine), ed inoltre aggiunge un paio di patch per r600g dal master tree che dovrebbero aumentarne le prestazioni (v. lo spec file per i dettagli).
In futuro sono previsti:
- il supporto per il driver radeonsi (per tutte le schede AMD Southern Island, cioè dalla HD7750 in poi): con la prossima versione di mesa e non appena libglamor compilerà correttamente;
- il supporto per r600g di opencl e del compilatore per llvm fornito da AMD: con le prossime versioni di mesa e di llvm (3.3).

* Mesa-demos è più recente del package standard perché in realtà è uno snapshot dello stato attuale del tree di sviluppo ed installa più cose di quanto non faccia il rpm standard.

* libvdpau è più aggiornato di quello standard (0.5 contro 0.4.1) ed inoltre abilita il supporto per wayland.

* pixman era più aggiornato di quello standard fino al 29/12.

Per il resto sono rebuild equivalenti a quelli standard (a meno che non dipendano da qualcuna delle features in più abilitate nei pacchetti di cui sopra): li faccio lo stesso perché l'obiettivo finale è sempre quello di proporre un completo drop-in di upgrade da quanto c'è di standard a favore degli utenti meno esperti e smanettoni...

Sono ormai 3-4 giorni che faccio andare questi nuovi rpm sulla mia 2012.1 (con il resto dello stack - xorg e driver annessi - ancora in forma standard) e, per ora, non ho notato alcuna controindicazione.
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
benbullard79
Utente junior
Utente junior
Posts: 73
Joined: 8 April 2012, 19:52
ROSA: None
OpenMandriva: 2014.2, Cooker
Kernel: 4.1.12-nrjQL
Desktop: KDE4,Plasma5
country: US
Location: Baton Rouge, LA

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by benbullard79 »

Thanks for your work on this. Using ROSA Fresh x86_64. I have a computer with this:

Code: Select all

$ lspcidrake
...
Card:NVIDIA GeForce 6 and later cards (nouveau/nvidia-long-lived): NVIDIA Corporation|C51PV [GeForce 6150] [DISPLAY_VGA] (rev: a2)
using:

Code: Select all

$ rpm -qa | grep nvidia
dkms-nvidia-long-lived-304.64-10-rosa2012.1.x86_64
nvidia-long-lived-doc-html-304.64-10-rosa2012.1.x86_64
x11-driver-video-nvidia-long-lived-304.64-10-rosa2012.1.x86_64
And I have used nvidia-settings to set to 'Separate X screen'. Also serious font rendering issues as reported by others. So far I've installed these MIB packages:

Code: Select all

$ rpm -qa | grep libdrm
libdrm-common-2.4.40-69.1-mib2012.1.x86_64

$ rpm -qa | grep pixman
lib64pixman1_0-0.28.2-69.1-mib2012.1.x86_64
https://imageshack.us/photo/my-images/8 ... hot7n.png/

And font rendering issues remain unchanged. Next I'll try replacing the other 3 packages I currently have installed with versions from the MIB 'others' list. They are:

Code: Select all

$ rpm -qa | grep mesa
mesa-demos-8.0.1-8-rosa2012.1.x86_64

$ rpm -qa | grep wayland
lib64wayland-server0-1.0.0-1-rosa2012.1.x86_64
lib64wayland-client0-1.0.0-1-rosa2012.1.x86_64
One question would be if there are packages not currently installed that would help with this issue? Any other suggestions? Or just wait for ROSA developers to return from holiday?
Thanks,
Ben
aka: ben79

User avatar
benbullard79
Utente junior
Utente junior
Posts: 73
Joined: 8 April 2012, 19:52
ROSA: None
OpenMandriva: 2014.2, Cooker
Kernel: 4.1.12-nrjQL
Desktop: KDE4,Plasma5
country: US
Location: Baton Rouge, LA

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by benbullard79 »

Reading the google translation to English it appears that these packages may be more intended for nouveau. In trying them they didn't work well on this computer with nvidia so I used urpm-reposync to revert to ROSA packages for the time being. :shock:
Thanks,
Ben
aka: ben79

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by NicCo »

No, is not intended for Nuveau, but nuveau has been fixed, removing old patches usefull only for X12

The port at the start and not completed:
in the neext days should follow xorg server and client drivers with nvidia proprietary drivers

The problem is not related to ROSA, but to X13 with Nvidia drivers, or X or Nvidia, or both
Infact you can find the same errors in the link I suggested related to ArchLinux community

The ROSA developers should come back after 09 January, the end of holidays


bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
GiuX
Utente
Utente
Posts: 238
Joined: 6 May 2009, 10:21
ROSA: Fresh
OpenMandriva: -
Kernel: 3.6.11nrjQL
Desktop: KDE 4.9.5
country: Italia

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by GiuX »

In order to update need to download packet by packet??? The repo lacks of synthesis file...

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by GvMariani »

GiuX wrote:In order to update need to download packet by packet??? The repo lacks of synthesis file...
Yes, until the whole boatload of all the rpm needed to make a drop-in replacement will be ready...
This is only a way to have online what is already done for the more expert users needing to test it;
the packages are split according to their place in the graphic stack (libdrm, mesa, xserver...), so allowing to test the various components one at time,
because doing so make more easy the initial test and the eventual reverting in case of troubles.

Because of this:
1) the files are placed in /others, while the repo will be in /testing;
2) as you noticed, there is no .synthesis files in any dirs:
you have to download in a local dir what you need and then upgrade it manually.
The repo will be made after the end of all the package building.

You only have to wait...

GvM

User avatar
GiuX
Utente
Utente
Posts: 238
Joined: 6 May 2009, 10:21
ROSA: Fresh
OpenMandriva: -
Kernel: 3.6.11nrjQL
Desktop: KDE 4.9.5
country: Italia

Re: Xorg 13 port, full enabled, for ROSA Desktop.Fresh 2012

Post by GiuX »

Ok, thank you :)

Post Reply