LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2014, 08:10 AM   #31
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Thumbs up


Quote:
Originally Posted by Didier Spaier View Post
Glad it worked. I'll erase the patched package I provided as I don't wan't to keep stuff I will soon hardly remember what it is.

But for future reference for people with the same issue, here is the URL of the patch and in case that disappears here is the patch itself:
Code:
diff --git a/src/atimach64render.c b/src/atimach64render.c
index ffde2cb..8d259fa 100644
--- a/src/atimach64render.c
+++ b/src/atimach64render.c
@@ -339,10 +339,13 @@ Mach64GetOrder(int val, int *shift)
 static Bool
 Mach64CheckTexture(PicturePtr pPict)
 {
-    int w = pPict->pDrawable->width;
-    int h = pPict->pDrawable->height;
+    int h,w;
     int l2w, l2h, level, i;
 
+    if (pPict->pDrawable == NULL)
+	    return FALSE;
+    w = pPict->pDrawable->width;
+    h = pPict->pDrawable->height;
     for (i = 0; i < MACH64_NR_TEX_FORMATS; i++) {
         if (Mach64TexFormats[i].pictFormat == pPict->format)
             break;
Instructions for use:
  • unpack this file from a Slackware mirror or installation media: source/x/x11/src/driver/xf86-video-mach64-<version>.tar.xz
  • check that the version of src/atimach64render.c in the unpacked archive be not already patched
  • patch it
  • re-pack the archive
  • run following command: src/x/x11/x11.SlackBuild driver xf86-video-mach64 to rebuild the package
  • upgrade using the new package
Thanks Mr. Didier. As usual, your help is very appreciated.

Cheers, and until next time (=
Dumdadum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed screen resolution and now can't see screen to change it back in Ubuntu lmb6832 Linux - Newbie 1 09-28-2010 10:52 PM
[SOLVED] Change screen resolution on slackware madsovenielsen Linux - Newbie 2 03-08-2010 02:03 PM
change screen resolution of xdm login screen in suse linux anon104 Linux - Desktop 2 04-02-2007 09:26 AM
Cannot change screen resolution (atir 3) in slackware 10 mmarkvillanueva Slackware 6 05-27-2005 06:31 PM
Can't change screen resolution on Slackware 9.1... luptinpitman Slackware 5 05-01-2004 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration