ok at this point I need help!

From the arch wiki:
Note: The NVIDIA driver does not provide an fbdev driver for the high-resolution console for the kernel compiled-in vesafb module. However, the kernel compiled-in efifb module supports a high-resolution console on EFI systems. This method requires GRUB and is described in NVIDIA/Tips and tricks# Fixing terminal resolution.[1][2].
nvidia 364.16 adds support for DRM kernel mode setting. To enable this feature, add the nvidia-drm.modeset=1 kernel parameter, and add nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to your initramfs# MODULES.

I don't understand. Obarun doesn't use EFI, right? Now I could activate the modules in mkinitcpip.conf, but what is the point?

Or is there another reason for this poor performance after installing nvidia drivers???
for example:
man pacman
the text output is like 10 times slower, it is really painful.

what should I do?
APPEND root=/dev/sda3 ro vga=0x214d
yes this is the kernel line, when you are under the syslinux(grub) menu if you hit the TAB key you will retrieve this information on the command line.

About Nvidia, sorry but you need to make your own research, i never used this kind of hardware.
I don't understand. Obarun doesn't use EFI, right?
You can use EFI under Obarun, this is not depending of the distro but of the manner you have partitionned your DD, your fstab and so on.
Now I could activate the modules in mkinitcpip.conf, but what is the point?
You can follow the basic arch wiki for this https://wiki.archlinux.org/index.php/mkinitcpio

Also, make research on the Arch forum, a lot of people use Nvidia and surely you will find solution
Ok after being really frustrated, I told myself to move on.

Nvidia still hasn't made a fbdev driver yet. You could go Efi though:
However, the kernel compiled-in efifb module supports a high-resolution console on EFI systems.
The arch wiki recommends Grub for this but I guess others maybe working too.

But I won't test it, I found an acceptable compromise.I put in the suggested modules into mkinitcpio and they seem to improve sharpness of the font(or maybe i am halluzinating).

my syslinux.cfg has now
 APPEND root/dev/sda3 ro nvidia-drm.modeset=1 vga=0x034b
I changed 0x034d(1920x1080 32bit) to 0x034b(1920x1080 8bit). Not as fast as Nouveau but acceptable speed now in scrolling.

Also Have found this:
https://github.com/torvalds/linux/tree/master/drivers/video/fbdev/nvidia

No idea if it is relevant, but Torvald did something :)
thanks you to share your experience like you do.It may usefull for other people passing through here :)
eric wrotethanks you to share your experience like you do.It may usefull for other people passing through here :)
yes this will be quite a diary lol :)
I'm trying to use acpid as a service. I installed acpid. But I don't know what I'm doing to create service.
I installed
# pacman -S mlocate
then
$ updatedb
then with
$ locate acpid.service
i found out it is under
"usr/lib/systemd/system/acpid.service"

The idea is that with the service activated I can configure dmenu to do shutdown/reboot on input. From the log of "/var/log/Xorg.0.log" I also saw
Nvidia: ACPI: failed to connect to the ACPI event deamon etc
GPU also listens to this.
# s6opts create acpid
reading skarnet.org as recommended
brb for continuation
Ok I read it and have no idea how to do it. :( trying to get more infos
I guess because this is a systemd daemon it will not work with s6. That means I have to write it from scratch?

how does obarun shutdown then with
# shutdown -p
???
Doesn't your /etc/s6 directory have something like this:
-rwxr-xr-x  1 root root  526 Feb 28 00:21 reboot*
-rwxr-xr-x  1 root root  908 Feb 28 00:21 shutdown*
-rwxr-xr-x  1 root root  527 Feb 28 00:21 poweroff*
Have you tried sudo poweroff
shutdown -p works as well
  • [deleted]

sudo sh -c "shutdown -P now"
fungalnet wroteDoesn't your /etc/s6 directory have something like this:
-rwxr-xr-x  1 root root  526 Feb 28 00:21 reboot*
-rwxr-xr-x  1 root root  908 Feb 28 00:21 shutdown*
-rwxr-xr-x  1 root root  527 Feb 28 00:21 poweroff*
Have you tried sudo poweroff
shutdown -p works as well
shutdown -p works
I guess I have to edit sudoer so that I don't need to type the password.

I guess I don't need Acpi right now, let's put that on the to do list.
jean-michel wrotesudo sh -c "shutdown -P now"
that works as well thank you.
What s6 services do I need for daily use? I have dbus packet installed, do I need to run dbus service as well to connect usb sticks for example?

also what is the difference between for example cups-s6service and cups-s6rcservice?
Rc service permit a dependencies tree. If service A has been declared as depending on service B, A is never started until B is up, and B is never stopped until A is down. This works whether A and B are both oneshots, both longruns, or a oneshot and a longrun. A mix of longrun and oneshot service is called Atomic services.
Permit a depedency tree? Do I need both?

Do I need the alsa rc service to use my mic and playback simultaneously? My usb soundcard is recognized by default.
i found out it is under
"usr/lib/systemd/system/acpid.service"
Are you trying to use a service coming from System:D?On Obarun, really?! it was a good joke XD.
About acpid, try this
# pacman -S acpid-s6serv
# s6opts enable acpid
About difference between xxx-s6rcserv and xxx-s6serv service package. s6rcserv are for s6-rc service and s6serv are for s6 service.

Well when you need to start/create a daemon after or before an another daemon , use s6-rc service. This is exactly the purpose of those service, handling dependencies between services. When you need to handle some stuff like the creation of a directory use s6-rc (in particular oneshot service). The boot (i talk about the boot process) of Obarun is entirely made by a collection of s6-rc services; so you have a lot of example of different type of s6rc service in e.g. /etc/s6/rc directory.(the majorities are oneshot service execpt for udevd part which is longrun)

When you need to simply start/create a daemon like e.g. acpid which do not require e.g the creation of directory or starting an other service before it, use s6 service. I call this kind of service "classic" service (arbitrary name here for Obarun). For example the tty service is a classic service.
cups-s6service and cups-s6rcservice
no difference between the daemon/service itself but the manner to use.
for s6serv
# s6opts enable cups
for s6rcserv
# s6opts update cups-s6rcserv
this is an ergonomic choice. For example you can have a bundle containing the service to use a printer like the cups daemon and maybe some server daemon if you use shared printer. So you can use/start the bundle when you need it and stop it right after your use. Well, just an ergonomic choice to provide the same package in both format, nothing more.
An s6serv format can be converted to s6rcserv format but the contrary is not true(or with a ton of difficultly depending of the daemon to convert)
Permit a depedency tree? Do I need both?
no, use one of them
Do I need the alsa rc service to use my mic and playback simultaneously?
coming from alsactl manpage
DESCRIPTION
alsactl is used to control advanced settings for the ALSA soundcard
drivers. It supports multiple soundcards. If your card has features
that you can't seem to control from a mixer application, you have come
to the right place.
So, what do you think? ;)
Busy week damn. Lets get back on track.
2018-05-16 21:25:39
eric
Administrator

Registered: 2015-08-29
Posts: 831
Email
i found out it is under
"usr/lib/systemd/system/acpid.service"

Are you trying to use a service coming from System:D?On Obarun, really?! it was a good joke XD.
I try my best to entertain you lol XD
About acpid, try this

# pacman -S acpid-s6serv
# s6opts enable acpid
146.055 (II) Open ACPI successful (/var/run/acpid.socket)
Absolutely fantastic! :) thanks
When you need to simply start/create a daemon like e.g. acpid which do not require e.g the creation of directory or starting an other service before it, use s6 service. I call this kind of service "classic" service (arbitrary name here for Obarun). For example the tty service is a classic service.
Aight cool, I will use classics then normally. Enabling Dbus service as well, I guess I will need that.
no difference between the daemon/service itself but the manner to use.
for s6serv

# s6opts enable cups
for s6rcserv

# s6opts update cups-s6rcserv
this is an ergonomic choice. For example you can have a bundle containing the service to use a printer like the cups daemon and maybe some server daemon if you use shared printer.
Later on the idea is to have a network printer. I guess I can run cups classic for that.
Need to get a new printer though, Canon and Linux sucks. Its also lile 7 years old XD.
Do I need the alsa rc service to use my mic and playback simultaneously?

coming from alsactl manpage

DESCRIPTION
alsactl is used to control advanced settings for the ALSA soundcard
drivers. It supports multiple soundcards. If your card has features
that you can't seem to control from a mixer application, you have come
to the right place.

So, what do you think? wink
Well I think I haven't even alsamixer installed yet, I guess that is alsa-utils. Or another mixer. But I don't need the service then cool. Even though I have multible soundcards and espeak gives me alot of output which I surpress :)
But not a priority right now :)
hmm the xorg log is a bit weird in later sections
event 2 - Power Button: is tagged by udev as: Keyboard
event 2 - Power Button: device is a keyboard
event 2 - Power Button: device removed
that sounds weird lol
I git cloned dwm,dmenu and st.

downloaded a few patches (*.diff files)
did "make" inside the directories.
patched inside the directories, example:
patch < ~/dwm/patches/dwm-fibonacci.diff
There is an output that tells you if all changes succeded or not. Sometimes you have to add lines to config.def.h or dwm.c manually because another patch already wrote something at the same line.

Edited paths in the config.mk files:
X11INC = /usr/include/X11
X11LIB = /usr/lib
Did
Sudo make clean install
in all master directories.

Added
exec dwm
in .xinitrc

lets see if it starts(startx) without compositor. :)
congrats to build your own package, but be aware that you install the application directly with make, that's mean that pacman doesn't know the change into your system, so if you try something like pacman -S dmenu it will complain about conflicting files.
Obviously this behaviour depends of your needs, if you prefer to not use pacman it's your choice, but if you want to mix the manner to install a package you will go on big trouble :).
Instead of making by the hand the compilation, you can retrieve the sources files of the PKGBUILD then make a compilation with makepkg. For example, download the PKGBUILD sources of dmenu https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/dmenu, change whatever you want to suit your needs, then launch makepkg and finally install the package with pacman -U options.

Anyway, This is depends of you :)
Thank you :) It seems I was a bit hasty with dwm. Whereas St and dmenu was no problem making it and installing, dwm totally failed. I have to apply the patches one by one.
And see if I get errors.

Oh I didn't know that about building your own packages and installing. That sounds like a much better way. Damn now I have already a mess :/

Well let's try with dwm again :)
One warning I get though from dmenu:
 warning:  ?*? in boolean context, suggest ?&&? instead [-Wint-in-bool-context]

# define INTERSECT(x,y,w,h,r)  (MAX(0, MIN((x)+(w),(r).x_org+(r).width)  - MAX((x),(r).x_org)) \
                             * MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org)))
Hopefully it works :)

Powered by Obarun