Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia-settings error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Tue Sep 13, 2005 10:58 pm    Post subject: Nvidia-settings error Reply with quote

hey, this is my first install and someones been helping me through this alot, but we are both stumped on this problem. I have already emerged X11, and was currently emerging nvidia-settings. After about 30 seconds, and error comes up which says the following:
Code:
/usr/include/X11/extensions/Xvlib.h:206: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:206: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:221: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:236: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:251: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:257: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:263: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:275: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:281: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:288: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:295: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:307: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:313: error: syntax error before '*' token
/usr/include/X11/extensions/Xvlib.h:317: error: syntax error before '*' token
/usr/include/X11/extensions/Xvlib.h:323: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:329: error: syntax error before "XvPortID"
/usr/include/X11/extensions/Xvlib.h:354: error: syntax error before "XvPortID"
make: *** [.objs/NvCtrolAttributes.o] Error 1

!!! ERROR: media-video/nvidia-settings-1.0.6629 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! Failed to build nvidia-settings
!!! If you need support, post the topmost build error, NOT this status message


it then dumps me back to the prompt.

Does anyone have any ideas? I noticed while searching the forum, that there is a newer nvidia-settings version. Would getting a later version help?

Thanks in advance,
Billiam
Back to top
View user's profile Send private message
1U
Guru
Guru


Joined: 21 Jul 2005
Posts: 319

PostPosted: Wed Sep 14, 2005 6:42 am    Post subject: Reply with quote

Pretty typical. I get syntax errors ALL the time from nvidia-settings. Except I just try to do nvidia-settings -l to restore my xorg color correction settings but it just randomly spits out weird errors. Can you post your ~/.nvidia-settings-rc and also the output you get when doing nvidia-settings -l? I stopped using nvidia-settings because it's absolute shit, I don't know why it works for some and doesn't work on 2 computers I've tried it on. I only used it to set my gamma, which turns out can be done by xorg instead. All the other junk it comes with isn't really helpful or necessary, such as the temperature of gpu which never changes.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Sep 14, 2005 7:50 am    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Wed Sep 14, 2005 11:09 am    Post subject: Reply with quote

ok, i'm not postive on how to open ~/.nvidia-settings-rc/ this is my first install and i'm a total noob remember? :? I did however, put everything in their default locations, if that helps. And i made the partitions according to the gentoo handbook . I did emerge nvidia-settings -l and it would've emerged "[ebuild N ] media-video/nvidia-settings-1.0.6629" Is this out of date?
Back to top
View user's profile Send private message
1U
Guru
Guru


Joined: 21 Jul 2005
Posts: 319

PostPosted: Wed Sep 14, 2005 3:55 pm    Post subject: Reply with quote

It's easy, just do cat ~/.nvidia-settings-rc and post the output. Also run the nvidia-settings -l command in your console. That basically loads your settings from the .nvidia-settings-rc file without actually opening the gui interface. It will either load the settings correctly or spit out a bunch of syntrax errors and chineese hieroglyphs. If it does give you the errors, post those here also.
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed Sep 14, 2005 4:15 pm    Post subject: Re: Nvidia-settings error Reply with quote

Billiam411 wrote:
[...] was currently emerging nvidia-settings. After about 30 seconds, and error comes up which says the following:


@1U: This Post is not about nvidia-settings not working, it's about failing to emerge nvidia-settings.

@Billiam411: You could try to emerge the newer version of nvidia-settings. If that doesn't succeed as well, post more of the error message you get - especially the line before all these /usr/include/X11... lines.
Back to top
View user's profile Send private message
1U
Guru
Guru


Joined: 21 Jul 2005
Posts: 319

PostPosted: Wed Sep 14, 2005 4:26 pm    Post subject: Reply with quote

Oh, I didn't notice because I assumed it was nvidia-settings configuration errors due to the shittiness of the program.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Wed Sep 14, 2005 7:15 pm    Post subject: Reply with quote

when i type in cat ~/.nvidia-settings-rc it says either: command not found, or cat: /root/.nvidia-settings-rc: No such file or directory, depending on if i'm in the root, or logged in, or what.

How do i go about getting the latest version of nvidia-settings? by the way, i can't get into fluxbox anymore, i could originally though. An error comes up saying the following (I assume it has to do with the nvidia-settings not working):
Code:
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 14 15:12:06 2005
(==) Using config file: "/etc/X11/xorg.conf"

Using vt 7
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the X.org Foundation support at http://wiki.X.Org for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

XIO: fatal IO error 104 (connection reset by peer on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining.

Can anyone help?
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Thu Sep 15, 2005 9:11 pm    Post subject: Reply with quote

It seems as if your nvidia module got lost. You did emerge nvidia-kernel and nvidia-glx, right? If you didn't, emerge them.
If you did, try
Code:
lsmod
and look for "nvidia" in the output. If it's there, do
Code:
opengl-update nvidia
and try to start fluxbox again.
Back to top
View user's profile Send private message
Patr|ck_
n00b
n00b


Joined: 09 Apr 2005
Posts: 69

PostPosted: Thu Sep 15, 2005 10:09 pm    Post subject: Reply with quote

Hey Billiam. Can you post your /etc/X11/xorg.conf here? I believe that's the problem... this started happening after we configured your xorg.conf with the auto-script, remember? :) I had your same problem when installing, and I believe I know the problem.

Also, cat ~/.nvidia-settings-rc errors because you're in root... you need to be as regular user.

Try emerging the newer version of nvidia-settings. You can do it with...

emerge =nvidia-settings-1.0.20050729

If you get an error about dependencies or something, type

echo "= media-video/nvidia-settings-1.0.20050729 ~x86" >> /etc/portage/package.keywords

And do it as root. Then try again. Hope it works!
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Thu Sep 15, 2005 11:36 pm    Post subject: Reply with quote

ok here's my xorg.conf:
(i'll do my best without the use of tabs)
Code:
Section "ServerLayout"
          Identifier       "X.org Configure"
          Screen      0   "Screen0" 0 0
          InputDevice    "Mouse0" "CorePointer"
          InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
             RgbPath        "/usr/lib/X11/rgb"
             ModulePath    "/usr/lib/modules"
             FontPath        "/usr/share/fonts/misc/"
             FontPath        "/usr/share/fonts/TTF/"
             FontPath        "/usr/share/fonts/Type1/"
             FontPath        "/usr/share/fonts/CID/"
             FontPath        "/usr/share/fonts/75dpi/"
             FontPath        "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
           Load   "extmod"
           Load   "dbe"
           Load   "record"
           Load   "xtrap"
           Load   "glx"
           Load   "type1"
           Load   "freetype"
EndSection

Section "InputDevice"
            Identifier    "Keyboard0"
            Driver        "kbd"
EndSection

Section "InputDevice"
            Identifier   "Mouse0"
            Driver       "mouse"
            Option       "Protocol" "auto"
            Option       "Device" "/dev/mouse"
EndSection

Section "Device"
           ### Available Driver options are:-
           ### Values: <i>: integer,  <f>: float,  <bool>: "True"/"False",
           ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
           ### [arg]: arg optional
           #Option      "DigitalVibrance"            # <i>
           #Option      "NoFlip"                         # [<bool>]
           #Option      "Dac8Bit"                      # [<bool>]
           #Option      "NoLogo"                       # [<bool>]
           #Option      "UBB"                            # [<bool>]
           #Option      "Stereo"                         # <i>
           #Option      "SWcursor"                    # [<bool>]
           #Option      "HWcursor"                    # [<bool>]
           #Option      "VideoKey"                    # <i>

***I got tired of writing the same thing over and over, so i'll put either i, bool, or str for them (all are #options)
NvAGP i
IgnoreEDID bool
NoDDC bool
ConnectedMonitor str
ConnectedMonitors str
TVStandard str
TVOutFormat str
RenderAccel bool
CursorShadow bool
CursorShadowAlpha i
CursorShadowXOffset i
CursorShadowYOffset i
UseEdidFreqs bool
FlatPanelProperties str
TwinView bool
TwinViewOrientation str
SecondMonitorHorizSync str
SecondMonitorVertRefresh str
MetaModes str
UseInt10Module bool
NoTwinViewXineramaInfo bool
NoRenderExtension bool
Overlay bool
CIOverlay bool
ForeceEmulatedOverlay bool
TransparentIndex i
OverlayDefaultVisual bool
NvEmulate i
NoBandWidthTest bool
CustomEDID-CRT-0 str
CustomEDID-CRT-1 str
CustomEDID-DFP-0 str
CustomEDID-DFP-1 str
CustomEDID-TV-0 str
CustomEDID-TV-1 str
TVOverScan # <f>
IgnoreDisplayDevices str
MultisampleCompatibility bool
RegistryDwords str
RegistryBinary str
NoPowerConnectorCheck bool
AllowDFPStereo bool
XvMCUsesTextures bool
HorizSync str
VertRefresh str
AllowGLXWithComposite bool
***continues***
Code:
Identifier  "Card0"
Driver           "nvidia"
VendorName  "nVidia Corporation"
BoardName    "NV11 [GeForce2 MX/MX400]"
BusID            "PCI:1:0:0"
EndSection
(that was one long section, let me tell you)
Code:
Section "Screen"
            Identifier "Screen0"
            Device    "Card0"
            Monitor    "Monitor0"
            SubSection "Display"
                        Viewport    0 0
                        Depth      1
            EndSubSection
            SubSection  "Display"
                        Viewport    0 0
                        Depth      4
            EndSubSection
            SubSection "Display"
                       Viewport    0 0
                        Depth      8
            EndSubSection
            SubSection "Display"
                       Viewport    0 0
                        Depth      15
            EndSubSection
            SubSection "Display"
                       Viewport    0 0
                        Depth      16
            EndSubSection
            SubSection "Display"
                       Viewport    0 0
                        Depth      24
            EndSubSection
EndSection




i try cat~/.nvidia-settings-rc at any prompt i could possibly be at, but i still get cat: /home/billiam/.nvidiai-settings-rc: No such file or directory

when i try and emerge 1.0.20050729 at root, i get the following error:
--- Invalid atom in /etc/portage/package.keywords: =
Calculation dependencies
!!! All ebuilds that could satisfy "=nvidia-settings-1.0.20050729" have been masked
!!! One of the following masked packages is required to complete your requiest:
- media-video/nvidia-settings-1.0.20050729 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availablitiy" in the Gentoo handbook.

And when i echo like what you said, i just get a > as a prompt, except nothing works when you type anything in, i assume its still going or something...

i typed in lsmod, but theres no nvidia in the output, only ipv6, 3c59x, 8139too, mii, rtc, and usbcore. I'm assuming thats a bad thing...
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Sep 16, 2005 8:18 am    Post subject: Reply with quote

I think your xorg.conf looks allright.
I think you should concentrate on getting fluxbox to work again, and care about nvidia-settings later.
fluxbox won't start because the nvidia module is not loaded. Try as root
Code:
modprobe nvidia
If it succeeds (i.e. produces no output), try to start fluxbox again. If it fails, please post the error message and the output of
Code:
dmesg
.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Fri Sep 16, 2005 11:06 am    Post subject: Reply with quote

the modprobe works, but i still get the same error.
the error says
Code:
(==) log file: "/var/log/Xorg.0.log"
(==) using config file: "/etc/X11/xorg.conf"

Using vt7
(EE) xf86OpenSerial: Cannot open device /dev/mouse
              No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for inpute device "Mouse0"
No core pointer

Fatal server error:
failed to initialize core devices

and then it goes on about where to get help and then under that,
Code:
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.


is my mouse screwed up?
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Fri Sep 16, 2005 11:14 am    Post subject: Reply with quote

i double checked my xorg.conf in the mouse area and here it is:
Code:
Section "ServerLayout"
            Identifier     "X.org Configured"
            Screen     0  "Screen0" 0 0
            InputDevice "Mouse0" "CorePointer"
            InputDevice "Keyboard0" "CoreKeyboard"
EndSection

and
Code:
Section "InputDevice"
             Identifier   "Mouse0"
             Driver       "mouse"
             Option       "Protocol" "auto"
             Option       "Device" "/dev/mouse"
EndSection
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Sep 16, 2005 11:27 am    Post subject: Reply with quote

Billiam411 wrote:
the modprobe works, but i still get the same error.
the error says
Code:
(==) log file: "/var/log/Xorg.0.log"
(==) using config file: "/etc/X11/xorg.conf"

Using vt7
(EE) xf86OpenSerial: Cannot open device /dev/mouse
              No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for inpute device "Mouse0"
No core pointer


It's a different error. The first one was about the server not being able to use the nvidia driver, this one is about your mouse. So issue 1 of 3 is solved. :)

Billiam411 wrote:
is my mouse screwed up?

Yes, it is. Try to change the line in the your InputDevice section in your xorg.conf from
Code:
Option       "Device" "/dev/mouse"
to
Code:
Option       "Device" "/dev/input/mice"
and try to start fluxbox.
Back to top
View user's profile Send private message
Patr|ck_
n00b
n00b


Joined: 09 Apr 2005
Posts: 69

PostPosted: Fri Sep 16, 2005 5:19 pm    Post subject: Reply with quote

Yes, that should work. And billiam, to avoid having to type "modprobe nvidia" every time at boot, type this (as root) to autoload it:

echo "nvidia" >> /etc/modules.autoload.d/kernel-2.6

And it will. Hopefully fluxbox starts for you now.

Billiam: My bad, I accidentally put a space in what you needed to echo. Open up /etc/portage/package.keywords, go down to "= media-video/nvidia-settings-1.0.20050729 ~x86" and remove the space in between "=" and "media". Then save it and try emerge =nvidia-settings-1.0.20050729.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Fri Sep 16, 2005 8:25 pm    Post subject: Reply with quote

when i try and emerge =nvidia-settings-1.0.20050729 (after the echo it says:
Code:
Calculating dependencies -
!!! All ebulids that could satisfy ">=media-video/nvidia-kernel-1.0.7664" have been masked.
!!! one of the following packages is required to complete your request:
- media-video/nvidia-settings-1.0.20050729 (masked by: ~x86 keyword)



**edit**
oh yeah, the mouse problem fixed the startx problem, thanks
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Sat Sep 17, 2005 7:14 pm    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Sun Sep 18, 2005 9:54 pm    Post subject: Reply with quote

anyone at all?
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Mon Sep 19, 2005 8:25 am    Post subject: Reply with quote

It look slike something went wrong with the unmasking Patr|ck_ suggested.
Please post the contents of /etc/portage/package.keywords.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Mon Sep 19, 2005 11:00 am    Post subject: Reply with quote

the package.keywords file looks like this:
Code:
=media-video/nvidia-settings-1.0.20050729 ~x86
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Mon Sep 19, 2005 12:20 pm    Post subject: Reply with quote

Looks allright. So try 1)
Code:
emerge -pv nvidia-settings
and if it says it would install nvidia-settings-1.0.20050729, install it with 2)
Code:
emerge nvidia-settings

If it wants to install another version, change the line in /etc/portage/package.keywords to
Code:
media-video/nvidia-settings ~x86

and use 1) to see if emerge would now install the desired version. If it does, use 2) to install it.
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Mon Sep 19, 2005 8:53 pm    Post subject: Reply with quote

if i type emerge -pv nvidia-settings or emerge nvidia-settings, either way i still get:
Code:
Calculating dependencies -
!!! All ebuilds that could satisfy ">=media-video/nvidia-kernel-1.0.7664" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/nvidia-kernel-1.0.7676 (masked by: ~x86 keyword)
- media-video/nvidia-kernel-1.0.7667 (masked by: ~x86 keyword)

For more information see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook.
!!!      (dependency required by "media-video/nvidia-settings-1.0.20050729" [ebuild])
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Mon Sep 19, 2005 10:25 pm    Post subject: Reply with quote

Sorry, didn't notice that emerge complains about nvidia-kernel being masked, not nvidia-settings...
So, add the following lines to /etc/portage/package.keywords:
Code:
media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86
.
Then try again:
Code:
emerge nvidia-settings
Back to top
View user's profile Send private message
Billiam411
n00b
n00b


Joined: 13 Sep 2005
Posts: 15
Location: SE Mich

PostPosted: Mon Sep 19, 2005 10:51 pm    Post subject: Reply with quote

I get the same error, except it is now
Code:
!!! All ebuilds that could satisfy "app-admin/eselect/opengl" have been masked

with the following masked packages required:
Code:
- app-admin/eselect-opengl-1.0.1 (masked by: ~x86 keyword)
- app-admin/eselect-opengl-1.0.2 (masked by: ~x86 keyword)

and the dependency is required by
Code:
"media-video/nvidia-glx-1.0.7676-r1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum