Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-kernel , gentoo-sources and xorg-x11 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Sun Jul 09, 2006 2:25 pm    Post subject: nvidia-kernel , gentoo-sources and xorg-x11 [solved] Reply with quote

Hi

In my system are installed nvidia-kernel-1.0.6629-r6, gentoo-sources-2.6.14-r5, and xorg-x11-6.8.2-r8.

Every time I update the gentoo-sources, e.g. gentoo-sources-2.6.16-r12, actually I need to upgrade the nvidia-kernel, e.g. nvidia-kernel-1.0.8762-r1 . Doing that makes that the nvidia-driver does not work despite it compiles without any problem. I get the error complaining about no screen.
To upgrade the gentoo-souces and the nvidia-kernel do I have to upgrade xorg-x11 to 7.0.1 too?
I followed the different threads in the forums and I did not find anyone who got the same issue than I.
I have a nvidia GeForce FX 5200 card. I read the nvidia howto and my card is listed as a working card with the new nvidia drivers.

Suggestions?


thank you

Serge


Last edited by serge on Wed Jul 12, 2006 11:52 am; edited 1 time in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Sun Jul 09, 2006 2:59 pm    Post subject: Reply with quote

no screen means the config in /etc/X11/xorg.conf has probably been overwritten.
Rul of thumb cure is run
xorgconfig and re-configure it.
If it's too technical the are a number of docs available on the gentoo home site re configureing X and kde and gnome and such
_________________
idella4@aus
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Sun Jul 09, 2006 7:05 pm    Post subject: Reply with quote

Hi Idella4

My xorg.conf file has not been overwritten....
Running xorgconfig would be OK if we were talking about the nv driver provided by xorg.
The changes we have to apply for the nvidia driver are done manually.

Serge
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Sun Jul 09, 2006 7:29 pm    Post subject: Reply with quote

re upgrading, no you don't have to. I had the xorg-1.6. with everything working allright but without the nvidia driver.

You get an error complaining about no screens but does that mean you can't get a graphical X at all?
I upgrade only as an attempt to straighten out the nvidia setup.
I eventually did but only by going outside portage and getting a driver and installer from the nvidia site.
I don't know what's happenned to the nvidia-kernel package. there are posts everywhere about it.
_________________
idella4@aus
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Mon Jul 10, 2006 5:28 am    Post subject: Reply with quote

I dont get X working at all when upgrading the nvidia-kernel: no screens found.
So I am stuck with my nvidia-kernel 1.0.6629-r6 and gentoo-sources-2.6.14-r5 versions.
If I want to upgrade to the last stable gentoo-sources version, I have to upgrade to a newer version of the nvidia kernel driver. Doing this, I lose X or I have to use the nv driver provided by xorg.
My question is to know if the newest nvidia-kernel versions only work with the xorg-x11-7.0 packages.

Serge
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Jul 10, 2006 5:59 am    Post subject: Reply with quote

No you do not need to upgrade to xorg-7.0

Post the exact error from /var/log/Xorg.0.log and the video sections of your /etc/X11/xorg.conf file for better help.
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Tue Jul 11, 2006 7:04 pm    Post subject: Reply with quote

Hi

Here is the part of Xorg.0.log showing the error with the 1.0.8762 nvidia version:
Code:
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "on"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "RenderAccel" "on"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "1"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5200 at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.34.20.75.00
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:1:0:0:
(--) NVIDIA(0):     LG L1720P (DFP-0)
(--) NVIDIA(0): LG L1720P (DFP-0): 135.0 MHz maximum pixel clock
(--) NVIDIA(0): LG L1720P (DFP-0): Internal Single Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0):
(WW) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(WW) NVIDIA(0):     will be used as the requested mode.
(WW) NVIDIA(0):


With the working 1.0.6629 version, the Xorg. log file shows:
Code:
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "on"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "RenderAccel" "on"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "1"
(**) NVIDIA(0): Enabling experimental RENDER acceleration
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(--) NVIDIA(0): Linear framebuffer at 0xE8000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5200
(--) NVIDIA(0): VideoBIOS: 04.34.20.75.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): DFP-0
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 32 bpp: 400 MHz


If I understand, despite I did not make any change in my xorg.conf file, with the new nvidia driver, my LG L1720P is detected but gets wrong values.

How can I make it work??


Thanks

Serge
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Tue Jul 11, 2006 7:59 pm    Post subject: Reply with quote

serge
two things, mb more.
you posted one out of two. how about the xorg.conf. It looks a bit like
Code:


Section "Device"
    Identifier  "video-nv"
    Driver      "nvidia"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "video-nv"
    Monitor     "monitor1"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection


however. point two is most interesting.
The portions you have posted exemplify my grief with portage. and you have exactly the same thing.
Version 1.0.8762 is the latest and greatest.
Version 1.0.6629 is the antiquated thing from the past that supplied by portage doesn't work in a current kernel.
I know; I spent two days trying to make it fit.

So do yourself a favour; go to http://www.nvidia.com/object/linux_display_ia32_1.0-8762.html
and grab it. Kill X and get to a console and install. Make sure ofcourse to get the one for your model and not mine.
All I can say is it's the only way I got any sensible outcome with nvidia and kde.

Then you will almost be there. If you can't get it right, as the previous helper prompted,
POST xorg.conf. It's the first thing I pointed to and after 7 posts it's still not on display.
_________________
idella4@aus
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Wed Jul 12, 2006 6:13 am    Post subject: Reply with quote

Hi

After having re-configured X with X -configure I made it work.
But i have only one resolution 1280x1024

the new xorg.conf is:
Code:

SubSection "Display"
      ViewPort 0 0
      Depth     24
   EndSubSection


If I add the resolution like in the old config file
Code:

SubSection "Display"
      Depth     24
      Virtual 1024 768
   EndSubSection

it does not work, and X does not start.

How can i get the 1024x768?
Because I need this resolution and loer ones to get fullscreen in some games...

Serge
Back to top
View user's profile Send private message
Brainfart
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 123
Location: Redmond, WA, USA

PostPosted: Wed Jul 12, 2006 6:54 am    Post subject: Reply with quote

Maybe copy the format that was posted above? :roll:
Code:
SubSection "Display"
   Depth 24
   Modes "1280x1024" "1024x768"
   ViewPort 0 0
EndSubSection


I have a GeForce FX 5700, and I've not had any problems running the ~x86 nvidia-kernel and -glx
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Jul 12, 2006 7:56 am    Post subject: Reply with quote

Brainfart !!!!

count your blessings

Serge
you are almost there.
notice the difference between your entry and mine. I don't use virtual; mind you some time I should try it out.
however, to have the choice, model your entry by mine.

your entry nominates ONE virtual setting. mine nominates a choice of three modes. It all adds up.
If X doesn't start, that's to do with settings in other places.
_________________
idella4@aus
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Wed Jul 12, 2006 11:51 am    Post subject: nvidia-kernel , gentoo-sources and xorg-x11 [SOLVED] Reply with quote

Hi

Thas correct: changing from
Code:
 Virtual 1024 768

to
Code:
 Modes "1024x768"

made it work perfectly.

Thanks to everyone.

Serge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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