You are not logged in.

#1 2008-07-23 23:53:28

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

[SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

when attempting to run an opengl application, I get this error:

GL_RENDERER: Mesa GLX Indirect


***********************************************************
You are using software Mesa (no hardware acceleration)!   
Driver DLL used: libGL.so.1
If this is intentional, add
       "+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

This appears without fail every other catalyst upgrade. The whole thing is that I don't want to have to rollback the kernel plus all of the upgrades I have riding on it.  Can I change the catalyst packagebuilds (catalyst plus utils) to work with kernel 2.6.26? I tried editing the packagebuild and compiling, but it took a shit on my lap. Please point me in the right direction (already cleaned the shit off meself).

Last edited by pyrrhicvictory (2008-08-03 05:53:24)

Offline

#2 2008-07-24 12:17:17

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

What does dmesg | grep fglrx say about it?

Offline

#3 2008-07-24 16:59:34

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Hello cerebral, always a pleasure.

dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol flush_tlb_page
fglrx: Unknown symbol flush_tlb_page

Offline

#4 2008-07-24 17:29:27

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

While googling around I found this patch for fglrx:

http://phorogit.com/index.php?p=fglrx-p … 9c529cafe4

You'd apply this patch in the catalyst PKGBUILD just before building.   Maybe give it a shot?

Offline

#5 2008-07-24 20:04:08

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

That patch is messed up.

Offline

#6 2008-07-24 20:20:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

As in it won't apply?   I know it's a pretty ridiculous-looking patch, with a ton of changes that aren't really changes...

Offline

#7 2008-07-24 20:59:26

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Granted that was possibly the worst description ever, but it absolutely refuses to patch. It is just a pain in the ass that this happens with every other catalyst release.

Offline

#8 2008-07-24 23:18:15

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Yeah, tell me about it.  They're generally a month behind kernel development, if we're lucky.

Offline

#9 2008-07-25 06:30:30

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Cerebral wrote:

I know it's a pretty ridiculous-looking patch, with a ton of changes that aren't really changes...

Haha that's an understatement!  I just glanced through the first 3 pages and I only saw ONE actual modification:

-#include <linux/init.h>
+//#include <linux/init.h>


thayer williams ~ cinderwick.ca

Offline

#10 2008-07-25 17:19:31

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Same issue with catalyst 8.7-1

Offline

#11 2008-08-01 13:47:15

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

In 2.6.26 the flush_tlb_pge is not more on smp_64.c. I'm using the following patch to make fglrx works

--- linux-2.6.26/arch/x86/kernel/tlb_64.c.orig    2008-07-13 18:51:29.000000000 -0300
+++ linux-2.6.26/arch/x86/kernel/tlb_64.c    2008-08-01 05:51:50.000000000 -0300
@@ -258,6 +258,7 @@
 
     preempt_enable();
 }
+EXPORT_SYMBOL(flush_tlb_page);
 
 static void do_flush_tlb_all(void *info)
 {

Offline

#12 2008-08-01 17:24:10

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

Kazuo how exactly would I apply that patch?

Offline

#13 2008-08-01 20:31:36

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

pyrrhicvictory wrote:

Kazuo how exactly would I apply that patch?

This is a kernel patch, you need to put a line to apply it on the PKGBUILD of kernel and rebuild it.

Take the PKGBUILD (and the associate files) from abs, edit the PKGBUILD and add something like this

patch -p1 -i $startdir/src/ati-catalyst-2.6.26.patch || return 1

(Of course you need to add a line for the md5sum, for source and save the patch in the PKGBUILD folder)

If you need more info http://wiki.archlinux.org/index.php/ABS

Offline

#14 2008-08-02 05:14:42

pyrrhicvictory
Member
From: Rradhat e UCK-se
Registered: 2007-12-21
Posts: 39

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

D'oh! I kept trying to patch catalyst!

I realized my error and applied the patch, which works perfectly. Please mark as solved.

Last edited by pyrrhicvictory (2008-08-02 05:15:51)

Offline

#15 2008-08-02 05:48:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Catalyst 8.6-2 borks opengl... the curse of the ATI

pyrrhicvictory wrote:

D'oh! I kept trying to patch catalyst!

I realized my error and applied the patch, which works perfectly. Please mark as solved.

To mark threads as solved, just edit your first post and the title will be editable from there.

Offline

Board footer

Powered by FluxBB