View previous topic :: View next topic |
Author |
Message |
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
Posted: Tue Oct 18, 2016 10:09 pm Post subject: The Dark Mod - Black screen onstart - sound but no crusor |
|
|
Does anyone have TDM www.thedarkmod.com running on Gentoo?
I used the linux down loader and when I start it I hear the game sound but no game images or cursor.
I also tried it in a Win7 VM - in that I see the cursor except for a rectangler section at the bottom center. |
|
Back to top |
|
|
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
Posted: Wed Oct 19, 2016 7:39 am Post subject: |
|
|
I found an ebuid here http://forums.thedarkmod.com/topic/18103-darkradiant-204-released/#entry390300 but emerge fails with Code: | libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib64/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -DPOSIX -std=c++0x -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -fPIC -g -O2 -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused-variable -Werror=return-type -c KeyValueTable.cpp -fPIC -DPIC -o .libs/KeyValueTable.o
In file included from GLWidget.cpp:1:0:
GLWidget.h:18:1: error: expected class-name before '{' token
{
^
GLWidget.h:27:2: error: 'wxGLContext' does not name a type
wxGLContext* _privateContext;
^
GLWidget.h:30:23: error: expected ')' before '*' token
GLWidget(wxWindow *parent, const std::function<void()>& renderCallback, con
^
GLWidget.h:39:15: error: 'wxPaintEvent' has not been declared
void OnPaint(wxPaintEvent& event);
^
GLWidget.cpp:12:2: error: 'WX_GL_RGBA' was not declared in this scope
WX_GL_RGBA,
^
GLWidget.cpp:13:2: error: 'WX_GL_DOUBLEBUFFER' was not declared in this scope
WX_GL_DOUBLEBUFFER,
^
GLWidget.cpp:14:2: error: 'WX_GL_DEPTH_SIZE' was not declared in this scope
WX_GL_DEPTH_SIZE, 16
^
GLWidget.cpp:17:1: error: prototype for 'wxutil::GLWidget::GLWidget(wxWindow*, const std::function<void()>&, const string&)' does not match any in class 'wxutil::GLWidget'
GLWidget::GLWidget(wxWindow *parent, const std::function<void()>& renderCallbac
^
In file included from GLWidget.cpp:1:0:
GLWidget.h:16:7: error: candidates are: wxutil::GLWidget::GLWidget(const wxutil::GLWidget&)
class GLWidget :
^
GLWidget.h:16:7: error: wxutil::GLWidget::GLWidget()
GLWidget.cpp: In member function 'void wxutil::GLWidget::SetHasPrivateContext(bool)':
GLWidget.cpp:32:3: error: '_privateContext' was not declared in this scope
_privateContext = new wxGLContext(this);
^
GLWidget.cpp:32:41: error: invalid use of incomplete type 'class wxGLContext'
_privateContext = new wxGLContext(this);
^
In file included from GLWidget.cpp:3:0:
../../include/igl.h:11:7: error: forward declaration of 'class wxGLContext'
class wxGLContext;
^
GLWidget.cpp: In member function 'void wxutil::GLWidget::DestroyPrivateContext(':
GLWidget.cpp:42:6: error: '_privateContext' was not declared in this scope
if (_privateContext != NULL)
^
GLWidget.cpp: At global scope:
GLWidget.cpp:59:24: error: variable or field 'OnPaint' declared void
void GLWidget::OnPaint(wxPaintEvent& WXUNUSED(event))
^
GLWidget.cpp:59:24: error: 'wxPaintEvent' was not declared in this scope
GLWidget.cpp:59:53: error: expected primary-expression before ')' token
void GLWidget::OnPaint(wxPaintEvent& WXUNUSED(event))
^
GLWidget.cpp:95:1: error: expected '}' at end of input
} // namespace
^
Makefile:634: recipe for target 'GLWidget.lo' failed | Anyone know how to handle that?
The 2nd thing is form http://darkradiant.sourceforge.net/faq.php and states Quote: | Q: The renderviews are white/blank after starting up!
This frequently happens to nvidia users, caused by the "Threaded Optimization" setting in the nvidia control panel. To fix this, open the nvidia control panel, head to "3D Settings" and switch off the "Threaded Optimization" setting for DarkRadiant.exe. You don't need to switch it off for all your other games, a setting for the DarkRadiant.exe file should do the trick. | Is there a way to do that with the nouveau driver? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Thu Oct 20, 2016 1:53 am Post subject: |
|
|
roki942 wrote: | The 2nd thing is form http://darkradiant.sourceforge.net/faq.php and states Quote: | Q: The renderviews are white/blank after starting up!
This frequently happens to nvidia users, caused by the "Threaded Optimization" setting in the nvidia control panel. To fix this, open the nvidia control panel, head to "3D Settings" and switch off the "Threaded Optimization" setting for DarkRadiant.exe. You don't need to switch it off for all your other games, a setting for the DarkRadiant.exe file should do the trick. | Is there a way to do that with the nouveau driver? | I read that to be about a problem when using the proprietary nVidia drivers, not a problem when using nVidia graphics cards. Are you seeing a problem with nouveau that has the same symptoms? If not, I would not worry about it. I doubt nouveau has the nVidia feature that this page tells you to disable. |
|
Back to top |
|
|
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
Posted: Thu Oct 20, 2016 3:43 am Post subject: |
|
|
Hu wrote: | roki942 wrote: | The 2nd thing is form http://darkradiant.sourceforge.net/faq.php and states Quote: | Q: The renderviews are white/blank after starting up!
This frequently happens to nvidia users, caused by the "Threaded Optimization" setting in the nvidia control panel. To fix this, open the nvidia control panel, head to "3D Settings" and switch off the "Threaded Optimization" setting for DarkRadiant.exe. You don't need to switch it off for all your other games, a setting for the DarkRadiant.exe file should do the trick. | Is there a way to do that with the nouveau driver? | I read that to be about a problem when using the proprietary nVidia drivers, not a problem when using nVidia graphics cards. Are you seeing a problem with nouveau that has the same symptoms? If not, I would not worry about it. I doubt nouveau has the nVidia feature that this page tells you to disable. | Yes I'm seeing that as noted in my 1st post when I start the game from the dl/ed binaries. I hear the game but the screen is completely black without even the cursor. |
|
Back to top |
|
|
|
|
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
|
|