LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-12-2005, 03:32 PM   #1
mewgle
Member
 
Registered: Mar 2005
Distribution: Mandrake 10.1
Posts: 58

Rep: Reputation: 15
mandrake 10.1 GLX problem


Hello,
I have just installed Mandrake 10.1 on my laptop with an NVIDIA GeForce4 448 go, and installed the nvidia drivers from their website. It works in the sense that the NV logo shows up when logging in. But, glxinfo | grep direct returns
Code:
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive.  Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
My XF86Config file is:
Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
#    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "synaptics"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/psaux"
    Option "MaxSpeed" "0.12"
    Option "MinSpeed" "0.06"
    Option "BottomEdge" "4200"
    Option "SHMConfig" "on"
    Option "LeftEdge" "1700"
    Option "FingerLow" "25"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "FingerHigh" "30"
    Option "VertScrollDelta" "100"
    Option "TopEdge" "1700"
    Option "RightEdge" "5300"
    Option "AccelFactor" "0.0010"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x800"
    HorizSync 31.5-90
    VertRefresh 60
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # Dell D800 and few Inspiron (16/10) 1280x800
    ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848
    
    # Dell D800 and few Inspiron (16/10) 1680x1050
    ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103
    
    # Dell D800 and few Inspiron (16/10) 1920x1200
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1024 768
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "AlwaysCore"
    Screen "screen1"
EndSection
Sorry for the long post, but I am not sure how else to post this.

Thanks in advance for your help.
 
Old 03-12-2005, 09:23 PM   #2
mewgle
Member
 
Registered: Mar 2005
Distribution: Mandrake 10.1
Posts: 58

Original Poster
Rep: Reputation: 15
Unhappy

Does anybody know?
 
Old 03-12-2005, 09:32 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i don't know about mandrake but this might help
it's what i did anyway (might help you troubleshoot)
first wherever is a file you load modules at boot there put nvidia if it's not already
then
look for a folder like (mine is) /etc/udev/permissions.d
in there should be a few files
start with the one with the lowest numbers and see if there is a section about the video devices
i put for mine
Code:
agpgart:root:video:0660
nvidia[0-9]*:root:video:0660
nvidiactl:root:video:0660
660 is rw-rw----
don't change yours if it's similar and if it's not there look in the other files first i think before adding
if you change things of course make backups of the changed files

ok -- for me this results in at boot udev creats
cd /dev
ls -l | grep nvidia
crw-rw---- 1 root video 195, 0 2005-03-12 09:53 nvidia0
crw-rw---- 1 root video 195, 255 2005-03-12 09:53 nvidiactl

ok - so the group "video" for me has read write permissions on the device
so in /etc/group
i add myself "user" to the end of the video group line
video:x:12:user
log all the way out and back in and it worked
 
Old 03-12-2005, 09:45 PM   #4
mewgle
Member
 
Registered: Mar 2005
Distribution: Mandrake 10.1
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the reply. The output of ls -l | grep was identical to yours. As far as your suggestion with /etc/group im not too sure what exactly to do.

Here is what it says in /etc/group:
Code:
root:x:0:
bin:x:1:
daemon:x:2:messagebus
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:
news:x:13:
uucp:x:14:
man:x:15:
floppy:x:19:
games:x:20:
cdrom:x:22:
utmp:x:24:
usb:x:43:
cdwriter:x:80:
audio:x:81:
video:x:82:
users:x:100:
nogroup:x:65534:
rpm:x:101:
xgrp:x:102:xfs
ntools:x:103:
ctools:x:104:
vcsa:x:69:
rpc:x:70:
xfs:x:71:
messagebus:x:72:
postfix:x:73:
postdrop:x:105:postfix
apache:x:74:
rpcuser:x:75:
slocate:x:106:
ftp:x:76:
postgres:x:77:
mog:x:501:
My username for mdk is mog by the way.
I am still a linux
 
Old 03-12-2005, 11:32 PM   #5
mewgle
Member
 
Registered: Mar 2005
Distribution: Mandrake 10.1
Posts: 58

Original Poster
Rep: Reputation: 15
Ok, i reread what you wrote and figured that you just added the username to the end of the video: line and it works now. Thank you for your help..
 
  


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
Problem with glx juniox Linux - General 3 09-24-2005 05:25 PM
GLX problem virii Linux - Hardware 23 07-26-2004 09:35 PM
WTF! Mandrake 10.0 installation removed GLX The MCP Mandriva 2 06-02-2004 10:11 PM
glx probs with mandrake 9.2 (q3demo, RTCW) help! mute Mandriva 3 11-22-2003 07:22 PM
(II) [GLX]: Initializing GLX extension - X wont go hydro Linux - Software 3 02-20-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:24 AM.

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