[HOWTO] downgrade Xorg to 1.19 ?

Post tutorials, HOWTO's and other useful resources here.
donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[HOWTO] downgrade Xorg to 1.19 ?

Post#1 by donald » 01 Apr 2020, 11:39

Info by Rava: The hope is that this thread will turn into a [HOWTO], for the moment it is more like a [We don't know (yet) how to do that]
This thread was split from another one where the discussion about downgrading Xorg became off topic.
Rava wrote:
01 Apr 2020, 02:41
@donald
Would it make sense to tweak Porteus 5.0rc1 into using kernel 4.16.3 and xorg-server 1.19?
How could that be done? I presume I would have at least alter 002-xorg.xzm.
Maybe I would also have to alter 000-kernel.xzm and 001-core.xzm.
Has anyone ever done this before?

BTW, I already am using the above for Porteus 4.0 as seen by the filename and the md5sum:

Code: Select all

424afaeeacbe727398306ccfca66cae6  /mnt/sda1/Porteus_4.0/porteus/base/010-nvidia-304.137-k.4.16.3-x86_64-don.xzm
xorg 1.20 is the show stopper, the kernel not so much.
I once made a test using port-5, replaced the xorg.xzm to see if the
304 driver would compile/work, it worked.
But because i do not know how to properly downgrade xorg (if even possible)
i gave up on that.
I am not aware of any existing patch to make 304 work with xorg 1.20.
Last edited by Rava on 06 Apr 2020, 07:11, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[HOWTO] make a xzm module driver for NVIDIA video card

Post#2 by Rava » 01 Apr 2020, 13:46

donald wrote:
01 Apr 2020, 11:39
xorg 1.20 is the show stopper, the kernel not so much.
I once made a test using port-5, replaced the xorg.xzm to see if the
304 driver would compile/work, it worked.
That means, it would be possible, to e.g. use kernel 5.4.19 or possible a never 5.4.* kernel. And just replace xorg.xzm.

Do any of the other Porteus modules rely on xorg 1.20?
What DE did you use for your test? KDE? Openbox? XFCE?
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[HOWTO] make a xzm module driver for NVIDIA video card

Post#3 by donald » 01 Apr 2020, 18:18

Rava wrote:
01 Apr 2020, 13:46
....And just replace xorg.xzm.
No,you need to downgrade xorg properly.
I replaced the xorg.xzm to test if the driver would compile then.
I didn't care if something else breaks.(I'm pretty sure it will)

I also can not say for sure up to which kernel version it will work
without further patches.
It worked with port-5 and whichever kernel version it was at the time.
Do any of the other Porteus modules rely on xorg 1.20?
I don't know
What DE did you use for your test? KDE? Openbox? XFCE?
XFCE

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[HOWTO] make a xzm module driver for NVIDIA video card

Post#4 by Rava » 02 Apr 2020, 02:45

donald wrote:
01 Apr 2020, 18:18
No,you need to downgrade xorg properly.
I replaced the xorg.xzm to test if the driver would compile then.
I didn't care if something else breaks.(I'm pretty sure it will)
Is there a HOWTO for downgrading such an important part of the OS?

I know how to remove a single package. But that is not really a similar task.

Example: xfce4 module got extracted into /tmp/003-xfce4; you want to remove gpicview:

Code: Select all

ROOT=/tmp/003-xfce4/ removepkg gpicview
find /tmp/003-xfce4/|grep  gpicview| xargs  /bin/rm -f '{}'
That could be done with Xorg as well, but it appears quite obvious that other packages rely on xorg, and might be partly broken when you remove xorg and replace it with an older version.

Has someone on here experience with doing so?
Cheers!
Yours Rava

Post Reply