Originally Posted by
MrTrip
I had this problem before.
Run the following
sudo apt-get remove nvidia* | apt-get purge nvidia*
envy --uninstall-all
sudo dpkg-reconfigure xserver-xorg
startx
That will bring you back to your x desktop all happy and clean.
Then I suggest you do
sudo apt-get remove envy* | apt-get purge envy*
sudo reboot
you should be rebooted now sitting at your x desktop with no problems.
Then install envy AGAIN and try to install the driver AGAIN. It should work nicely for you this time around.
Gah wish I had read what you wrote a few hours ago instead of dicking around with the xorg.conf.
It looks like it misidentified my monitor, a dell M992. It only came up with "Plug & Play Monitor" and even when I selected it from a list, it got the available range of resolutions and refreshrates wrong.
I couldn't figure out how to fix this through the gui so I just manually edited the section for the monitor in xorg.conf, and now I have 3d support.
I would appreciate it if you took a glance over the end result to check if I am making any huge mistakes:
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV5 [RIVA TNT2/TNT2 Pro]"
Busid "PCI:1:0:0"
Driver "nvidia"
Vendorname "NVIDIA"
Option "AllowGLXWithComposite" "True"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Dell"
Modelname "Dell M992"
Horizsync 30.0-96.0
Vertrefresh 50.0-160.0
Option "DPMS"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
In case you need benchmarks, here is my xorg.conf from before I started the upgrades. I had to cut out the other xorg (from after Envy did its thing) because the post was too long.
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
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 NV5 [RIVA TNT2/TNT2 Pro]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "DELL M992"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]"
Monitor "DELL M992"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
Right now I don't want to mess with Envy again, since I am actually using the -legacy-envy drivers, but if the NC problems don't go away I'll have to go back to it and do it the way you suggested.
As for NC in Wine, I am closer: a real error message from Wine! Well, a few, plus some fixmes. The big ones are the lack of MIDI support which popped up when I first started it and also when I clicked on "Configure Hardware", and a problem with Quartz.
Here is the initial Wine stdout/stderr when I run $ wine NeocronLauncher.exe
Code:
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
fixme:shdocvw:PersistMemory_Load (0x13a830)->(0x43179c 9c)
fixme:shdocvw:OleControl_FreezeEvents (0x13a830)->(1)
fixme:shdocvw:OleControl_FreezeEvents (0x13a830)->(0)
fixme:iphlpapi:NotifyAddrChange (Handle 0x7de899d4, overlapped 0x7de899b8): stub
fixme:system:SetProcessDPIAware stub!
fixme:msimtf:CActiveIMM_Create ((nil) {08c0e040-62d1-11d1-9326-0060b067b86e} 0x106ef34)
fixme:ole:CoCreateInstance no instance created for interface {08c0e040-62d1-11d1-9326-0060b067b86e} of class {4955dd33-b159-11d0-8fcf-00aa006bcc59}, hres is 0x80004002
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x13a8cc)->((null) 1 0x32bdac (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32bdc0 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32bdc0 (nil))
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32bdfc)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->({000214d1-0000-0000-c000-000000000046} 37 0 0x32bec0 (nil))
fixme:shdocvw:HttpNegotiate_BeginningTransaction (0x13af40)->(L"" L"" 0 0x32bef8)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 29 2 0x32f4f0 (nil))
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x13a8cc)
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32f30c)
fixme:shdocvw:InPlaceFrame_SetStatusText (0x13a8cc)->(0xb7ea36d1)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32f240 (nil))
fixme:mshtml:HlinkTarget_SetBrowseContext (0x150390)->((nil))
fixme:msimtf:CActiveIMM_Create ((nil) {08c0e040-62d1-11d1-9326-0060b067b86e} 0x106ef34)
fixme:ole:CoCreateInstance no instance created for interface {08c0e040-62d1-11d1-9326-0060b067b86e} of class {4955dd33-b159-11d0-8fcf-00aa006bcc59}, hres is 0x80004002
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x13a8cc)->((null) 1 0x32dffc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32e010 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32e010 (nil))
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32e04c)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->({000214d1-0000-0000-c000-000000000046} 37 0 0x32e110 (nil))
fixme:shdocvw:HttpNegotiate_BeginningTransaction (0x13af40)->(L"" L"" 0 0x32e148)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 29 2 0x32f4f0 (nil))
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x13a8cc)
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32f30c)
fixme:shdocvw:InPlaceFrame_SetStatusText (0x13a8cc)->(0xb7ea36d1)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 21 2 (nil) (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 28 2 0x32f48c (nil))
fixme:bidi:mirror stub: mirroring of characters not yet implemented
Then, after I click "Configure Hardware" (or by running $ wine Client.exe -sysconfig):
Code:
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
Along with the same runtime error.
For now I am going to try to fix the Quartz er- oh wait... I just looked back at the output and I didn't get the Quartz error the second time I ran it for this post. Gah. Looks like I'm taking steps backwards.