Page 14 of 32 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 320

Thread: How-To: install pSX on AMD64

  1. #131
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    Well, I tried changing the path but it still didnt respond when I hit run.

    I thought my video card was installed properly, I used Envy to install it but maybe something got thrown off when I upgraded to 7.10.

    Here is my xorg.conf :

    Section "Files"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "nVidia Corporation NV18 [GeForce4 MX 4000]"
    Driver "nv"
    BusID "PCI:1:0:0"
    EndSection

    Section "Monitor"
    Identifier "SDM-M51"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "nVidia Corporation NV18 [GeForce4 MX 4000]"
    Monitor "SDM-M51"
    DefaultDepth 24
    SubSection "Display"
    Modes "1024x768" "720x400" "640x480" "640x400"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"

    # Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    EndSection


    Thanks for the help!

  2. #132
    Join Date
    Jan 2006
    Beans
    2,031

    Re: How-To: install pSX on AMD64

    Quote Originally Posted by thebrandon View Post
    Well, I tried changing the path but it still didnt respond when I hit run.
    I expected that, because your video card needs set up still. But, once you get it up, that should work correctly.

    Quote Originally Posted by thebrandon View Post
    I thought my video card was installed properly, I used Envy to install it but maybe something got thrown off when I upgraded to 7.10.
    Did you try using the Restricted Drivers Manager? System > Administration > Restricted Drivers Manager. I find it works rather well, although it doesn't always detect the card, if it does detect it does a great job of downloading everything and setting it up for you.
    Of course, if not doesn't work, we can try to set up your card manually.

    Before you go any further, backup your /etc/X11/xorg.conf like so:
    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    If at any point you have problems setting up the X server, you can restore your backup with this command:
    Code:
    sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
    Now, as to which driver to use, I'm pretty positive that you will need the nvidia-glx-legacy driver, due to the older nvidia model you have (If your card isn't actually an MX 4000, let me know. I think anything older than the 6xxx series needs the legacy driver).

    So to install that nvidia driver:
    Code:
    sudo apt-get install nvidia-glx-legacy
    Now, you'll need to modify a few lines in your /etc/X11/xorg.conf in order to use the new driver:

    Code:
    Section "Device"
    	Identifier	"nVidia Corporation NV18 [GeForce4 MX 4000]"
    	Driver	"nvidia"
    	BusID		"PCI:1:0:0"
    EndSection
    Now, reboot your computer. You should be able to login like normal, although if there's an error just restore that backup like I said earlier.

    You might be able to run psx now, for a test try this command:
    Code:
    glxgears
    You should see some spinning gears, and after about 5 secs it should give you some FPS readings. If it's not working, post the output of this command to me:
    Code:
    glxinfo | head
    Beyond that, You may need to add the following line to your /etc/X11/xorg.conf as well:

    Code:
    Section "Files"
    Load "glx"
    EndSection

    You can always look up a guide on how to configure your /etc/X11/xorg.conf for your specific chipset, as well. The goal here is to have the output of this command look something like this:
    Code:
    $ glxinfo | head
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
        GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
        GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer, 
        GLX_ARB_fbconfig_float
    Last edited by dfreer; October 26th, 2007 at 08:13 PM.

  3. #133
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    Well I installed the legacy driver and everything got a bit screwy, which is kinda like it was before I settled for the settings I had previously.

    Here is the output of glxgears & glxinfo | head :

    brandon@brandon-desktop:~$ glxgears
    Xlib: extension "GLX" missing on display ":0.0".
    Error: couldn't get an RGB, Double-buffered visual
    brandon@brandon-desktop:~$ glxinfo | head
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Error: couldn't find RGB GLX visual
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    name of display: :0.0

    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    ----------------------------------------------------------------------
    0x21 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
    0x39 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

    Also, the Nvidia splash screen doesnt come up anymore when I reboot. So I decided to mess around with the xorg.conf and I got some settings from here : http://ubuntuforums.org/archive/index.php/t-54956.html

    Now here is what my xorg.conf looks like :

    Section "Files"
    EndSection

    Section "Module"
    Load "glx"
    Load "GLcore"
    Load "v4l"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "Device"
    Identifier "Failsafe Device"

    Section "Device"
    Identifier "NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "NoDCC"
    Option "VideoOverlay" "on"
    Option "OpenGLOverlay" "off"
    Option "UseInternalAGPGART" "no"
    Option "NvAGP" "3"
    Option "RenderAccel" "true"
    Option "Coolbits" "1"
    Option "NoLogo"
    VideoRam 131072
    EndSection

    Section "Monitor"
    Identifier "SDM-M51"
    Option "DPMS"
    Vendorname "Plug 'n' Play"
    Modelname "Plug 'n' Play"
    modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
    modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
    modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    Gamma 1.0
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Failsafe Device"
    Monitor "Failsafe Monitor"
    Defaultdepth 24
    SubSection "Display"
    Depth 24
    Virtual 1280 960
    Modes "800x600@60" "1024x768@60" "800x600@56" "1280x960@60" "640x480@60"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    screen 0 "Default Screen" 0 0
    Inputdevice "Generic Keyboard"
    Inputdevice "Configured Mouse"
    EndSection
    Section "device" #
    Identifier "device1"
    Boardname "vesa"
    Busid "PCI:1:0:0"
    Driver "vesa"
    Screen 1
    EndSection
    Section "screen" #
    Identifier "screen1"
    Device "device1"
    Defaultdepth 24
    Monitor "monitor1"
    EndSection
    Section "monitor" #
    Identifier "monitor1"
    Gamma 1.0
    EndSection
    Section "ServerFlags"
    EndSection

  4. #134
    Join Date
    Jan 2006
    Beans
    2,031

    Re: How-To: install pSX on AMD64

    Quote Originally Posted by thebrandon View Post
    Xlib: extension "GLX" missing on display ":0.0".
    Error: couldn't find RGB GLX visual
    Yepp, that would be from xorg not loading the glx module. But from the new /etc/X11/xorg.conf that you posted, it looks it is specified correctly. I'm not sure, but I think the other error can be solved by placing this line in your Section "Screen"
    Code:
            Option          "AddARGBGLXVisuals" "True"
    Quote Originally Posted by thebrandon View Post
    Also, the Nvidia splash screen doesnt come up anymore when I reboot.
    That's handled by the following line in your /etc/X11/xorg.conf
    Code:
    Option       "NoLogo"
    Quote Originally Posted by thebrandon View Post
    So I decided to mess around with the xorg.conf and I got some settings from here : http://ubuntuforums.org/archive/index.php/t-54956.html
    Now that you have done all of the above, I don't see why glxgears and subsequently, pSX shouldn't work for you. I'm not really an expert in getting legacy nvidia drivers set up, if I were you I'd create a new thread describing your issues in getting 3D acceleration working.

  5. #135
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    well even after adding that option I still could not get glxgears to run properly so I just restored my original setup which I hadnt run glxgears in. I guess I had it set up properly from the beginning! So anyway, I run the glxinfo | head command and here is what it says :

    brandon@brandon-desktop:~$ glxgears
    X connection to :0.0 broken (explicit kill or server shutdown).
    brandon@brandon-desktop:~$ glxinfo | head
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer


    The part about direct rendering, setting LIBGL_DEBUG=verbose? Is that where my problem lies and if so, how do i set it to =verbose?

  6. #136
    Join Date
    Jan 2006
    Beans
    2,031

    Re: How-To: install pSX on AMD64

    I'm not sure anymore... you might need to create a thread about this, or post in that existing mx 4000. hope you get this working!

  7. #137
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    So I tried running it again and now its running, my only problem now is that the playstations load / splash screen is really slow and choppy. Any suggestions on how I can speed it up to normal?

    Thanks for your help!

  8. #138
    Join Date
    Jan 2006
    Beans
    2,031

    Re: How-To: install pSX on AMD64

    That would be due to lack of 3D acceleration. You're basically getting horrible FPS (try running glxgears and let it set for a few minutes, you should see it reporting some framerates). I'm not entirely sure about the legacy driver, but for newer nvidia cards this is solved by installing the nvidia driver, which has support for direct rendering/3D acceration.

    Any other 3D game will require this as well, so basically until you get your driver installed correctly, or get a newer model (in the case that your particular card won't support 3D acceration), you won't be able to play 3D games in linux.

  9. #139
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    I let glxgears run for a minute and got these results but I dont know what to make of them.

    brandon@brandon-desktop:~$ glxgears
    935 frames in 5.3 seconds = 175.766 FPS
    904 frames in 5.5 seconds = 163.056 FPS
    904 frames in 5.4 seconds = 166.408 FPS
    904 frames in 5.4 seconds = 166.438 FPS
    904 frames in 5.4 seconds = 166.428 FPS
    904 frames in 5.4 seconds = 166.355 FPS
    1469 frames in 5.1 seconds = 289.712 FPS
    3729 frames in 5.1 seconds = 732.118 FPS
    3729 frames in 5.0 seconds = 739.805 FPS
    3729 frames in 5.0 seconds = 742.808 FPS
    3729 frames in 5.0 seconds = 741.123 FPS
    3729 frames in 5.0 seconds = 743.882 FPS
    3729 frames in 5.0 seconds = 742.183 FPS
    3699 frames in 5.2 seconds = 716.126 FPS
    1017 frames in 5.2 seconds = 196.440 FPS
    1243 frames in 5.4 seconds = 229.092 FPS
    1130 frames in 5.7 seconds = 198.420 FPS
    904 frames in 5.5 seconds = 162.948 FPS
    904 frames in 5.3 seconds = 171.173 FPS
    3729 frames in 5.1 seconds = 726.725 FPS
    3616 frames in 5.1 seconds = 709.204 FPS
    3729 frames in 5.1 seconds = 732.036 FPS
    3729 frames in 5.0 seconds = 742.960 FPS
    3616 frames in 5.1 seconds = 715.579 FPS

  10. #140
    Join Date
    Oct 2007
    Beans
    112

    Re: How-To: install pSX on AMD64

    Well I finally got everything working! The only problem now is that since desktop effects kicked on I seem to have lost my titlebar and thus my min, max, and close buttons. Also, terminal is now just a white block that doesnt seem to do anything so I am off to tackle this problem now. Thanks for all the help!

Page 14 of 32 FirstFirst ... 4121314151624 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •