Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] >=x11-drivers/xf86-video-sis-0.12.0 for Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
an7h
n00b
n00b


Joined: 10 Jan 2018
Posts: 61

PostPosted: Sun Aug 30, 2020 10:44 pm    Post subject: [SOLVED] >=x11-drivers/xf86-video-sis-0.12.0 for Gentoo Reply with quote

Looks like there's no SiS driver in the repository, although as far as I can tell it used to be available before. I learned that a new version of xf86-video-sis (0.12.0) was released recently that is compatible with xorg-server 1.20.*, so I was wondering how could I get it compiled and installed on my new Gentoo install? Also, I'm using gentoo-sources 5.7.18. Hope somebody can help. Thanks. :D

https://lists.freedesktop.org/archives/xorg/2019-December/060008.html
_________________
There's nothing more cheaper for politicians than human life.


Last edited by an7h on Tue Sep 01, 2020 5:29 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46352
Location: 56N 3W

PostPosted: Sun Aug 30, 2020 11:01 pm    Post subject: Reply with quote

an7h,

If you have a complete copy of the git repo,
Code:
$ git log -- x11-drivers/xf86-video-sis
tells

Code:

commit fd9be3c3ed4a8d9ed4ebeefa9515d3d5a9b88e4f
Author:
Date:   Mon Jan 1 23:40:50 2018 +0100

    package.mask: Treeclean ancient X.org packages

commit 7f6edd1142b96268a92da3d8386eaf040e87d069
Author:
Date:   Sat Dec 9 14:47:48 2017 +0100

    x11-drivers: Update Manifest hashes.

commit d5b7a2b6f5668f910d981deaa6894f07b7ea81ca
Author:
Date:   Sat Mar 11 19:26:31 2017 -0800

    x11-drivers/xf86-video-sis: Drop old versions
I've removed the author names and emails to avoid email harvesters picking them up.

Anyway, if you checkout commit 7f6edd1142b96268a92da3d8386eaf040e87d069 then xf86-video-sis will be there. You can use that as a starting point for an ebuild.

If you are very lucky, just changing the version number in the ebuild file name and generating the manifest will be enough.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
an7h
n00b
n00b


Joined: 10 Jan 2018
Posts: 61

PostPosted: Mon Aug 31, 2020 4:37 pm    Post subject: Reply with quote

I was able to compile and install the driver by putting together the following ebuild:

/usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.12.0.ebuild

Code:
EAPI=5
inherit xorg-2

DESCRIPTION="SiS and XGI video driver"
SRC_URI="https://x.org/archive/individual/driver/xf86-video-sis-0.12.0.tar.bz2"
KEYWORDS="amd64 ia64 ppc x86 ~x86-fbsd"

RDEPEND=">=sys-libs/glibc-2.31-r6
>=x11-libs/pixman-0.40.0
>=x11-base/xorg-server-1.20.8-r1
>=x11-base/xorg-proto-2020.1"
DEPEND="${RDEPEND}"


Unfortunately I can run startx only as root. For some reason even if I recreate a user, it doesn't work anyway. Of course I messed something up, but I can't pinpoint exactly what. Most likely there's something wrong with the kernel configuration. I'll have to do a clean config again and see if it's going to work as intended. Either way the driver seems to work.
_________________
There's nothing more cheaper for politicians than human life.


Last edited by an7h on Mon Aug 31, 2020 4:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46352
Location: 56N 3W

PostPosted: Mon Aug 31, 2020 4:48 pm    Post subject: Reply with quote

an7h,

Xorg needs USE=suid to run for a normal user.
See the news item
Code:
2020-06-24  xorg-server dropping default suid


Try
Code:
eselect news list

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
an7h
n00b
n00b


Joined: 10 Jan 2018
Posts: 61

PostPosted: Mon Aug 31, 2020 4:53 pm    Post subject: Reply with quote

@NeddySeagoon
Actually, yeah that use flag isn't enabled for x11-base/xorg-server. Shouldn't it be enabled by default with the desktop profile? Anyway, I'll see if this is the source of my problem.

-- edit --
Oh, okay I'll read that...
_________________
There's nothing more cheaper for politicians than human life.
Back to top
View user's profile Send private message
an7h
n00b
n00b


Joined: 10 Jan 2018
Posts: 61

PostPosted: Mon Aug 31, 2020 6:07 pm    Post subject: Reply with quote

Everything works now. Thanks for the help. :o
_________________
There's nothing more cheaper for politicians than human life.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum