LinHES Forums
http://forums.linhes.org/

SOLVED - Via frontend to NVidia backend
http://forums.linhes.org/viewtopic.php?f=2&t=19449
Page 1 of 2

Author:  greg.white [ Mon Jan 19, 2009 9:03 pm ]
Post subject:  SOLVED - Via frontend to NVidia backend

Tried searching forums and Google for this - nada. If there's already a known solution, please post a link.

Just loaded up R5.5 on my back end, upgrade/replacement from Mythbuntu (long story). Back end is working great now, trying to get my diskless front end back up and running. As in the title, back end has NVidia chipset (all-in-one type) and front end is VIA (again, all-in-one type).

Used the script to create the front end, worked fine, except of course X11 needed the driver changed. I've used this method with success in earlier R5 releases - but R5.5 presents a new problem in that OpenGL is apparently enabled. The VIA has no SSE to support OpenGL, and I cannot find any way at all to turn it off. I turned off OpenGL on the back end, and destroyed/rebuilt the front end, to no effect. I cannot find any command-line switches to mythtv-setup to allow disabling OpenGL. I cannot change the database because there are no entries in the DB until I finish setup, and I can't find a config file in the nfsroot to hack up.

Ideas much appreciated. :)

Author:  tjc [ Mon Jan 19, 2009 9:12 pm ]
Post subject: 

The R5.5 Hints point you to how to do it using the tweaker... See Known Changes 1.2.3 for the directions.

Reading through the hints carefully is highly recommended. They cover a lot of ground, and try to provide the solution for most common install/upgrade issues.

Author:  greg.white [ Tue Jan 20, 2009 10:43 am ]
Post subject: 

I admit I missed that part of the docs - but it doesn't seem to help. My front end host is mythtv:

***
root@mythtv:~# mythtv-setup
NVIDIA OpenGL Driver requires CPUs with SSE to run.

The current CPU does not support SSE.
root@mythtv:~# twk_graphics.pl --implement low
root@mythtv:~# mythtv-setup
NVIDIA OpenGL Driver requires CPUs with SSE to run.

The current CPU does not support SSE.

***

Anything else I can try?

Author:  cecil [ Tue Jan 20, 2009 11:26 am ]
Post subject: 

Is your backend using the OpenGL render?

Author:  greg.white [ Tue Jan 20, 2009 2:54 pm ]
Post subject: 

It was originally. I turned it off and rebuilt the diskless frontend to no avail.

Author:  greg.white [ Tue Jan 20, 2009 6:52 pm ]
Post subject: 

That message seems to come from NVidia's libGL.so.1 - is it going to show up every time because the app is linked against it?

Author:  akulcsar [ Tue Jan 20, 2009 10:05 pm ]
Post subject: 

Which motherboard are you using in your frontend?

Author:  cecil [ Tue Jan 20, 2009 11:16 pm ]
Post subject: 

greg.white wrote:
That message seems to come from NVidia's libGL.so.1 - is it going to show up every time because the app is linked against it?
Nope, it wasn't built against nvidia libs.

Author:  greg.white [ Wed Jan 21, 2009 4:47 pm ]
Post subject: 

akulcsar wrote:
Which motherboard are you using in your frontend?


It's a VIA EPIA series. C3 gen CPU IIRC. It definitely predates the existence of SSE. :)

Author:  greg.white [ Fri Jan 23, 2009 10:52 pm ]
Post subject: 

Just in case only the back end can run it, I destroyed the diskless setup, tweaked graphics on the _back_ end, and rebuilt the front end. Still the same error from mythtv-setup as before.

Seems like as long as that libGL is present, the app will call it. Any workaround of any sort would be appreciated. Deleting the library of course results in an error.

If grabbing another libGL.so.1 from anywhere will help (even if it temporarily breaks display on the back end) I'm willing to try.

Thanks,

Author:  akulcsar [ Sat Jan 24, 2009 5:08 pm ]
Post subject: 

Well, I have an EPIA MII10000 board, which is a little newer than the original EPIA boards, but only by one generation. It took some tweaking to get to work with R5.5 but mine definitely works. As far as I know, others have gotten the original EPIA boards to work, too.

Care to post your xorg.conf file? My guess is there is something in there that needs to be modified.

Author:  greg.white [ Sat Jan 24, 2009 6:39 pm ]
Post subject: 

Pretty sure I'm on the right track. The last poster's query made me go digging into Xorg's log file - and what do I see?

(WW) "dbe" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "extmod" will not be loaded unless you've specified it to be loaded elsewhere.
(II) "extmod" will be loaded even though the default is to disable it.
(II) "dbe" will be loaded even though the default is to disable it.
(II) "glx" will be loaded even though the default is to disable it.

Xorg won't let me disable modules. Therefore, glx gets loaded, and presumably mythtv-setup and mythfrontend try to use the module if loaded.

I have:

Disable "thatmodule"

in xorg.conf for all the modules above, in Section "Module".

Googled around and read man pages and I just _cannot_ see how to force xorg to disable that module (or any other it feels like loading).

Author:  tjc [ Sun Jan 25, 2009 12:36 am ]
Post subject: 

Have you removed them from the "Module" section of your /etc/X11/xorg.conf file?

Author:  greg.white [ Sun Jan 25, 2009 1:29 pm ]
Post subject: 

Removing the lines changed the log entry slightly - instead of saying it should be loaded by default _and_ specified by the config, it only said loading by default.

Current modules config from xorg:

***
Section "Module"
Load "dbe" # Double Buffering Extension, very important.
Load "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
Disable "glx" # GLX Extension.
Load "freetype" # Freetype fonts.
Load "type1" # Type 1 fonts
Load "record" # Developer extension, usually not needed
Load "extmod" # This is okay, but if you look into "man xorg.conf"
***

I guess what I need is ReallyReallyDisable? ;)

Author:  tjc [ Sun Jan 25, 2009 2:51 pm ]
Post subject: 

Check to make sure that your /etc/X11/XvMCConfig file isn't pointing to the Nvidia library. There are also different choices based on your Via/S3 video type. What do these commands show?
Code:
lspci | grep VGA
cat /etc/X11/XvMCConfig
ls -l /usr/lib/lib*XvMC*.so.1

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/