LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2008, 09:41 AM   #1
guitarfella
Member
 
Registered: Dec 2004
Location: Australia
Distribution: Slackware, Fedora 3
Posts: 53

Rep: Reputation: 15
OpenGL only works correctly as root


I'm actually trying to get beryl to run on Slackware 12.0 over XFCE. Beryl runs fine when your logged in as root (i was just testing) and when running as my user account, it doesn't behave as expected. I figured it was some sort of device permission thing. here is some info:

Code:
ls -l /dev/nvidia*

crw-rw-rw- 1 root root 195,   0 2008-11-20 01:16 nvidia0
crw-rw-rw- 1 root root 195, 255 2008-11-20 01:16 nvidiactl
can anyone help? thank you
 
Old 11-20-2008, 03:01 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
First try adding the other users to the 'video' group (you can manually edit /etc/group). If that still doesn't work, try changing the group ownership of the devices to 'video'. If that works, you may need to edit the udev rules to ensure that the appropriate video devices have group membership in 'video'.
 
Old 11-20-2008, 10:29 AM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by guitarfella View Post
I'm actually trying to get beryl to run on Slackware 12.0 over XFCE.
Beryl is old, and has merged with compiz (into compiz-fusion) more than 1 year ago. I'd recommend to try compiz-fusion instead of beryl.

Quote:
Originally Posted by guitarfella View Post
Beryl runs fine when your logged in as root (i was just testing) and when running as my user account, it doesn't behave as expected. I figured it was some sort of device permission thing. here is some info:

Code:
ls -l /dev/nvidia*

crw-rw-rw- 1 root root 195,   0 2008-11-20 01:16 nvidia0
crw-rw-rw- 1 root root 195, 255 2008-11-20 01:16 nvidiactl
can anyone help? thank you
Access right are correct, I have exactly same rights on those files. Try newer compiz-fusion instead of beryl.
 
Old 11-20-2008, 12:55 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
If it works without compiz, then you probably have correct permissions. And the appropriate X conf entry. If not you might be missing the below from your xorg.conf.

Section "DRI"
Group "video"
Mode 0666
EndSection

Along with the user in the video group. And a driver that supports acceleration. As I wonder if ATI's drivers support 3D acceleration with compiz yet?
 
  


Reply



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
opengl is not displaying video correctly using ATI drivers kcorupe Linux - Desktop 4 08-07-2007 01:08 PM
Mp3 doesn't play in Amarok correctly but works in mPlayer duryodhan Linux - Desktop 2 11-03-2006 04:37 AM
Slamd64 Xorg only works correctly as root niztec Linux - General 3 09-21-2005 09:45 PM
OpenGL Architecture - How it all Works? swinchen Programming 7 05-14-2004 07:23 AM
OpenGL problem, works for root, not users Dusan Linux - Hardware 4 06-22-2003 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 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