The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Display manager issue » 2019-06-15 07:45:27

Thank you for helping guys, I will first read the release notes.

#2 Hardware & System Configuration » Display manager issue » 2019-06-12 05:30:47

fabien
Replies: 5

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

#3 Re: Other Issues » Ncurses » 2019-04-01 06:24:46

Ah...
Thank you, I will check that.

#4 Re: Other Issues » Ncurses » 2019-03-30 23:03:51

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;
}

#5 Re: Other Issues » Ncurses » 2019-03-30 22:16:24

ralph.ronnquist wrote:

You do know how to leave an audience guessing wink

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 smile

#6 Re: Other Issues » Ncurses » 2019-03-30 22:11:17

dxrobertson wrote:

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  smile

Thank you!

#7 Re: Other Issues » Ncurses » 2019-03-30 21:22:54

Hi,

Sorry to insist, nobody?

#8 Other Issues » Ncurses » 2019-03-25 19:23:39

fabien
Replies: 9

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

#9 Re: Installation » [SOLVED] disabling slim » 2019-03-14 05:36:59

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!

#10 Re: Installation » [SOLVED] disabling slim » 2019-03-14 04:24:32

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, 

#11 Re: Installation » [SOLVED] disabling slim » 2019-03-13 19:07:08

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!

#12 Re: Installation » [SOLVED] disabling slim » 2019-03-12 18:55:47

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?

#13 Installation » [SOLVED] disabling slim » 2019-03-11 20:07:57

fabien
Replies: 17

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

Board footer

Forum Software