LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 05-15-2005, 12:08 PM   #1
Astro
Member
 
Registered: Jan 2003
Location: Albany, NY
Distribution: Slackware
Posts: 654

Rep: Reputation: 30
libgl opengl rendering problem


having a strange issue with some opengl things... if i run xscreensaver to start the daemon i get this error and when i run itunes via wine i get the same error....both seem to run a bit slow... any ideas? if this needs moved to a more suitable forum please do so mods...

Code:
bash-3.00$ /opt/cxoffice/bin/wine --cx-app itunes.exe                    
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Code:
bash-3.00$ xscreensaver -nosplash &
[1] 17335
bash-3.00$ libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Heres some info that may be needed...

Code:
Lsmod output
bash-3.00$ lsmod
Module                  Size  Used by
smbfs                  62200  4 
snd_pcm_oss            58532  1 
snd_mixer_oss          19712  2 snd_pcm_oss
uhci_hcd               30480  0 
ehci_hcd               29572  0 
i2c_sis630              6668  0 
i2c_core               18064  1 i2c_sis630
joydev                  8256  0 
sis900                 17796  0 
ohci_hcd               19208  0 
snd_trident            40868  2 
snd_ac97_codec         75104  1 snd_trident
snd_pcm                95112  3 snd_pcm_oss,snd_trident,snd_ac97_codec
snd_timer              22148  1 snd_pcm
snd_page_alloc          8324  2 snd_trident,snd_pcm
eth1394                17800  0 
gameport                3712  1 snd_trident
snd_util_mem            3968  1 snd_trident
snd_mpu401_uart         6528  1 snd_trident
snd_rawmidi            20896  1 snd_mpu401_uart
snd_seq_device          7564  2 snd_trident,snd_rawmidi
snd                    55684  10 snd_pcm_oss,snd_mixer_oss,snd_trident,snd_ac97_codec,snd_pcm,snd_timer,snd_util_mem,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7136  3 snd
ohci1394               31108  0 
ieee1394               93624  2 eth1394,ohci1394
evdev                   7680  0 
pcmcia                 17540  2 
yenta_socket           19456  0 
pcmcia_core            48448  2 pcmcia,yenta_socket
ide_scsi               13956  0
Code:
lspci output
bash-3.00# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:0a.0 CardBus bridge: Texas Instruments PCI4410 PC card Cardbus Controller (rev 02)
00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire Controller (rev 02)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)

Last edited by Astro; 05-15-2005 at 12:11 PM.
 
Old 05-15-2005, 12:34 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Looks like a permissions issue. Let's confirm that first.
Open a terminal and try these commands:

Code:
xhost+
su
DISPLAY=:0.0
glxgears
If it's not a permissions issue, you should see the same message (Operation Not Permitted) from the glxgears command. It'll also run slow.

If you don't see that message, then DRI is working fine, permissions are just borked somewhere. You should have this section in your /etc/X11/xorg.conf:
Code:
Section "dri"
    Mode 0666
EndSection
Also, try:
Code:
ls -l /dev/dri/card0
You want to see rw-rw-rw or rw-rw---- for the permissions. If it's the latter, your user needs to be in the video group. If it's the former, you should be good to go.

--Shade
 
Old 05-15-2005, 12:40 PM   #3
Astro
Member
 
Registered: Jan 2003
Location: Albany, NY
Distribution: Slackware
Posts: 654

Original Poster
Rep: Reputation: 30
Ok to cover all bases I added the stuff to xorg.conf, checked to make sure that /dev/dri/card0 is rw-rw-rw, and my user is in the video group. Seems to have covered it and gotten rid of the errors. Maybe its just a crappy card and even with the 64mb shared of mem it still runs slow, for instance when switching workspaces in enlightenment, seems to sort of frame over...

in xorg.conf i have the following enabled for the card...would these have any bearing on that?

Option "HWcursor" "true"
Option "RenderAcceleration" "true"
Option "ShadowFB" "true"
Option "DRI" "true"
 
Old 05-15-2005, 12:50 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Sorry, I'm not really familiar with your card; I can't give you any bearing on whether or not those options have to do with it. I'd try messing with the hardware cursor,
perhaps add an Option "AGPMode" "4" line to make sure you're running it at the right speed.

--Shade
 
Old 05-15-2005, 12:54 PM   #5
Astro
Member
 
Registered: Jan 2003
Location: Albany, NY
Distribution: Slackware
Posts: 654

Original Poster
Rep: Reputation: 30
Very good, I'll see what I can find on the card somewhere....by default it sets the card at 2x mode.... maybe thats all the higher it can do. Wonder if theres a way to see all the supported options for it. Thanks for the info.
 
Old 05-15-2005, 06:34 PM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Code:
man sis
Will give you a nice list of options.

--Shade
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libGL is out of sync with DRI - no direct rendering ATI m9 cor67393 Slackware 5 08-21-2005 12:13 PM
opengl slower then software rendering Youri Linux - Hardware 3 05-21-2005 04:57 AM
OpenGL rendering firenze Fedora 0 11-18-2004 10:04 AM
Low frame rate in OpenGL software rendering. clb Linux - Laptop and Netbook 5 09-07-2004 05:12 PM
mandrake 10.opengl direct rendering etc tjb Linux - Newbie 1 05-21-2004 10:19 AM


All times are GMT -5. The time now is 06:30 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration