LinuxQuestions.org
Review your favorite Linux distribution.
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 11-27-2014, 04:26 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Rep: Reputation: 43
xf86-video-opentegra


Has anyone tried using xf86-video-opentegra on their nvidia tegra based systems ?
 
Old 12-26-2014, 02:59 AM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Original Poster
Rep: Reputation: 43
It compiled but can't get X to use it at it complains it cant fond stuff in /dev/dri/
Not sure how to fix it but I suspect that newer kernel is required with different DRM interface.
Damn it looks like that next step up from 3.0 is 3.8 ... but that requires a whole load more of work (uboot and gpt) and my AC100 is not collaborating with some hardware issues !!!

Anyone else had a go ?

This is how I compiled and packaged it:
Code:
git clone --depth 1 https://github.com/grate-driver/xf86-video-opentegra
cd xf86-video-opentegra
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --datadir=/usr --docdir=/usr/doc
make
mkdir -p /usr/src/ac100/pkg
make install DESTDIR=/usr/src/ac100/pkg
cd /usr/src/ac100/pkg
makepkg -l y -c y ../xf86-video-opentegra-0.6.0-arm-1.tgz

Last edited by louigi600; 12-26-2014 at 03:01 AM.
 
Old 12-27-2014, 04:42 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 louigi600 View Post
Has anyone tried using xf86-video-opentegra on their nvidia tegra based systems ?
I've built the opentegra driver and it'll be in -current today.
You can test it :-)

Last edited by drmozes; 12-27-2014 at 05:06 AM.
 
Old 12-28-2014, 01:08 AM   #4
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Original Poster
Rep: Reputation: 43
If I try the one in current I get this:
Code:
[   709.092] (II) LoadModule: "opentegra"
[   709.093] (II) Loading /usr/lib/xorg/modules/drivers/opentegra_drv.so
[   709.093] (II) Module opentegra: vendor="X.Org Foundation"
[   709.093]    compiled for 1.15.2, module version = 0.6.0
[   709.094]    Module class: X.Org Video Driver
[   709.094]    ABI class: X.Org Video Driver, version 15.0
[   709.098] (EE) module ABI major version (15) doesn't match the server's version (14)
[   709.098] (II) UnloadModule: "opentegra"
[   709.098] (II) Unloading opentegra
[   709.098] (EE) Failed to load module "opentegra" (module requirement mismatch, 0)
[   709.098] (II) LoadModule: "fbdev"
Ok I'm using a -current package on 14.1 ... maybe it's normal.

If I use the one I built this is what I get:
Code:
[  1026.428] (II) LoadModule: "opentegra"
[  1026.428] (II) Loading /usr/lib/xorg/modules/drivers/opentegra_drv.so
[  1026.429] (II) Module opentegra: vendor="X.Org Foundation"
[  1026.429]    compiled for 1.14.3, module version = 0.6.0
[  1026.429]    Module class: X.Org Video Driver
[  1026.429]    ABI class: X.Org Video Driver, version 14.1
[  1026.429] (II) opentegra: Open Source Driver for NVIDIA Tegra: kms
[  1026.429] (--) using VT number 7

[  1026.448] (WW) Falling back to old probe method for opentegra
[  1026.449] (EE) open /dev/dri/card0: No such file or directory
[  1026.449] (EE) No devices detected.
[  1026.449] (EE) 
Fatal server error:
I'm going to try running current from SD without upgrading the system on internal flash just to see if the -current package works.
 
Old 01-01-2015, 03:10 AM   #5
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Original Poster
Rep: Reputation: 43
Tried also with current but I get the same "open /dev/dri/card0: No such file or directory" error.
 
Old 01-01-2015, 05:04 AM   #6
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 louigi600 View Post
Tried also with current but I get the same "open /dev/dri/card0: No such file or directory" error.
Do you have DRI in your Kernel?



http://wiki.gentoo.org/wiki/Xorg/Har...What_is_DRI.3F
 
Old 01-01-2015, 06:15 AM   #7
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Original Poster
Rep: Reputation: 43
I'll look closer in the kernel setup asap ... but CONFIG_DRM is set to m in /proc/config.gz
and it don't help much if I load it manually ... maybe the old 3.0 kernels had incomplete DRM/DRI ?
 
Old 01-01-2015, 05:12 PM   #8
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 louigi600 View Post
I'll look closer in the kernel setup asap ... but CONFIG_DRM is set to m in /proc/config.gz
and it don't help much if I load it manually ... maybe the old 3.0 kernels had incomplete DRM/DRI ?
Code:
[    61.105] (II) LoadModule: "opentegra"
[    61.106] (II) Loading /usr/lib/xorg/modules/drivers/opentegra_drv.so
[    61.109] (II) Module opentegra: vendor="X.Org Foundation"
[    61.109]    compiled for 1.15.2, module version = 0.6.0
[    61.109]    Module class: X.Org Video Driver
[    61.109]    ABI class: X.Org Video Driver, version 15.0

root@pepa:~# file /dev/dri/card0
/dev/dri/card0: character special
'X -configure' doesn't find anything though:
Code:
Number of created screens does not match number of detected devices.
  Configuration failed.
(EE) Server terminated with error (2). Closing log file.
but I don't know that it would anyway since I don't believe that the required driver for the Trimslice is in the kernel.

Last edited by drmozes; 01-02-2015 at 04:05 AM. Reason: I meant the kernel driver not the opentegra X11 driver
 
  


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
Bug in xf86-video-vesa TheLexx Linux - Desktop 2 02-18-2014 01:55 PM
xf86-video-intel-2.21.15 slow for anybody? TommyC7 Slackware 7 09-10-2013 02:14 PM
[SOLVED] What happened to xf86-video-fbdev ? RandomTroll Slackware 4 12-08-2011 06:55 PM
xf86-video-intel-alternate witek Slackware 4 05-05-2010 09:08 PM
HELP with xf86-video-intel 2.1.0 nosn4me03 Linux - Newbie 1 08-11-2007 05:01 PM

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

All times are GMT -5. The time now is 08:12 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