Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
via video chipset - DRI acceleration
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Tue Jun 22, 2004 2:12 am    Post subject: via video chipset - DRI acceleration Reply with quote

i have a via chipset video driver, currently using Driver "vesa" in my xf86onfig file. i don't get acceleration for 3d and such. lspci lists this as:

Code:

01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)


i have via kernel support compiled in. i tried via as module in xfree (4.3.0 r5), but there is no via_drv on my system. i'm using the grp packages from 2004.1 if that matters. this is an averatec laptop. any help gettijng drm working on this would be most appreciated.

thanks!
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Tue Jul 27, 2004 2:01 am    Post subject: Reply with quote

i'm still w/o dri support. does anyone have dri support w/ this card and can point me to a place for directions on how i can too? i have an averatec laptop with this chipset (3200 series).
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Tue Jul 27, 2004 3:22 am    Post subject: Reply with quote

VIA integrated video is poorly supported. AFAIK open source DRI doesn't exist yet, but there is some old binary-only driver RPMs available on the VIA website. Be warned that they're only for 2.4 kernels and Mandrake and Red Hat distributions.

Even normal accelerated 2D X11 graphics don't work very well. I tried using the VIA video on my motherboard for a while but eventually gave up because the xfree/xorg drivers were just too buggy and didn't even support the xvideo extension. Use the "via" x11 driver to try it out, but you'll have to be using xorg since xfree only includes the driver with their post-license-change releases (ie, not available in portage). You can also download the separate binary module from xfree86's independent driver release page.

I bought a cheap Radeon and have been very happy.
Back to top
View user's profile Send private message
spikkle
n00b
n00b


Joined: 04 Jun 2003
Posts: 40
Location: Tech-Armpit (GA - USA)

PostPosted: Wed Jul 28, 2004 1:06 am    Post subject: via onboard video - Savage ProSavageDDR K4M266 Reply with quote

works fine here... make sure you set
Code:

Option "UseBIOS" "False"


Here is my XF86Config (Xfree 4.3.x)

Code:

Section "ServerLayout"
   Identifier     "XFree86 Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   Load  "dri"
   Load  "glx"
   Load  "xtrap"
   Load  "type1"
   Load  "speedo"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
#   Option       "Protocol" "PS/2"
   Option       "Protocol" "MouseManPlusPS/2"
   Option       "Device" "/dev/psaux"
   Option       "Buttons" "4"
   Option      "ZAxisMapping" "4 5 6 7"
   Option      "EmulateWheel" "1"
   Option      "EmulateWheelButton" "4"
   Option      "EmulateWheelInertia" "12"
EndSection

Section "Monitor"
   #DisplaySize     300   230   # mm
   Identifier   "Monitor0"
   VendorName   "NOK"
   ModelName    "Nokia 447Za"
   Option       "DPMS"
   HorizSync 31.5-79.1
   VertRefresh 40-120
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "HWCursor"              # [<bool>]
        #Option     "SWCursor"              # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        Option     "UseBIOS"   "False"            # [<bool>]
        #Option     "LCDClock"              # <freq>
        #Option     "ShadowStatus"          # [<bool>]
        #Option     "VideoRAM"              # <i>
        #Option     "CrtOnly"               # [<bool>]
        #Option     "TvOn"                  # [<bool>]
        #Option     "PAL"                   # [<bool>]
        #Option     "ForceInit"             # [<bool>]
   Identifier  "Card0"
   Driver      "savage"
   VendorName  "S3 Inc."
   BoardName   "[ProSavageDDR K4M266]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 16
   SubSection "Display"
      Depth     1
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     4
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     8
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     15
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     16
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes   "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection

[/code]
_________________
Spikkle,

It's like what forms at the corners of your mouth while you sleep, only softer, wetter, and with more substance.
Back to top
View user's profile Send private message
jgongo
n00b
n00b


Joined: 06 Feb 2004
Posts: 8

PostPosted: Mon Aug 09, 2004 3:05 pm    Post subject: Reply with quote

Mark,

I have the same problem here, and spikkle solution didn't work for me... have you found any other solution to this?

Best regards
Jose
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Tue Aug 24, 2004 4:37 pm    Post subject: Reply with quote

no, i'm still w/o dri on my laptop. lspci no longer gives the output in the OP, but of course the hw has never changed. i don't know if it's a newer kernel that has problems or if it's newer lspci.

movies play ok on the dvd player so, i'm not too concerned, but it would be nice to get games working too.
Back to top
View user's profile Send private message
sbastion
n00b
n00b


Joined: 31 Aug 2004
Posts: 20
Location: /home

PostPosted: Sun Sep 05, 2004 9:47 pm    Post subject: Reply with quote

- bump -

I have the same laptop (Averatec 3200 series) with the same problem :/
Everything works wonderfully, including the wireless, everything except video acceleration. I'm using the standard vesa driver for now, but boy is it slow :/
Looking around for a linux 2.6 kernel driver has so far returned no results :( .

Bastion
Back to top
View user's profile Send private message
sec
n00b
n00b


Joined: 06 Sep 2003
Posts: 12

PostPosted: Sun Sep 05, 2004 10:00 pm    Post subject: Reply with quote

The website of an open-source Unichrome driver is at http://unichrome.sourceforge.net/ . Good luck getting it installed, though. :(

I found a DRM kernel patch, although I can't remember where. The filename is via-v4l-1.4a-drm.patch.gz, if you want to google for it. (The patch is against kernel 2.6.0, but I've successfully patched kernels as late as 2.6.5 with it.)
Back to top
View user's profile Send private message
jgongo
n00b
n00b


Joined: 06 Feb 2004
Posts: 8

PostPosted: Mon Sep 06, 2004 7:20 am    Post subject: Reply with quote

sec,

I tried to patch a 2.6.7 kernel using that patch, the kernel compiled but when I try to load the module I get errors about some undefined symbols. Do you have any idea about what could be causing this error?

Best regards
Jose
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Tue Sep 14, 2004 12:18 pm    Post subject: Reply with quote

good to hear i'm not in this boat alone. hopefully someday we'll get easy dri for this chipset. anyone else out there having success/troubles?

also, for some reason lspci doesn't report the details i posted above on this chipset. maybe it's just that i updated my kernel or something that caused this. ... ssh isn't turned on on the machine now so i can't check the exact output but will edit later.

update: here's the output now from lspci:
Code:

0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3205
0000:00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198
0000:00:09.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 03)
0000:00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller (rev 20)
0000:00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
0000:00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown device 7205 (rev 01)


strange that so much there is unknown device. will try the ebuild mentioned.


Last edited by mlybarger on Tue Sep 14, 2004 8:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
herbie
Guru
Guru


Joined: 09 Oct 2002
Posts: 319
Location: London UK

PostPosted: Tue Sep 14, 2004 12:30 pm    Post subject: Reply with quote

There is an ebuild in bugzilla that adds the unichrome drivers to xorg (with a unichrome USE flag). The versions are a bit outdated but you should be able to bump these as required. It got rejected from portage and won't be added until these drivers get merged into xorg. They are still not in xorg 6.8.0 but maybe in the next release.
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Wed Sep 15, 2004 1:15 am    Post subject: Reply with quote

the ebuild needs some work. it does't apply cleanly to what is in portage. it's building now for me, so we'll see how it goes. i don't really know what do to once i build it though.
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Thu Oct 28, 2004 6:58 am    Post subject: Reply with quote

i noticed the 2.6.9-mm series contains support for unichrome acceleration (currently partial, 3d only for root?). i ihaven't tried it yet.

i tried it on my averatek laptop, and didn't get it working. the module loaded ok, but when i switched my xorg.xonf to use the via driver instead of the vesa driver i got a black screen restarting xorg. it appeared to be up and running though, because i then switched my xorg.confg back to use the vesa driver and was able to use ctrl+alt+backspace to restart the xserver.

maybe the via driver doesn't like some settings i have for the screen? using the vesa driver with the via kernel module loaded, logged in as root, did not show any hw acceleration (using glxinfo said dri off).

i dunno. would be nice to have this issue licked.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Nov 03, 2004 11:50 pm    Post subject: Reply with quote

mark_lybarger wrote:
i noticed the 2.6.9-mm series contains support for unichrome acceleration (currently partial, 3d only for root?). i ihaven't tried it yet.

>>snip<<
i dunno. would be nice to have this issue licked.


Agreed, it would be very nice to get this resolved. I am currently using vesa driver too. I have not checked to see about 2.6.9-mm sources. I am currently using vanilla 2.6.9 sources. I guess I should try it .

C
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum