dri + openchrome video drivers

Problems and successes with specific brands/models of computer video hardware
Post Reply
Message
Author
efge
Posts: 8
Joined: Fri 02 May 2008, 19:52

dri + openchrome video drivers

#1 Post by efge »

After many tries and compilation adventures i finally manage
to build a pet package that enable DRI and sets the Openchrome
video drivers in a simple way.

xorg_dri_openchrome-7.3-0.2.903.pet
Size: 8.05Mb
MD5: ee50921c107dfd7b1c1901471be2c9dc

I tested this package under a fresh 4.1.2 Puppy, and it works pretty well.
The pinstall.sh script was a bit tricky to write, and it may
not work for your configuration.
It surely may be improved too.
Feel free to try-hack-report.

Moreover:
- my primary goal was to enable direct rendering on my Microclient
(eBox 4300) nettop; it is amazing to finally use the full video
power of this little machine :)
- for an unknown reason, i had to force panel size to some value
to make X start: i choose a standard 1024x768 resolution;
you can fix the xorg.conf option to recover your previous resolution;
maybe the install script should detect the correct value before
writing the new file;
- i have included all the xorgs libs & modules that are strictly necessary
to enable DRI on Via chipsets; there is no other driver or modules
in this package.
- i let the printing libs but i am really not sure they are really
useful here; removing them could make a lighter pet.

For thoose who only would need the Openchrome drivers, i have put a dedicated pet:

openchrome-0.2.903-i486.pet
Size: 152Kb
MD5: c565cc9c54fe9a20ebe7d9b0364fcb41


I hope this will be of some use to the Puppy on via community :)

Thanks to Barry, the puppy team and the french nettop.fr forum for their support.

efge
http://www.mcpup.org
Last edited by efge on Sun 21 Dec 2008, 18:13, edited 1 time in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

It's good that you have Unichrome-3D working, but it's strange that you needed to compile the DRI Xorg drivers.
The full Xorg package from petget - xorg_xorg_full_dri-7.3.pet contains all DRI drivers and OpenGL libraries which should be necessary.

Several forum members (pakt and wescht at least) have had 3D DRI working on eBox computers in the past. For example -
http://www.murga-linux.com/puppy/viewtopic.php?t=16678

efge
Posts: 8
Joined: Fri 02 May 2008, 19:52

#3 Post by efge »

Sorry i should have mentioned that i used the libs in the xorg_xorg_full_dri-7.3.pet.
I did not mention Kirk that compiled this package (at least i think he did ?).
Thanks a lot to him...and to you tempestuous.
I started to dig video drivers problems in Puppy in May, when you told
somebody on the forum the whole process to activate DRI on Puppy.

In fact i already compiled the complete Xorg libs+mesa bunch.
This time i only used the regular xorg_xorg_full_dri-7.3.pet and xorg_xorg_full_dri_DEV-7.3.pet
to compile the last openchrome drivers.

There are only some details that complicate a little the compilation process like, say, a missing var in the xorg-server.pc
that prevent the openchrome configure script to enable dri and xv support
[ /usr/X11R7/lib/pkgconfig/xorg-server.pc should include
sdkdir=/usr/X11R7/include/xorg ]

I did nothing else than putting everything that is needed to activate dri rendering on via chipset in a single and lighter pet.

User avatar
yim
Posts: 167
Joined: Sat 01 Sep 2007, 05:24
Location: Blue Ridge Mtns

#4 Post by yim »

I installed your openchrome.pet with xorg, acceleration is awesome but lost the mouse on the screen, kind of waded my way around haphazardly until I check glxgears and wow, 900+ fps. Just don't have mouse on screen, any ideas. posting from this puppy right now 4.12

thanks for any help

yim

efge
Posts: 8
Joined: Fri 02 May 2008, 19:52

Buggy cursors

#5 Post by efge »

Yim,

Hardware rendered cursors are buggy in Openchrome on some chipsets.
The last svn version of the drivers may enable them on a wider range of chipsets.

Anyway you should try to add the following option
to your /etc/X11/xorg.conf:

Option "SWcursor" "true"

This enable software rendered cursors.
Slower and cpu hungry, but it should work.

Note that the other option "HWcursor" has the opposite behavior;
however if both are used, SWcursor has the priority.

I hope this will solve your problem.

User avatar
yim
Posts: 167
Joined: Sat 01 Sep 2007, 05:24
Location: Blue Ridge Mtns

#6 Post by yim »

efge:

I added the Option "SWcursor" "true"
like you said and sure enough I had my mouse cursor back
ran pretty good until I tried to add software then system froze
I don't know if it had anything to do with the Via Tech driver or not. But at least there's hope. Probably get an agp card someday or stick with my ati radeon7000VE , it works pretty good.

thanks again

yim

bondo08
Posts: 22
Joined: Sun 01 Feb 2009, 01:26

#7 Post by bondo08 »

Have you tried rotating the screen? If you have, does it resize appropriately?

I installed your pet on my eBox 4300 and Puppy 4.0 and issued the rotate ccw in xorg.conf but it seems as though the resolution isn't changing from 1024x768 to 768x1024 even though the screen does rotate. Or at least when I run Opera in full screen mode, it seems to run in 1024x768 because it goes off the screen and doesn't cover the bottom portion. Thanks.

rys61
Posts: 7
Joined: Thu 07 May 2009, 19:55

#8 Post by rys61 »

I have been using the openchrome driver on my HP 2133 and have experienced some problems with b43 and gxine.

When I found this thread:
https://bugs.launchpad.net/ubuntu/+sour ... bug/331952
I thought I would try and compile the latest svn and apply the patch:
http://www.openchrome.org/trac/attachme ... 2133.patch

I have never compiled before but managed to download the svn and apply the patch but got some error in make (I assumed there was some missing xorg files and tried installing xorg_xorg_full_dri-7.3.pet which was unsuccessful).

Must I do a harddrive install to be able to install xorg_xorg_full_dri-7.3.pet (the package manager complains about not enough room even if I download the pet to /mnt/home leaving the tmpfs alone for the unpacking - I am running from a USB flash disk with pup_save now)?

Ronny

Post Reply