http://linux.via.com.tw/support/begi...id=221&fid=482
Will try to make it work this afternoon, it seems you can enable compiz, if anyone has already install it please comment results
http://linux.via.com.tw/support/begi...id=221&fid=482
Will try to make it work this afternoon, it seems you can enable compiz, if anyone has already install it please comment results
Hi, just thought I'd give anybody a hand who needs it... I wrote a blog post on how to do it in Slackware... It's not necessarily for the faint of heart. Requires some fiddling with the kernel, and the guide needs changing slightly for Ubuntu. Anyway... Get the full skinny here:
http://n00bsys0p.wordpress.com/2008/...h-via-chrome9/
If anybody needs any help with Ubuntu, I have a happy as larry 8.04 system running the drivers, so just shout me. Also, the 8.10 Alpha driver didn't support the VN896 chipset, but there has just been a new beta version released a couple of days ago on http://linux.via.com.tw/, but I haven't tested it. I'd imagine as they've given it a beta tag, it probably supports the whole lot.
Anyway. Hope I've been of help to people.
X-T
Last edited by x-to-tha-t; December 5th, 2008 at 11:59 AM. Reason: Improving clarity.
Any results with the new driver yet?
I just tried it out! No success, only some strange stripes on the upper side of my display, but the System is still working. I heard some sounds of welcome screen and after CRTL+ALT+F1 and CRTL+ALT+DEL the system did a normal reboot.
I found a solution somewhere, it's a working xorg.conf (for me) but flash is lagging in full screen:
Not my work, found it on http://forum.ubuntuusers.de/topic/op...f#post-1661154Code:# xorg.conf (X.Org X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type "man xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg # commented out by update-manager, HAL is now used Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" EndSection # commented out by update-manager, HAL is now used Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" EndSection # commented out by update-manager, HAL is now used Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "0" Option "SHMConfig" "true" EndSection Section "Device" Identifier "Configured Video Device" Driver "openchrome" Option "ActiveDevice" "LCD,CRT" Option "NoDDCValue" "true" Option "XaaNoImageWriteRect" "true" Option "SWCursor" "true" EndSection Section "Monitor" Identifier "Configured Monitor" Option "PreferredMode" "1280x800" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x800" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" # commented out by update-manager, HAL is now used InputDevice "Synaptics Touchpad" EndSection
But I want to see a working driver of VIA wich contains 3D support.
Sorry if my english is to bad, I'm german but this Theard is exactly matching with my problem.
If you want 3d desktop effects on VIA Chrome9 alpha drivers be ready to see strange cursor in compiz, but without compiz glxgears get 1000 fps instead 150 on openchrome drivers.
There is 2 things, that you need to do:
1. Get GFX Drive and Source code of drm from http://linux.via.com.tw/support/downloadFiles.action (second needed if drm module don't load at boot, see in /var/log/Xorg.0.log to check it).
2. Install GFX Drivers and make drm module.
To make drm module (via_chrome9.ko) you need linux-headers, and root access.
To install gfx:
How to make drm and install read in readme in archive.Code:sudo ./vinstall
And last thing: add in xorg.conf in Section "Device" this line:
If you don't add this option you don't see your mouse cursor.Code:Option "SWCursor" "true"
No XaaNoImageWriteRect needed.
P.s. It works for me, I have Ubuntu 8.10 and P4M900 graphic chipset, but in drivers readme plenty of other chipsets supported.
Last edited by doubledrop; December 13th, 2008 at 08:45 PM.
@doubledrop: I checked out both and did exactly what the readme said... only some Stripes...
I dont even need compiz, but I need Flash without lagging in fullscreen... 3D would be even better
My Chipset: VN896
EDIT: In fact, I don't see anything, black with stripes, upperside my LCD maybe you thaught there are some over the Display
2nd EDIT: Sorry, didn't read your post carefully I'll check out the DRM source... thaught that would be did by vinstall... sorry
*hopefully* Push Vista away, forever (With Intrepid I can use my Wireless card P)
Last edited by gh1234; December 15th, 2008 at 08:45 PM.
For VIA CN896/VN896/VX800 chipset
Made some advances, can get direct rendering and compiz working, have the famous cube, this what I have done but still encounter big problems that are being studied now:
A) From http://linux.via.com.tw/support/downloadFiles.action download the
Unified GFX driver Ver 85a-44597 for Ubuntu 8.10(02Dec08) (3.4M) unpack cd to the driver directory and sudo ./vinstall
B) From http://linux.via.com.tw/support/downloadFiles.action download the Stable Chrome9 DRM source for kernel 2.6.27(12Dec08) (31.2K) and follow these instructions:
(1) Copy drm-via_chrome9-2.6.27-85a-44411-src.tar.gz to your working directory
(2) Extract the package
# tar -zxf drm-via_chrome9-2.6.27-85a-44411-src.tar.gz
(3) Enter the directory and build the source
# cd drm-via_chrome9-2.6.27-85a-44411-src
# make
(4) Backup the VIA chrome9 DRM module
# cd /lib/modules/'uname -r'/kernel/ubuntu/via_chrome9
# mv via_chrome9.ko via_chrome9.ko.bak
(5) Replace VIA DRM module by the new one
# cp ~/drm-via_chrome9-2.6.27-85a-44411-src/via_chrome9.ko /lib/modules/'uname -r'/kernel/ubuntu/via_chrome9/ NOTE ONCE COPIED YOU HAVE TO CHANGE PERMISSION “sudo chmod 644 via_chrome9.ko
# depmod -a
NOTE I HAD TO ADD via_chrome9 to /etc/modules since the driver did not load at boot up.
C) Download the following xorg.conf and replace the original in /etc/X11 ftp://ftp.mangohabanero.com/public/u...2008/xorg.conf
Reboot
(7) Check whether VIA chrome9 DRM module is loaded
# lsmod |grep via_chrome9
If you get the output as:
drm 86056 1 via_chrome9
that means the VIA chrome9 DRM module is successfully loaded.
and ps aux | grep rendering GUALA YES, YES, YES
Problems that have to be solved:
a) When in appearance special effects I put medium or high cannot watch movies in totem (I hear the sound but get black screen)
b) Webcam does not work says cannot work at a resolution of 2048x2048 this happens even if none special effects are enabled.
Last edited by obrer; December 16th, 2008 at 09:45 AM.
Thanks for workaround, peoples! Its working for me (Fujitsu Siemens Amilo La 1703, Ubuntu 8.10, Via UniChrome9 on K8N890CE)
OK... got the Alternate Disc now
Hopefully...
But one more question... First sometimes Intrepid Live Disc starts on my Computer with Vesa, but only if I press CRTL+ALT+F1 on startup, now X freezes... don't know
Hope the workaround works... thanks!
EDIT: No success... tried everything... step by step and got this strange stripes... I took a photo, but openchrome fails now, too and I'm writeing this post with my Nintendo Wii ~~
Any ideas?
2nd EDIT: Logile sais (EE only): 3 times Couldn't open "dev/video2"
The last II: VIACloseScreen, ipVIAGraphicInfo->dwXServerEnabled = FALSE
3rd: lsmod Ιgrep via_chrome9
via_chrome9 32908 0
drm 86056 via_chrome9
there are two?!
4: OK now useing Vista ^^ here is the "screenshot" without screen...
Last edited by gh1234; December 16th, 2008 at 09:06 PM.
I did exactly what obrer said in his post, but it didn't work.
After rebooting the laptot (Via VN896 video card) the screen flashes before the login screen and it locks... when I move back my original xorg.conf (using openchrome driver) I can't get things normal again, as usually I got when trying these beta drivers.
I've tried to comment the line via_chrome9 in /etc/modules and again nothing.
Is there anything I can do to fix this driver or at least get my old driver back?
Thanks in advance...
Go to the directory where you unpacked the Unified GFX driver Ver 85a-44597 for Ubuntu 8.10(02Dec08) (3.4M) and sudo ./vuninstall this should remove the via driver and leave things as before. Also comment out de via_chorme9 from /etc/modules if needed reinstall the xserver-xorg-video-openchrome
Did you use sudo when:
(1) Copy drm-via_chrome9-2.6.27-85a-44411-src.tar.gz to your working directory
(2) Extract the package
# tar -zxf drm-via_chrome9-2.6.27-85a-44411-src.tar.gz
(3) Enter the directory and build the source
# cd drm-via_chrome9-2.6.27-85a-44411-src
# sudo make
(4) Backup the VIA chrome9 DRM module
# sudo cd /lib/modules/'uname -r'/kernel/ubuntu/via_chrome9
# sudo mv via_chrome9.ko via_chrome9.ko.bak
(5) Replace VIA DRM module by the new one
# sudo cp ~/drm-via_chrome9-2.6.27-85a-44411-src/via_chrome9.ko /lib/modules/'uname -r'/kernel/ubuntu/via_chrome9/ NOTE ONCE COPIED YOU HAVE TO CHANGE PERMISSION “sudo chmod 644 via_chrome9.ko
# sudo depmod -a
Also please try this new xorg.conf file I am trying out now: this was downloaded from http://www.hp2133guide.com/forums/vi...r=asc&start=20
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, and then by hand by Who
# Thanks to mikez's docs and examples for teaching me!
Section "Device"
Driver "via"
VendorName "VIA Tech"
BoardName "via"
Identifier "Configured Video Device"
Option "ActiveDevice" "LCD" #required to make the resolution correct without RandR
Option "DPMS"
Option "PanelID" "3" #SUSE uses this, seems not to be reqd
Option "UseRandR12" # I WANT to use this (it works, almost)
#Option "HWCursor" # Doesn't restore cursor
Option "SWCursor" # Does restore cursor
EndSection
Section "Monitor"
Identifier "Monitor"
ModeLine "720x480" 26.7 720 736 808 896 480 481 484 497
ModeLine "720x576" 32.7 720 744 816 912 576 577 580 597
ModeLine "800x480" 29.58 800 816 896 992 480 481 484 497
ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497
ModeLine "856x480" 31.7 856 872 960 1064 480 481 484 497
ModeLine "960x600" 45.98 960 1000 1096 1232 600 601 604 622 -HSync +Vsync
ModeLine "1000x600" 48.07 1000 1040 1144 1288 600 601 604 622 -HSync +Vsync
ModeLine "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531
ModeLine "1088x612" 52.95 1088 1128 1240 1392 612 613 616 634 -HSync +Vsync
ModeLine "1152x720" 67.32 1152 1208 1328 1504 720 721 724 746 -HSync +Vsync
ModeLine "1200x720" 70.18 1200 1256 1384 1568 720 721 724 746 -HSync +Vsync
ModeLine "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622 -HSync +Vsync
ModeLine "1280x720" 74.6 1280 1341 1474 1688 720 721 724 746
ModeLine "1280x768" 80.1 1280 1344 1480 1680 768 769 772 795
ModeLine "1360x768" 85.50 1360 1392 1712 1744 768 783 791 807 +HSync +Vsync
ModeLine "1366x768" 85.86 1366 1440 1584 1800 768 769 772 795 -HSync +Vsync
ModeLine "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
ModeLine "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087
ModeLine "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
ModeLine "1600x1024" 136.36 1600 1704 1872 2144 1024 1025 1028 1060 -HSync +Vsync
ModeLine "1792x1344" 202.97 1792 1920 2112 2432 1344 1345 1348 1391 -HSync +Vsync
ModeLine "1856x1392" 218.57 1856 1992 2192 2528 1392 1393 1396 1441 -HSync +Vsync
ModeLine "1920x1080" 172.9 1920 2043 2249 2578 1080 1081 1084 1118
ModeLine "2048x1536" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -HSync +Vsync
ModeLine "720x480" 34.9 720 752 824 928 480 481 484 502
ModeLine "720x576" 42.6 720 760 832 944 576 577 580 602
ModeLine "848x480" 41.0 848 880 968 1088 480 481 484 502
ModeLine "856x480" 41.3 856 888 976 1096 480 481 484 502
ModeLine "1024x512" 53.3 1024 1072 1176 1328 512 513 516 535
ModeLine "1280x768" 103.0 1280 1360 1496 1712 768 769 772 802
ModeLine "1440x1050" 160.0 1440 1536 1696 1952 1050 1051 1054 1096
ModeLine "1280x768" 118.5 1280 1368 1504 1728 768 769 772 807
ModeLine "1440x1050" 184.5 1440 1544 1704 1968 1050 1051 1054 1103
ModeLine "848x480" 47.4 848 888 976 1104 480 481 484 505
EndSection
Section "Screen"
Monitor "Monitor"
SubSection "Display"
Modes "1280x768"
Virtual 1280 768
Depth 24
EndSubSection
Identifier "Default Screen"
Device "Configured Video Device"
Option "ForceLCD" "true"
Option "ActiveDevice" "LCD"
Option "VideoOnDevice" "LCD"
Option "SetMpegFBNumber" "true"
EndSection
Section "Module"
Load "glx"
Load "dri"
Load "extmod"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "ServerLayout"
#Option "RandR" "False"
Identifier "main"
Screen "Default Screen"
EndSection
Last edited by obrer; December 17th, 2008 at 05:50 PM.
Bookmarks