Bug 128274 - direct rendering broken on x11-drivers/xf86-video-sis
Summary: direct rendering broken on x11-drivers/xf86-video-sis
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Robert Noland
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-21 17:40 UTC by Paul B. Mahol
Modified: 2008-10-23 20:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul B. Mahol 2008-10-21 17:40:01 UTC
After introduction of modular Xorg, new stable xf86-video-sis version did not get bumped, causing direct rendering breakage.

For example starting glxinfo will dump following interesting message:

DRI driver expected DDX version 0-0.8.x but got version 0.7.1

Fix: 

+Index: xserver-xorg-video-sis-0.9.3/src/sis.h
+===================================================================
+--- xserver-xorg-video-sis-0.9.3.orig/src/sis.h	2007-09-19 20:28:17.000000000 +0200
++++ xserver-xorg-video-sis-0.9.3/src/sis.h	2007-09-19 20:30:47.000000000 +0200
+@@ -95,7 +95,7 @@
+ 	(((major) * 10000000) + ((minor) * 100000) + ((patch) * 1000) + snap)
+ #define XF86_VERSION_CURRENT XF86_VERSION_NUMERIC(4,3,99,902,0)
+ #endif
+-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,8,99,900,0)
++#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,8,99,900,0) || XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(4,0,0,0,0)
+ #define SISISXORG6899900
+ #endif
+ #if 0
How-To-Repeat: Try to enable direct rendering with xf86-video-sis on modular Xorg.
Comment 1 Stefan Walter freebsd_committer freebsd_triage 2008-10-22 09:24:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer.
Comment 2 Robert Noland freebsd_committer freebsd_triage 2008-10-22 16:55:22 UTC
Responsible Changed
From-To: freebsd-x11->rnoland

I'll take it.
Comment 3 Robert Noland freebsd_committer freebsd_triage 2008-10-22 16:59:29 UTC
Please try the patch
http://people.freebsd.org/~rnoland/sis-update.patch.

This updates the sis driver to 0.10.0

robert.
Comment 4 Paul B. Mahol 2008-10-23 17:02:11 UTC
On 10/22/08, Robert Noland <rnoland@freebsd.org> wrote:
> Please try the patch
> http://people.freebsd.org/~rnoland/sis-update.patch.
>
> This updates the sis driver to 0.10.0

Works fine, tested with glxinfo, glxgears, heretic, and mplayer.
Comment 5 Robert Noland freebsd_committer freebsd_triage 2008-10-23 18:15:57 UTC
On Thu, 2008-10-23 at 18:02 +0200, Paul B. Mahol wrote:
> On 10/22/08, Robert Noland <rnoland@freebsd.org> wrote:
> > Please try the patch
> > http://people.freebsd.org/~rnoland/sis-update.patch.
> >
> > This updates the sis driver to 0.10.0
> 
> Works fine, tested with glxinfo, glxgears, heretic, and mplayer.


ok, I'll work on getting this committed...

robert.
Comment 6 Robert Noland freebsd_committer freebsd_triage 2008-10-23 19:50:00 UTC
State Changed
From-To: open->closed

Port updated to 0.10.0
Comment 7 dfilter service freebsd_committer freebsd_triage 2008-10-23 19:52:22 UTC
rnoland     2008-10-23 18:48:32 UTC

  FreeBSD ports repository

  Modified files:
    x11-drivers/xf86-video-sis Makefile distinfo 
  Removed files:
    x11-drivers/xf86-video-sis/files patch-src_sis__dri.c 
  Log:
  Update to 0.10.0
  
  PR:             128274
  Reviewed by:    Paul Mahol
  Approved by:    garga (mentor)
  
  Revision  Changes    Path
  1.5       +2 -2      ports/x11-drivers/xf86-video-sis/Makefile
  1.2       +3 -3      ports/x11-drivers/xf86-video-sis/distinfo
  1.2       +0 -12     ports/x11-drivers/xf86-video-sis/files/patch-src_sis__dri.c (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"