[Openchrome-users] Direct Rendering VT8378 KM400

Cinolt cinolt.yk
Mon Mar 28 21:32:09 PDT 2011


After updating to 9-CURRENT I was able to get Xorg to report (II) CHROME(0):
direct rendering enabled.

The problem is now whenever I try to open anything OpenGL-related everything
just stops responding, forcing me to reboot manually. I have no idea where
the problem is, or how to begin searching how to solve it.

On Mon, Mar 28, 2011 at 12:29 AM, Mario Rugiero <mrugiero at gmail.com> wrote:

>
>
> 2011/3/28 Cinolt <cinolt.yk at gmail.com>
>
>> To be honest I'm not exactly sure how to do that. I have installed
>> libdrm-2.4.12, dri-7.4.4. In the FreeBSD kernel configuration file there's
>> these options for DRM:
>>
>> # Direct Rendering modules for 3D acceleration.
>> device        drm        # DRM core module required by DRM drivers
>> device        i915drm        # Intel i830 through i915
>> device        mach64drm    # ATI Rage Pro, Rage Mobility P/M, Rage XL
>> device        mgadrm        # AGP Matrox G200, G400, G450, G550
>> device        r128drm        # ATI Rage 128
>> device        radeondrm    # ATI Radeon
>> device        savagedrm    # S3 Savage3D, Savage4
>> device        sisdrm        # SiS 300/305, 540, 630
>> device        tdfxdrm        # 3dfx Voodoo 3/4/5 and Banshee
>> options     DRM_DEBUG    # Include debug printfs (slow)
>>
>> None of which seems to be OpenChrome. I loaded the drm device and
>> restarted Xorg to no avail.
>>
>> Does the Linux kernel been tested to support DRM for OpenChrome? If direct
>> rendering only depends on the kernel then I wouldn't mind reinstalling to a
>> Linux system.
>>
>>
>> On Sun, Mar 27, 2011 at 11:00 PM, Mario Rugiero <mrugiero at gmail.com>wrote:
>>
>>>
>>>
>>> 2011/3/27 Cinolt <cinolt.yk at gmail.com>
>>>
>>>>  Hello, I'm having trouble setting up direct rendering on my system.
>>>> VIA Technologies, Inc. VT8378 [S3 UniChrome] Graphics Adapter (KM400)
>>>> FreeBSD 8.2
>>>> i386
>>>> OpenChrome 0.2.904
>>>> Xorg 7.5
>>>>
>>>> $ grep rendering /var/log/Xorg.0.log
>>>> (II) CHROME(0): direct rendering disabled
>>>> $ glxinfo | grep render
>>>> direct rendering: yes
>>>> OpenGL renderer string: Software Rasterizer
>>>>
>>>> glxinfo outputs yes for direct rendering but it also reports software
>>>> rasterizing
>>>>
>>>> The Supported hardware section in the OpenChrome website documentation
>>>> says that the KM400 supports 2D and 3D acceleration. What further steps do I
>>>> need to take to correctly set up direct rendering?
>>>>
>>>> Thanks for any help.
>>>>
>>>> _______________________________________________
>>>> openchrome-users mailing list
>>>> openchrome-users at openchrome.org
>>>> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>>>> Main page:
>>>> http://www.openchrome.org
>>>> Wiki:
>>>> http://wiki.openchrome.org
>>>> User Forum:
>>>> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>>>>
>>> If I didn't get it wrong, direct rendering depends on the kernel, so you
>>> should check if FreeBSD has an updated DRM module for OpenChrome.
>>
>>
>>
>> _______________________________________________
>> openchrome-users mailing list
>> openchrome-users at openchrome.org
>> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>> Main page:
>> http://www.openchrome.org
>> Wiki:
>> http://wiki.openchrome.org
>> User Forum:
>> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>>
> Yes, the Linux kernel has an up to date DRM module. I'm not sure if this
> will work on FreeBSD, but you can try to check if you have mounted (or try
> to mount it) the module. According to the FreeBSD's wiki, it should be named
> viadrm.
> Try first in the command line this:
> lsmod
> Look for the viadrm module, if you can't find it (or the command does not
> work, as I'm not sure if it is or not Linux specific), you can try with:
> modprobe viadrm
> The latter you should try it as root.
> Anyway, if you are not using 9-current branch, it seems (according, again,
> to the wiki) it is not supported. But I'm not sure, I don't find clear
> enough what it says (I'm not a native english speaker, as you probably
> noticed).
> This is the wiki:
> http://wiki.freebsd.org/DriDrivers?highlight=%28openchrome%29
> Good luck.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20110329/c2e45a85/attachment-0001.html



More information about the Openchrome-users mailing list