Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old December 9th, 2007   #1
tech0007
Way Too Much Ubuntu
 
tech0007's Avatar
 
Join Date: Sep 2007
Beans: 207
Ubuntu 8.04 Hardy Heron
VIA UniChrome Pro Display Driver ver 0.8

VIA recently released their binary driver for their integrated graphics for linux. To install it:

1. I downloaded the driver from http://www.viaarena.com/default.aspx?PageID=2&Type=3.
2. Choose your distro.
3. Then pick Integrated Graphics.
4. Pick the appropriate driver category. If you are not sure which one, check this site http://www.viaarena.com/default.aspx...ticleID=68&P=5.
5. Click on "Click here to begin free download." Save it.
6. Unzip the file.
7. Make a backup of your xorg.conf.
8. CD to the directory where you unzipped the file to.
9. Execute the *.run file. example "sudo sh VIA_U710_UniChrome-GFX-v40072d.run"
10. Ctrl-Alt-Bckspce

That's it. You should be able to run wine and other 3D applications.

UPDATED: Openchrome driver in hardy repo works, and that's what I'm using right now.

Last edited by tech0007; April 13th, 2008 at 01:21 PM..
tech0007 is offline  
Old December 10th, 2007   #2
Matataki
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 11
Re: VIA UniChrome Pro Display Driver ver 0.8

The driver seems like it wants to work, but I get an odd error when I go to glxinfo or run any 3D app.

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

I have glx, dri, GLcore, and v4l enabled in my modules, so I'm not too sure what's up.

When I run s3utility, it claims my via_dri.so is "Old than 1.2.x0.62", so I'm thinking this may be the cause of my woes. Anybody know how I could possibly update my dri file easily?
Matataki is offline  
Old December 11th, 2007   #3
tech0007
Way Too Much Ubuntu
 
tech0007's Avatar
 
Join Date: Sep 2007
Beans: 207
Ubuntu 8.04 Hardy Heron
Re: VIA UniChrome Pro Display Driver ver 0.8

Quote:
Originally Posted by Matataki View Post
The driver seems like it wants to work, but I get an odd error when I go to glxinfo or run any 3D app.

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

I have glx, dri, GLcore, and v4l enabled in my modules, so I'm not too sure what's up.

When I run s3utility, it claims my via_dri.so is "Old than 1.2.x0.62", so I'm thinking this may be the cause of my woes. Anybody know how I could possibly update my dri file easily?
Hi,

If you get:

libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering

then you are trying to run as a user that doesn't have permission to use the DRI (root is the default allowed user). To let all users access the DRI, add the following section to your xorg.conf:

Section "DRI"
Mode 0666
EndSection

The binary driver works with the default kernel and libraries of gutsy/feisty. If you compiled your kernel or libraries, you may want to revert back to the default by installing them from the repos.

Last edited by tech0007; December 11th, 2007 at 04:14 AM..
tech0007 is offline  
Old December 11th, 2007   #4
Matataki
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 11
Re: VIA UniChrome Pro Display Driver ver 0.8

Ahh, I thought that was my problem as well when I was trying to diagnose it last night, but the DRI section in xorg.conf actually didn't help. I think it may have been because I have a K8M800, which isn't listed in the supported chipsets. A recompilation of the via_dri.so and my DRM files helped me though, I have partially working 3D now.

The only problem I have now is a lengthly list of :
libGL warning: 3D driver claims to not support visual 0x22
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29

... whenever I run a 3D app now. Glxgears and ZSNES work fine with OpenGL, but most 3D applications freeze up my system. I read on the openchrome website that many of the issues with unichrome and 3D are due to a lack of support in MESA, which I could believe as I used to have fully working 3D several Ubuntu releases back. I'm going to attempt to install an older version of MESA and see what happens.
Matataki is offline  
Old December 12th, 2007   #5
tech0007
Way Too Much Ubuntu
 
tech0007's Avatar
 
Join Date: Sep 2007
Beans: 207
Ubuntu 8.04 Hardy Heron
Re: VIA UniChrome Pro Display Driver ver 0.8

Hi,

According to VIA's list, K8M800 is supported and is using S3 Graphics UniChrome™ Pro IGP Series (the same as mine, I have P4M800 Pro). I can't use Picasa (google), Wine 0.9.50, any of the GL screensavers, nor F-Spot, but that was before I installed ver. 0.8.

I also get a lot of these messages:
(WW) AIGLX: 3D driver claims to not support visual 0x22
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29

but it doesn't freeze my system anymore. I'm trying to search for a solution to this one.
tech0007 is offline  
Old December 12th, 2007   #6
Matataki
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 11
Re: VIA UniChrome Pro Display Driver ver 0.8

After a bunch of reading around, it appears that the reason we have such difficulties with 3D is a result of the Unichrome branch not being maintained in Mesa. Apparently Via is pretty unsupportive, so it is difficult for development to take place for these cards.

My idea of rolling back the Mesa to an earlier version that Openchrome devs claimed was supported gave me less error messages, but I still experienced frequent freezes.

Sadly, it appears that there is little we can do in order to fix this problem.
Matataki is offline  
Old December 12th, 2007   #7
xanmoo
First Cup of Ubuntu
 
Join Date: May 2006
Location: Angoulême, France
Beans: 2
Dapper Drake Testing/
Re: VIA UniChrome Pro Display Driver ver 0.8

This post could be related to an Ubuntu bug filed at: https://launchpad.net/ubuntu/+source...g/43154/+index
----------------------------


I tried to install the via_ubuntu710_unichrome-v40072d-kernel-bin-_v0.80 driver . When the xserver is restarted, only the vesa driver is set with a 800x600 resolution.

my computer is an acer 1362LMI
lspci gives:
Code:
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0a.0 Ethernet controller: Linksys, A Division of Cisco Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01)
00:0b.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
00:0b.1 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
00:0b.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01
and uname -a:
Code:
Linux xanmoo 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
xanmoo is offline  
Old December 12th, 2007   #8
muusikko
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 16
Re: VIA UniChrome Pro Display Driver ver 0.8

For K8M800 there's also new driver, released in November 2007. But it's not a binary package, only source code is available.

http://www.viaarena.com/default.aspx...0&SubCatID=109
muusikko is offline  
Old December 12th, 2007   #9
Matataki
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 11
Re: VIA UniChrome Pro Display Driver ver 0.8

Hmm. I'll give compiling the source a try since the K8M800 is explicity listed there. I've got a feeling it'll do little for the 3D problems, but I guess it won't hurt. I'll update in a bit.

EDIT: The script really dislikes Ubuntu. I think I'll give up for a bit, as I doubt recompiling would fix the idea that Mesa is to blame for all of our 3D woes.

Last edited by Matataki; December 12th, 2007 at 12:25 PM..
Matataki is offline  
Old December 15th, 2007   #10
mahousaru
Gee! These Aren't Roasted!
 
mahousaru's Avatar
 
Join Date: Aug 2007
Beans: 200
Ubuntu Karmic Koala (testing)
Re: VIA UniChrome Pro Display Driver ver 0.8

I've got a PN800 and glxgears works fine, but it gives errors about AIGLX not being able to display a mode. GoogleEarth says my graphics card doesn't have enough memory even if I hard set the memory in device options. s3utility says it has 64MB available. The worst thing is xv video causes my lappie to freeze .

Only benefit apart from glxgears working is that wine doesn't free with it.

I reverted back to the ubuntu drivers, but now dri won't load at all. I tried removing the ubuntu via drivers totally and reinstalling but no joy. I also reinstalled every thing associated with mesa too.

Now in the log dri is no longer loaded and drm says it failed to load the kernel module via.

*Edit*
I read the PDF properly that came with it and at the very bottom is says that SAMM causes video to freeze, so I disabled the CRT device using 23utility and I can play back video with no freeze. Totem gives a green garbled screen that is far too large, but MPlayer and VLC work fine. Compiz also kinda of works, but I get a black box which can be reduced by making shadows = 1 (shame can't set it to 0).

Google Earth still refuses to believe that is has more the 16MB available

Last edited by mahousaru; December 16th, 2007 at 01:15 PM..
mahousaru is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:44 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry