You are not logged in.

#1 2010-02-19 20:28:16

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

[SOLVED] Nvidia, xorg problem

Hi.

I have Nvidia GeForce4 MX 4000 graphic card. And i dont know which driver to use. Untill now i was  without xorg.conf file and it worked. But now I want to use opengl or python-opengl so I runned nvidia-xconfig. It has generated new xorg.conf file  and nothing is working now. Even if I delete this xorg.conf file it's not working... When I run startx i get this:

dsc02304.jpg

Can someone help me? I really don't know what to do.

Last edited by Lea (2010-02-20 15:36:06)

Offline

#2 2010-02-19 20:59:04

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: [SOLVED] Nvidia, xorg problem

make sure you have nvidia-96xx & nvidia-96xx-utils installed.  (drivers for GeForce4 MX 4000)  also make SURE you have kernel26-headers installed.  try to generate a new xorg.conf with  nvidia-xconfig as root. 
If no joy from that post /var/log/Xorg.0.log and /etc/X11/xorg.conf.


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#3 2010-02-19 21:32:16

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: [SOLVED] Nvidia, xorg problem

I installed nvidia-96xx & nvidia-96xx-utils. I don't have kernel26-headers but I have kernel-headers.   Pacman can't find kernel26-headers. I've runned nvidia-xconfig as a root. Still not working. So here are my xorg.conf & Xorg.0.log:

xorg.conf: http://www.pastebin.com/f309ce43a

Xorg.0.log: http://www.pastebin.com/f47f1a56d

Last edited by Lea (2010-02-19 21:35:35)

Offline

#4 2010-02-19 22:10:06

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: [SOLVED] Nvidia, xorg problem

you shouldn't have kernel-headers.. it been replaced by linux-api-headers some time ago.  Seems your system is fairly out of date.  maybe change you mirror... then do a pacman -Syyu  THEN try install kernel26-headers.
Also just as a test; change Driver         "nvidia" in xorg.conf to Driver         "vesa"  and see if it will boot up for you.


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#5 2010-02-19 23:03:01

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: [SOLVED] Nvidia, xorg problem

Ok. I updated sistem. And now i have kernel26-headers. Rebooted. But still not working.

With vesa works, but it is bad resolution...

Offline

#6 2010-02-19 23:12:59

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: [SOLVED] Nvidia, xorg problem

Offline

#7 2010-02-19 23:45:04

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: [SOLVED] Nvidia, xorg problem

Hello.  I believe I have the same card:

01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000] (rev c1)

Here is the xorg.conf I use for when I use the Nvidia Driver.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Sun Nov  8 18:24:28 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "ACER H233H"
    VendorName     "Acer"
    ModelName      "H233H"
    HorizSync       54.2 - 83.8
    VertRefresh     49 - 75
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "RenderAccel" "true" 
    Option "AllowGLXWithComposite" "True"

EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "ACER H233H"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
#    Option "RenderAccel" "true"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080" "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    Virtual    1920 1080
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

This works for me although it may be a little redundant in some areas (I haven't had time to mess with it too much).  This is for a 23" LCD ACER H233H which gives 1920x1080 resolution and it works well for me.  This config is for when I use the nvidia-96xx and the appropriate utilities. You will probably have to change it a little for your hardware (monitor). Perhaps that might be part of the issue too - what type of monitor are you using?  I see samsung but what is the model if possible.  You may need to tweak for your monitor.

ADDED: Looking at that segfault make sure you are up to date as the others said.  Remove the regular nvidia binary if that is installed and make sure you install nvidia-96xx along with the 96xx utilities package because our cards use that.

Last edited by davidm (2010-02-19 23:49:07)

Offline

#8 2010-02-20 15:35:47

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: [SOLVED] Nvidia, xorg problem

Hi. Even with your xorg.conf i couldn't manage to set this to work. So I downloaded nouveau driver and now i can start X windows.
Thank you. smile

Offline

#9 2010-02-20 16:05:44

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: [SOLVED] Nvidia, xorg problem

Lea wrote:

Hi. Even with your xorg.conf i couldn't manage to set this to work. So I downloaded nouveau driver and now i can start X windows.
Thank you. smile

Cool.  Nouveau is more OSS friendly anyway.  If you need to have 3d acceleration later though you might try it again after a day or so.  A new nvidia-96xxx just hit my mirror this morning which is supposed to have better support on newer kernels and Xorg servers.

Offline

Board footer

Powered by FluxBB