LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-28-2017, 03:18 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Rep: Reputation: 93
Question Etnaviv xorg driver


Hi,

etnaviv now works on Beagle Board X15 :
https://eewiki.net/display/linuxonar...EtnavivProject

Seems that a patched kernel is currently needed, but anyway will this xorg module make his way into Slackware ARM ?
 
Old 03-01-2017, 08:29 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Original Poster
Rep: Reputation: 93
There's also a new X driver for etnaviv, with DRI3 support:
https://github.com/julbouln/xf86-video-armsoc-omap5
 
Old 03-01-2017, 10:04 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
Quote:
Originally Posted by Linux.tar.gz View Post
There's also a new X driver for etnaviv, with DRI3 support:
https://github.com/julbouln/xf86-video-armsoc-omap5
Which have you tested?
 
Old 03-01-2017, 06:26 PM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Original Poster
Rep: Reputation: 93
Not yet, unfortunately.
Seems serious, a guy from Ti gives a hand :
https://www.pyra-handheld.com/piperm...ch/001703.html
 
Old 03-02-2017, 01:02 PM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
ok, when you have tested it let me know which version and where the source is and it can be added.
 
Old 09-30-2018, 06:54 PM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Original Poster
Rep: Reputation: 93
I finally tested it and it works.
I'm on the latest -current on an OMAP5432.

In the kernel, I had to enable:
Code:
General setup  --->[*] Compile also drivers which will not load
Device Drivers  ---> Graphics support  ---> <M> ETNAVIV (DRM support for Vivante GPU IP cores)
and also[*]   enable ETNAVIV thermal throttling
I recompiled libdrm with --enable-etnaviv-experimental-api
I also used --enable-omap-experimental-api, but I'm not sure if it's really needed here.

Then I compiled and installed https://github.com/julbouln/xf86-video-armsoc-omap5

I used /etc/X11/xorg.conf.d/10-etnaviv.conf:
Code:
Section "Device"
    Identifier  "Builtin Default fbdev Device 0"
	Driver		"omap5"
	Option 		"DRICard" "0" # must point to the /dev/dri/cardX corresponding to omapdrm because detection can sometimes fail
	Option		"SoftEXA" "FALSE" # will disable etnaviv acceleration. CPU only EXA is actually faster, but let all the work to A15 core
EndSection
/var/log/Xorg.0.log :
Code:
[   996.358] (II) LoadModule: "omap5"
[   996.359] (II) Loading /usr/lib/xorg/modules/omap5_drv.so
[   996.360] (II) Module omap5: vendor="X.Org Foundation"
[   996.360]    compiled for 1.20.1, module version = 1.4.1
[   996.360]    Module class: X.Org Video Driver
[   996.360]    ABI class: X.Org Video Driver, version 24.0
[   996.360] (II) OMAP5: Driver for ARM TI OMAP5 compatible chipsets
[   996.360] (--) using VT number 7
...
[   997.106] (II) OMAP5(0): Viv2DEXA: Etnaviv driver found
[   997.106] (EE) OMAP5(0): ERROR: Viv2DEXA: Failed to create gpu
[   997.106] (II) OMAP5(0): Soft EXA mode
[   997.106] (II) EXA(0): Driver allocated offscreen pixmaps
[   997.106] (II) EXA(0): Driver registered support for the following operations:
[   997.106] (II)         Solid
[   997.106] (II)         Copy
[   997.106] (II)         Composite (RENDER acceleration)
[   997.106] (II) OMAP5(0): [DRI2] Setup complete
I have this:
Code:
[   997.153] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/armsoc_dri.so failed (/usr/lib/xorg/modules/dri/armsoc_dri.so: cannot open shared object file: No such file or directory)
[   997.153] (EE) AIGLX error: unable to load driver armsoc
But I'm done for today.

I can now play videos fullcreen and fullspeed with vanilla mplayer + sdl.
I also have a s**tload of video modes.

Last edited by Linux.tar.gz; 09-30-2018 at 06:56 PM.
 
Old 10-01-2018, 05:13 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
Quote:
Originally Posted by Linux.tar.gz View Post
In the kernel, I had to enable:
Code:
General setup  --->[*] Compile also drivers which will not load
Device Drivers  ---> Graphics support  ---> <M> ETNAVIV (DRM support for Vivante GPU IP cores)
and also[*]   enable ETNAVIV thermal throttling
These are already in the supplied armv7 kernel for -current.

Quote:
I recompiled libdrm with --enable-etnaviv-experimental-api
I've added this one.

Quote:
I also used --enable-omap-experimental-api, but I'm not sure if it's really needed here.
This is already in there. Perhaps you're looking at the Slackware x86 source tree?

Quote:
Then I compiled and installed https://github.com/julbouln/xf86-video-armsoc-omap5
Thanks - I'll look at this one.
 
1 members found this post helpful.
Old 10-01-2018, 12:26 PM   #8
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Original Poster
Rep: Reputation: 93
I was using the omap2plus_defconfig on a vanilla kernel.
Yup, I was on the x86 sources.
 
Old 10-01-2018, 06:30 PM   #9
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,415

Original Poster
Rep: Reputation: 93
I removed my stuff and installed yours (minus the kernel), it works perfectly.
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xorg driver for mouse Gordie Puppy 8 02-11-2016 10:54 AM
Synaptics driver on Xorg 7.3 rworkman Slackware 15 04-22-2008 06:52 PM
xorg radeon driver and tv-out adamis Linux - Hardware 2 11-15-2006 03:44 PM
Old ATI driver on Xorg 7? SadPenguin Linux - Hardware 0 11-08-2006 03:14 PM
xorg and nvidia driver Bzubi Linux - Hardware 6 01-03-2006 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration