[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

no direct rendering with via (s3) unichrome and XFree86 4.3.0.1



I can't seem to get direct rendering working. Here is my system info:

Linux 2.6.17.1
Debian 3.1r2.
XFree86 4.3.0.1
Relevant PCI info:
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown
device 3108 (rev 01) (prog-if 00 [VGA])
        Subsystem: Elitegroup Computer Systems: Unknown device 1828
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
        Memory at e8000000 (32-bit, prefetchable) [size=64M]
        Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: <available only to root>

The file pci.ids says that device 3108 is an S3 Unichrome Pro VGA Adapter. I think the 'via' module supports this.

This is what I did to try to get DRM working on my system:

** modprobe via
** Edit /etc/X11/XF86Config-4 and change this:

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "vesa"
EndSection
  to this:
Section "Device"
        Identifier      "Generic Video Card"
        Driver          "via"
EndSection

When I did the "modprobe via," dmesg said this:
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[drm] Initialized via 2.7.4 20051116 on minor 0

And lsmod shows that drm and via are loaded.

But when I try to start X, it aborts with the message "(EE) no devices
detected."

How do I get my hardware to do DRI?




Reply to: