You are not logged in.
Pages: 1
Thank you for helping guys, I will first read the release notes.
Hello people,
I have a issue with display manager in general, doesn't matter which one. They all freeze, maybe one time out of five.
I tried slim, sddm and lightDM, the problem is the same.
When it happen, If I open an other TTY and then "startx", my session open and freeze as well.
Which information should I give you if I want help?
Thank you.
Fabien
Ah...
Thank you, I will check that.
Thank you for helping.
#include <time.h>
#include <ncurses.h>
WINDOW *create_newwin(int h, int l, int y, int x)
{ WINDOW *local_win;
local_win = newwin(h, l, y, x);
box(local_win, 0 , 0);
wrefresh(local_win);
return local_win;
}
int main(int argc, char **argv)
{
WINDOW *win;
int x, y, h, l; // window
int px, py; // chicken
int v1x; // car 1
int ch, top = 0;
initscr();
cbreak();
keypad(stdscr, TRUE);
nodelay(stdscr, TRUE);
curs_set(0);
h = 30;
l = 60 ;
y = (LINES - h) / 2;
x = (COLS - l) / 2;
py = 1;
px = 30;
v1x = 1;
while ((ch = getch()) != 'q' && (py != 10 || px != v1x)){
if (clock() > top + 10){
top = clock();
win = create_newwin(h, l, y, x); // car crossing the window
mvwhline(win, 10, 1, '.', 58);
mvwaddch(win, 10, v1x, 'V');
v1x++;
if (v1x > 58)
v1x = 1;
}
switch(ch){ // chicken moves
case KEY_LEFT:
px--;
break;
case KEY_RIGHT:
px++;
break;
case KEY_UP:
py--;
break;
case KEY_DOWN:
py++;
break;
}
mvwaddch(win, py, px,'P');
wrefresh(win);
mvwaddch(win, py, px,' ');
}
endwin();
return 0;
}
You do know how to leave an audience guessing
Perhaps you should test the waters at the freenode IRC #devuan as well, to increase the chances of running into someone else doing C with ncurses on both freebsd and devuan. It might be a more select group than this one.
I hope I wasn't rude.
Thank you I will try that too
I have no experience with ncurses.
You say "the program compile just fine", just to make sure - you did compile it on Devuan?
How are you running it, from a terminal? Are any error messages displayed in the terminal?
If you are sure its running, and there are no errors anywhere, then I would add printf's in your code to see where your program is at runtime:
printf("HERE 1.\n"); ... printf("HERE 2.\n"); ...
Hi, i did compile it on Devuan using Geany.
There is no error message.
I will try your tip, thank you! I should of do it already, i am afraid i am a bit slow
Thank you!
Hi,
Sorry to insist, nobody?
Hello!
I am trying to learn a bit C (only for fun), and I wrote a little code with ncurses.
It works on FreeBSD, but I can't run it on DEVUAN.
libncurses5-dev and libncursesw5-dev are installed, the program compile just fine but nothing shows up in the terminal.
Is somebody knows what I am talking about?
Merci.
Fabien
Thank you ToxicExMachina, but I won't bothor you fixing this this.
Everything works fine when I use SLIM.
Post #2 answers the original question, I am just trying to understand noSystemd distros.
I will have more to ask on other subjects....
Merci!
I can't tell you...
meca@i5:~$ glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
meca@i5:~$ glxinfo | grep direct
direct rendering: Yes
GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
GL_EXT_memory_object, GL_EXT_memory_object_fd, GL_EXT_multi_draw_indirect,
Here it is:
Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz
VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070]
I am using the proprietary driver....
Thank you for helping me!
Thank you everybody for the accurate answers.
I am not sure if I don't need it finally, the panels are now long to show up and the wallpaper comes late...
May someone explain me why?
Hello,
I just installed DEVUAN and I am discovering sysVinit.
As root I tried service slim stop, it stop the DE right away but slim shoes up at the nest reboot.
How should I disabling slim, I don't need it.
Thank you.
Fabien
Pages: 1