[gentoo-user] Re: Python 3.11 USE flags being flipped on
On 15/12/2023 00:53, stefan1@shitposting.expert wrote: I just tried to run today's emerge, when I saw that python 3.11 was being pulled in and packages had this USE flag flipped on. Python 3.11 is the default right now (and has been for some months now.) You should follow the python upgrade procedure (there should be a news item for this, you can view those with "eselect news list".) After the upgrade, it might be easier to block new python versions until Gentoo switches the default version again later. This has been a mainstay in my packacke.mask for ages now: # Prevent a shitload of different python versions from being installed <=dev-lang/python-3.10 >=dev-lang/python-3.12 (Obviously the versions are gonna differ over time.) I don't set PYTHON_TARGETS nor PYTHON_SINGLE_TARGET. Currently, the defaults are: PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" When the default Python version changes, this is usually announced through a portage news item and you'll get a notification about it when you sync. If you really want to stick to 3.10, you can try setting the above vars for portage. You can do this in your package.use: */* PYTHON_TARGETS: -* python3_10 */* PYTHON_SINGLE_TARGET: -* python3_10 However, 3.11 is the current default for a reason. Maybe some packages really require it, and thus you will end up with both 3.10 and 3.11 installed. If you just want a single version installed, then it's a good idea to not go against the current portage default.
[gentoo-user] Python 3.11 USE flags being flipped on
I just tried to run today's emerge, when I saw that python 3.11 was being pulled in and packages had this USE flag flipped on. I tried masking the USE flags for python 3.11 and that had the effect of creating the same problem, but with python 3.10 instead. After masking python 3.10 too, I get this: $ emergeallk @world These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 3.38 s (backtrack: 0/20). !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-lang/python-exec:2 (dev-lang/python-exec-2.4.10:2/2::gentoo, ebuild scheduled for merge) USE="(native-symlinks) -test" PYTHON_TARGETS="(pypy3) (python3_12) (-python3_10) (-python3_11)" pulled in by (no parents that aren't satisfied by other packages in this slot) (dev-lang/python-exec-2.4.10:2/2::gentoo, installed) USE="(native-symlinks) -test" PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) (python3_12)" pulled in by dev-lang/python-exec[python_targets_python3_11(-)] required by (dev-lang/python-3.11.6:3.11/3.11::libressl, installed) USE="ensurepip gdbm lto ncurses pgo sqlite ssl verify-sig -bluetooth -build -debug -examples -libedit -readline -test -tk -valgrind" It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. emerge: there are no ebuilds to satisfy ">=dev-python/mako-0.8.0[python_targets_python3_11(-)]". (dependency required by "media-libs/mesa-23.3.1::gentoo" [ebuild]) (dependency required by "x11-base/xorg-server-21.1.10-r1::gentoo[-minimal]" [ebuild]) (dependency required by "x11-drivers/xf86-input-keyboard-1.9.0-r1::gentoo-static" [installed]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) Any ideas?
Re: [gentoo-user] Re: Wifi issues with 6.1.66 kernel and rtl8723bu driver
Thank you both for replying quickly. Michael, the driver does not seem to differ and nothing has changed in my configuration. rtl8723bu is not, to my knowledge, run in AP mode. I have blacklisted rtl8xxu. Also, I use NetworkManager. Nikos, thanks for the link ! Updating to 6.1.67 solved my issue. The update seems to have been made very recently, so thanks to the gentoo dev too. Best, On Thursday, December 14th, 2023 at 4:29 PM, Nikos Chantziaras wrote: > > > On 13/12/2023 22:34, Alexis Praga wrote: > > > Hi, > > > > After a recent update to the latest kernel, I'm having troubles with a > > custom wifi driver [1], packaged using latest git into GURU. > > The laptop does recognize and connect to my wifi (that is, my iphone). But > > I cannot access internet and NetworkManager cannot be restarted or stopped > > (I have to force-shutdown the computer). > > It may come from wpa_supplicant. > > > > Reverting the kernel to previous version (6.1.60) fixes the issue. > > > 6.1.67 was an emergency release to fix one single issue related to wifi: > > https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.67 signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: No text scrolling at boot
On 13/12/2023 21:29, the...@sys-concept.com wrote: When gentoo boots grub display only kernel selection on the screen, hitting "Enter" there is not kernel line scrolling, only the login screen after few seconds: graphical login, user and password. Which parameter controls it. is it grub? In /etc/default/grub ... #GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_GFXMODE=1024x768x32 GRUB_GFXPAYLOAD_LINUX=keep framebuffer settings in the kernel configuration under "Device Drivers" -> "Graphics support" -> "Support for frame buffer devices." is build IN. Enable the EFI frame buffer and rebuild the kernel. You should probably also use the native resolution of your monitor GRUB_GFXMODE. And also use "auto" as a fallback. For my 1440p display, I use: GRUB_GFXMODE=2560x1440x32,auto
[gentoo-user] Re: Wifi issues with 6.1.66 kernel and rtl8723bu driver
On 13/12/2023 22:34, Alexis Praga wrote: Hi, After a recent update to the latest kernel, I'm having troubles with a custom wifi driver [1], packaged using latest git into GURU. The laptop does recognize and connect to my wifi (that is, my iphone). But I cannot access internet and NetworkManager cannot be restarted or stopped (I have to force-shutdown the computer). It may come from wpa_supplicant. Reverting the kernel to previous version (6.1.60) fixes the issue. 6.1.67 was an emergency release to fix one single issue related to wifi: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.67
Re: [gentoo-user] Wine problems
st 13. 12. 2023 v 23:20 odesílatel napsal: > > On 2023-12-13 20:32, Vít Smolík wrote: > > okay, i think you could try deleting (or comenting, it is up to you) > > the > > "GPUDevice" line from the second screen section (the one at the bottom > > of > > the config, also, in the config, edit the resolution, it's the last > > "Option" in the second screen section. > > save the config, and restart X > > > > May the Force be with you, > > Vít Smolík. > > Tried commenting out the GPUDevice part. No change. > What should I set the resolution to? My laptop's screen is 1920*1080. > also, try if you can configure the monitor in nvidia settings -- May the Force be with you, Vít Smolík.
Re: [gentoo-user] Wine problems
Dne st 13. 12. 2023 23:20 uživatel napsal: > On 2023-12-13 20:32, Vít Smolík wrote: > > okay, i think you could try deleting (or comenting, it is up to you) > > the > > "GPUDevice" line from the second screen section (the one at the bottom > > of > > the config, also, in the config, edit the resolution, it's the last > > "Option" in the second screen section. > > save the config, and restart X > > > > May the Force be with you, > > Vít Smolík. > > Tried commenting out the GPUDevice part. No change. > What should I set the resolution to? My laptop's screen is 1920*1080. > the second screen parameter is configured for your hdmi monitor, so set it to the resolution of it. May the Force be with you, Vít Smolík.
Re: [gentoo-user] Wifi issues with 6.1.66 kernel and rtl8723bu driver
On Wednesday, 13 December 2023 20:34:58 GMT Alexis Praga wrote: > Hi, > > After a recent update to the latest kernel, I'm having troubles with a > custom wifi driver [1], packaged using latest git into GURU. The laptop > does recognize and connect to my wifi (that is, my iphone). But I cannot > access internet and NetworkManager cannot be restarted or stopped (I have > to force-shutdown the computer). It may come from wpa_supplicant. Which of these methods do you use to manage your network connection? https://wiki.gentoo.org/wiki/Network_management#Comparison_of_network_managers The wpa_supplicant mechanism is used by the client to authenticate with the wireless AP irrespective of the method you use to control the rest of the network stack. > Reverting the kernel to previous version (6.1.60) fixes the issue. How do the network drivers differ between the two kernel configurations? Have you changed anything else in your configuration? Do you run the rtl8723bu in AP mode too? Have you blacklisted the wireless driver rtl8xxxu mentioned in the GIT page? > Does anyone have any idea about this issue ? Googling only hints at issues > with 6.6.66. Also, how can I keep on using 6.1.60 ? I've kept the old > kernel around but not sure how to downgrade (and if that's the best > strategy). As long as you've kept the kernel image and initrd (if you're using one) then you can carry on booting with it, while trying out later kernels. Also keep your working kernel .config file to be able to run 'make oldconfig' with newer kernels and to also to be able to compare differences between kernel releases. > Thanks, > > Alexis > > > > > [1] https://github.com/lwfinger/rtl8723bu signature.asc Description: This is a digitally signed message part.