[gentoo-user] Optimus GPU switching

2024-04-05 Thread Vít Smolík
Hello again fellow gentooers,

I wanted to ask a pretty stupid question, what tool should I use for
switching GPUs on my optimus laptop? I know bumblebee, but that isn't
updated anymore. Thanks!

-- 
May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Resizing boot partition while dual-booting

2024-04-05 Thread Vít Smolík
Hello everyone,

Thanks for your help! I managed to get the EFI partition to my liking by
installing Windows first, but before starting the install, I created my EFI
partition manually by running these commands:
1. diskpart
2. list disk
3. sel disk 0
4. create partition efi size=1000
5. format quick fs=fat32 label=System

Then i continued as normal and Windows used my 1GB EFI partition.

st 3. 4. 2024 v 18:22 odesílatel Waldo Lemmer 
napsal:

> Hi Vit
>
> I presume you plan to have a single boot partition that will contain your
> bootloader, kernel and initramfs. There are actually two kinds of boot
> partitions that are commonly used together:
> 1. The EFI system partition (ESP) contains Linux and Windows's
> bootloaders. It's formatted as FAT.
> 2. The extended boot (XBOOTLDR) partition contains kernels, initramfs's
> and microcode. It's formatted as anything the bootloader supports (GRUB
> supports FAT, ext4 and more).
>
> If you have a single boot partition, you're actually just combining the
> above two. If you want to create more room, you can split it:
> 1. Shrink your Linux partition to create space for the extended boot
> partition. You can GParted from another system or bootable USB.
> 2. Create and format the extended boot partition.
> 3. Modify /etc/fstab so the ESP gets mounted at /efi and the XBOOTLDR gets
> mounted at /boot.
> 4. Mount these two partitions.
> 5. If this is an existing install, move the kernel, initramfs and
> microcode from /efi to /boot. Otherwise, install the bootloader and the
> kernel.
> 6. Re-configure your bootloader (e.g. `grub-mkconfig -o
> /efi/grub/grub.cfg`).
>
> Now the large kernel and initramfs files don't take up space on the ESP
> that's being shared with Windows.
>
> Alternatively, just resize the ESP. However, that breaks Windows's
> bootloader since the starting point of the C:\ partition moved, so you need
> to fix it from a Windows setup USB using bootrec. I can't help you with
> that.
>
> Waldo
>
> On Wed, Apr 3, 2024 at 5:38 PM Vít Smolík  wrote:
>
>> Do you store your initramfs on the 100mb partition? Or do you stire it
>> somewhere else?
>>
>> May the Force be with you,
>> Vít Smolík.
>>
>> Dne st 3. 4. 2024 17:35 uživatel Alexis Praga 
>> napsal:
>>
>>> Hi Vit,
>>>
>>> I have a dual boot with a 100Mb EFI partition. It works fine, except
>>> there isn’t enough place for both old and new kernels for upgrading. So I
>>> moved the old kernel from /boot into a safe directory before upgrading.
>>> Maybe not the best strategy but I didn’t dare resize it.
>>>
>>> Alexis
>>>
>>> On Wednesday, April 3rd, 2024 at 17:10, Vít Smolík <
>>> vit.smol...@gmail.com> wrote:
>>>
>>> Hello fellow Gentooers,
>>>
>>> I want to dual-boot Gentoo and M$ Windows on my computer, but windows
>>> only created a 100MB EFI partition. Is it necessary to resize it so my boot
>>> files will fit? If so - how to resize it so I don't mess up my Windows EFI
>>> files?
>>>
>>> --
>>> May the Force be with you,
>>> Vít Smolík.
>>>
>>>
>>>
>>>

-- 
May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Resizing boot partition while dual-booting

2024-04-03 Thread Vít Smolík
Do you store your initramfs on the 100mb partition? Or do you stire it
somewhere else?

May the Force be with you,
Vít Smolík.

Dne st 3. 4. 2024 17:35 uživatel Alexis Praga 
napsal:

> Hi Vit,
>
> I have a dual boot with a 100Mb EFI partition. It works fine, except there
> isn’t enough place for both old and new kernels for upgrading. So I moved
> the old kernel from /boot into a safe directory before upgrading.
> Maybe not the best strategy but I didn’t dare resize it.
>
> Alexis
>
> On Wednesday, April 3rd, 2024 at 17:10, Vít Smolík 
> wrote:
>
> Hello fellow Gentooers,
>
> I want to dual-boot Gentoo and M$ Windows on my computer, but windows only
> created a 100MB EFI partition. Is it necessary to resize it so my boot
> files will fit? If so - how to resize it so I don't mess up my Windows EFI
> files?
>
> --
> May the Force be with you,
> Vít Smolík.
>
>
>
>


[gentoo-user] Resizing boot partition while dual-booting

2024-04-03 Thread Vít Smolík
Hello fellow Gentooers,

I want to dual-boot Gentoo and M$ Windows on my computer, but windows only
created a 100MB EFI partition. Is it necessary to resize it so my boot
files will fit? If so - how to resize it so I don't mess up my Windows EFI
files?

-- 
May the Force be with you,
Vít Smolík.


Re: [gentoo-user] alsamixer - no sound

2023-12-16 Thread Vít Smolík
so 16. 12. 2023 v 21:20 odesílatel  napsal:
>
> After recent upgrade I have no sound.
>
> Running as root:  alsamixer
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
> (This could e.g. happen if you try to connect to a non-root PulseAudio as a 
> root user, over the native protocol. Don't do that.)
>
> Does dir: /run/user/1000
> should be own by "root:root"  or user on the system?
>
> When I run:
> chown root:root /run/user/1000
>
> alsamixer
> ALSA lib 
> /var/tmp/portage/media-plugins/alsa-plugins-1.2.7.1-r1/work/alsa-plugins-1.2.7.1/pulse/pulse.c:242:(pulse_connect)
>  PulseAudio: Unable to connect: Access denied
>
> cannot open mixer: Connection refused
>
> --
> Thelma
>
are you logged in as your normal non-root user? If yes, don't run
alsamixer as root, but just as your normal user.

-- 
May the Force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-14 Thread Vít Smolík
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

2023-12-14 Thread Vít Smolík
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] Wine problems

2023-12-13 Thread Vít Smolík
Dne st 13. 12. 2023 21:26 uživatel  napsal:

> On 2023-12-13 20:13, Vít Smolík wrote:
> > Dne st 13. 12. 2023 21:05 uživatel 
> > napsal:
> >
> >> On 2023-12-13 19:58, Vít Smolík wrote:
> >> > Added the modified config as an attachment, i configured another
> screen
> >> > section at the bottom of the config, its identifier is "Screen1", also
> >> > added it to the server layout on top of the config.
> >> >
> >> > rename your old xorg.conf and download this, then restart X, and
> report
> >> > if
> >> > it was successfull :)
> >> >
> >> > May the Force be with you,
> >> > Vít Smolík.
> >>
> >> Still no luck.
> >>
> > could you send your "xrandr" output? (you need to start X to run it)
> > and
> > your X log?
> >
>
> I added all the logs I found as attachments, maybe one of them tells you
> something. They seem pretty recent, oldest is an hour old.
> The latest is Xorg.0.log
>
> xrandr output:
> $ xrandr
> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
> HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x
> axis y axis) 698mm x 392mm
> 1920x1080 60.00*+  60.0059.9450.00
> 1680x1050 59.95
> 1600x900  60.00
> 1440x900  59.89
> 1440x576  50.00
> 1400x1050 59.98
> 1280x1024 60.02
> 1280x800  59.81
> 1280x720  60.0059.9650.00
> 1024x768  60.00
> 800x600   60.3256.25
> 720x576   50.00
> 720x480   59.94
> 640x480   59.94
>
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.


Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
Dne st 13. 12. 2023 21:05 uživatel  napsal:

> On 2023-12-13 19:58, Vít Smolík wrote:
> > Dne st 13. 12. 2023 20:45 uživatel 
> > napsal:
> >
> >> On 2023-12-13 19:35, Vít Smolík wrote:
> >> > Dne st 13. 12. 2023 20:30 uživatel 
> >> > napsal:
> >> >
> >> >> On 2023-12-13 19:21, Vít Smolík wrote:
> >> >> > st 13. 12. 2023 v 19:51 odesílatel  >
> >> >> > napsal:
> >> >> >>
> >> >> >> On 2023-12-13 18:46, stefan1@shitposting.expert wrote:
> >> >> >> > On 2023-12-13 16:23, Vít Smolík wrote:
> >> >> >> >> st 13. 12. 2023 v 16:58 odesílatel
>  >> >
> >> >> >> >> napsal:
> >> >> >> >>>
> >> >> >> >>> On 2023-12-13 14:55, Vít Smolík wrote:
> >> >> >> >>> > st 13. 12. 2023 v 9:28 odesílatel
> >>  >> >> >
> >> >> >> >>> > napsal:
> >> >> >> >>> >>
> >> >> >> >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >> >> >> >>> >> > okay, then dont worry about this.
> >> >> >> >>> >> > chceck the xorg log it should be in /var/log/Xorg. >> >> number>.log.
> >> >> >> >>> >> > also check if both the nvidia and intel drivers are
> loaded
> >> >> correctly.
> >> >> >> >>> >> >
> >> >> >> >>> >> > May the Force be with you,
> >> >> >> >>> >> > Vít Smolík.
> >> >> >> >>> >> >
> >> >> >> >>> >>
> >> >> >> >>> >> I added the Xorg.0.log from optimus as an attachment.
> >> >> >> >>> > okay, i checked and i saw these lines:
> >> >> >> >>> >
> >> >> >> >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >> >> >> >>> >> [ 32496.682] (II) modeset(1): using default device
> >> >> >> >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching
> >> config
> >> >> >> >>> >> section.
> >> >> >> >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >> >> >> >>> >
> >> >> >> >>> > i think the third line from this citation may be the
> concern,
> >> make
> >> >> >> >>> > sure you installed the proprietary nvidia drivers, and
> disabled
> >> >> >> >>> > nouveau (pretty sure you already did that)
> >> >> >> >>> > could you send your xorg.conf? it seems to me that the
> config
> >> that
> >> >> >> >>> > nvidia-xconfig made is faulty.
> >> >> >> >>> >
> >> >> >> >>> > --
> >> >> >> >>> > May the Force be with you,
> >> >> >> >>> > Vít Smolík.
> >> >> >> >>> I added my xorg.conf as an attachment
> >> >> >> >> okay, try adding this line right after the "Device" line in the
> >> >> >> >> "Screen" section:
> >> >> >> >>
> >> >> >> >> GPUDevice "InactiveDevice1"
> >> >> >> >>
> >> >> >> >> The config should then look like this:
> >> >> >> >>
> >> >> >> >>> Section "Screen"
> >> >> >> >>> Identifier "Screen0"
> >> >> >> >>> Device "Device0"
> >> >> >> >>> GPUDevice "InactiveDevice1"
> >> >> >> >>> Monitor"Monitor0"
> >> >> >> >>> DefaultDepth24
> >> >> >> >>> Option "AllowEmptyInitialConfiguration" "True"
> >> >> >> >>> SubSection "Display"
> >> >> >> >>> Depth   24
> >> >> >> >>&

Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
Dne st 13. 12. 2023 20:45 uživatel  napsal:

> On 2023-12-13 19:35, Vít Smolík wrote:
> > Dne st 13. 12. 2023 20:30 uživatel 
> > napsal:
> >
> >> On 2023-12-13 19:21, Vít Smolík wrote:
> >> > st 13. 12. 2023 v 19:51 odesílatel 
> >> > napsal:
> >> >>
> >> >> On 2023-12-13 18:46, stefan1@shitposting.expert wrote:
> >> >> > On 2023-12-13 16:23, Vít Smolík wrote:
> >> >> >> st 13. 12. 2023 v 16:58 odesílatel  >
> >> >> >> napsal:
> >> >> >>>
> >> >> >>> On 2023-12-13 14:55, Vít Smolík wrote:
> >> >> >>> > st 13. 12. 2023 v 9:28 odesílatel
>  >> >
> >> >> >>> > napsal:
> >> >> >>> >>
> >> >> >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >> >> >>> >> > okay, then dont worry about this.
> >> >> >>> >> > chceck the xorg log it should be in /var/log/Xorg. >> number>.log.
> >> >> >>> >> > also check if both the nvidia and intel drivers are loaded
> >> correctly.
> >> >> >>> >> >
> >> >> >>> >> > May the Force be with you,
> >> >> >>> >> > Vít Smolík.
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >> I added the Xorg.0.log from optimus as an attachment.
> >> >> >>> > okay, i checked and i saw these lines:
> >> >> >>> >
> >> >> >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >> >> >>> >> [ 32496.682] (II) modeset(1): using default device
> >> >> >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching
> config
> >> >> >>> >> section.
> >> >> >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >> >> >>> >
> >> >> >>> > i think the third line from this citation may be the concern,
> make
> >> >> >>> > sure you installed the proprietary nvidia drivers, and disabled
> >> >> >>> > nouveau (pretty sure you already did that)
> >> >> >>> > could you send your xorg.conf? it seems to me that the config
> that
> >> >> >>> > nvidia-xconfig made is faulty.
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > May the Force be with you,
> >> >> >>> > Vít Smolík.
> >> >> >>> I added my xorg.conf as an attachment
> >> >> >> okay, try adding this line right after the "Device" line in the
> >> >> >> "Screen" section:
> >> >> >>
> >> >> >> GPUDevice "InactiveDevice1"
> >> >> >>
> >> >> >> The config should then look like this:
> >> >> >>
> >> >> >>> Section "Screen"
> >> >> >>> Identifier "Screen0"
> >> >> >>> Device "Device0"
> >> >> >>> GPUDevice "InactiveDevice1"
> >> >> >>> Monitor"Monitor0"
> >> >> >>> DefaultDepth24
> >> >> >>> Option "AllowEmptyInitialConfiguration" "True"
> >> >> >>> SubSection "Display"
> >> >> >>> Depth   24
> >> >> >>> EndSubSection
> >> >> >>> EndSection
> >> >> >> (i don't know how the formating will look in this email, but the
> >> >> >> "GPUDevice" line will be indented the same as the "Device" line)
> >> >> >>
> >> >> >> after that, save the config file and start X
> >> >> > Doing this did have an effect, but not the desired effect.
> >> >> > I still don't see xorg's display on the laptop screen, but if I
> >> >> > connect an hdmi cable to the laptop, I get output on an external
> >> >> > monitor.
> >> >> Good news, proton works.
> >> >> I don'

Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
Dne st 13. 12. 2023 20:30 uživatel  napsal:

> On 2023-12-13 19:21, Vít Smolík wrote:
> > st 13. 12. 2023 v 19:51 odesílatel 
> > napsal:
> >>
> >> On 2023-12-13 18:46, stefan1@shitposting.expert wrote:
> >> > On 2023-12-13 16:23, Vít Smolík wrote:
> >> >> st 13. 12. 2023 v 16:58 odesílatel 
> >> >> napsal:
> >> >>>
> >> >>> On 2023-12-13 14:55, Vít Smolík wrote:
> >> >>> > st 13. 12. 2023 v 9:28 odesílatel  >
> >> >>> > napsal:
> >> >>> >>
> >> >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >> >>> >> > okay, then dont worry about this.
> >> >>> >> > chceck the xorg log it should be in /var/log/Xorg. number>.log.
> >> >>> >> > also check if both the nvidia and intel drivers are loaded
> correctly.
> >> >>> >> >
> >> >>> >> > May the Force be with you,
> >> >>> >> > Vít Smolík.
> >> >>> >> >
> >> >>> >>
> >> >>> >> I added the Xorg.0.log from optimus as an attachment.
> >> >>> > okay, i checked and i saw these lines:
> >> >>> >
> >> >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >> >>> >> [ 32496.682] (II) modeset(1): using default device
> >> >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching config
> >> >>> >> section.
> >> >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >> >>> >
> >> >>> > i think the third line from this citation may be the concern, make
> >> >>> > sure you installed the proprietary nvidia drivers, and disabled
> >> >>> > nouveau (pretty sure you already did that)
> >> >>> > could you send your xorg.conf? it seems to me that the config that
> >> >>> > nvidia-xconfig made is faulty.
> >> >>> >
> >> >>> > --
> >> >>> > May the Force be with you,
> >> >>> > Vít Smolík.
> >> >>> I added my xorg.conf as an attachment
> >> >> okay, try adding this line right after the "Device" line in the
> >> >> "Screen" section:
> >> >>
> >> >> GPUDevice "InactiveDevice1"
> >> >>
> >> >> The config should then look like this:
> >> >>
> >> >>> Section "Screen"
> >> >>> Identifier "Screen0"
> >> >>> Device "Device0"
> >> >>> GPUDevice "InactiveDevice1"
> >> >>> Monitor"Monitor0"
> >> >>> DefaultDepth24
> >> >>> Option "AllowEmptyInitialConfiguration" "True"
> >> >>> SubSection "Display"
> >> >>> Depth   24
> >> >>> EndSubSection
> >> >>> EndSection
> >> >> (i don't know how the formating will look in this email, but the
> >> >> "GPUDevice" line will be indented the same as the "Device" line)
> >> >>
> >> >> after that, save the config file and start X
> >> > Doing this did have an effect, but not the desired effect.
> >> > I still don't see xorg's display on the laptop screen, but if I
> >> > connect an hdmi cable to the laptop, I get output on an external
> >> > monitor.
> >> Good news, proton works.
> >> I don't get sound with proton though, but that is a known issues with
> >> steam's runtime that can be fixed.
> >> Thanks for helping me so far. Maybe I can even get the display to work
> >> on the laptop's screen.
> >>
> > i think the fix for your problem will be adding the second monitor to
> > the xorg.conf, you only have 1 monitor configured.
> > would you mind sending me your original xorg config if you still have
> > it?
> >
>
> The xorg config I sent is the only one I had on this laptop.
> Before trying this, I didn't have an xorg config on this laptop.
>
> > also try running xrandr (after starting X), then see all of the
> > outputs and add something like this to your X config
> >>

Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
Dne st 13. 12. 2023 20:21 uživatel Vít Smolík 
napsal:

> st 13. 12. 2023 v 19:51 odesílatel 
> napsal:
> >
> > On 2023-12-13 18:46, stefan1@shitposting.expert wrote:
> > > On 2023-12-13 16:23, Vít Smolík wrote:
> > >> st 13. 12. 2023 v 16:58 odesílatel 
> > >> napsal:
> > >>>
> > >>> On 2023-12-13 14:55, Vít Smolík wrote:
> > >>> > st 13. 12. 2023 v 9:28 odesílatel 
> > >>> > napsal:
> > >>> >>
> > >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> > >>> >> > okay, then dont worry about this.
> > >>> >> > chceck the xorg log it should be in /var/log/Xorg. number>.log.
> > >>> >> > also check if both the nvidia and intel drivers are loaded
> correctly.
> > >>> >> >
> > >>> >> > May the Force be with you,
> > >>> >> > Vít Smolík.
> > >>> >> >
> > >>> >>
> > >>> >> I added the Xorg.0.log from optimus as an attachment.
> > >>> > okay, i checked and i saw these lines:
> > >>> >
> > >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> > >>> >> [ 32496.682] (II) modeset(1): using default device
> > >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching config
> > >>> >> section.
> > >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> > >>> >
> > >>> > i think the third line from this citation may be the concern, make
> > >>> > sure you installed the proprietary nvidia drivers, and disabled
> > >>> > nouveau (pretty sure you already did that)
> > >>> > could you send your xorg.conf? it seems to me that the config that
> > >>> > nvidia-xconfig made is faulty.
> > >>> >
> > >>> > --
> > >>> > May the Force be with you,
> > >>> > Vít Smolík.
> > >>> I added my xorg.conf as an attachment
> > >> okay, try adding this line right after the "Device" line in the
> > >> "Screen" section:
> > >>
> > >> GPUDevice "InactiveDevice1"
> > >>
> > >> The config should then look like this:
> > >>
> > >>> Section "Screen"
> > >>> Identifier "Screen0"
> > >>> Device "Device0"
> > >>> GPUDevice "InactiveDevice1"
> > >>> Monitor"Monitor0"
> > >>> DefaultDepth24
> > >>> Option "AllowEmptyInitialConfiguration" "True"
> > >>> SubSection "Display"
> > >>> Depth   24
> > >>> EndSubSection
> > >>> EndSection
> > >> (i don't know how the formating will look in this email, but the
> > >> "GPUDevice" line will be indented the same as the "Device" line)
> > >>
> > >> after that, save the config file and start X
> > > Doing this did have an effect, but not the desired effect.
> > > I still don't see xorg's display on the laptop screen, but if I
> > > connect an hdmi cable to the laptop, I get output on an external
> > > monitor.
> > Good news, proton works.
> > I don't get sound with proton though, but that is a known issues with
> > steam's runtime that can be fixed.
> > Thanks for helping me so far. Maybe I can even get the display to work
> > on the laptop's screen.
> >
> i think the fix for your problem will be adding the second monitor to
> the xorg.conf, you only have 1 monitor configured.
> would you mind sending me your original xorg config if you still have it?
>
> also try running xrandr (after starting X), then see all of the
> outputs and add something like this to your X config
> >
> > Section "Monitor"
> > Identifier "THE THING XRANDR OUTPUTS"
> > Option "DPMS"
> > EndSection
>
> the xrandr output should look something like this:
> > Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
> > VGA-1 disconnected (normal left inverted right x axis y axis)
> > HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x
> axis y axis) 531mm x 299mm
> >1920x1080 59.93 +  60.00*   50.0059.94
> >1920x1080i60.0050.0059.94
> >1680x1050 59.88
> > …
>
> if you can't figure it out, send the output, i will help you write the
> config ;D
>
> --
> May the Force be with you,
> Vít Smolík.
>
forgot to clarify, by "the thing xrandr outputs" i mean something like
"Monitor0" or "VGA-1" - you can see it in the example output also.

May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
st 13. 12. 2023 v 19:51 odesílatel  napsal:
>
> On 2023-12-13 18:46, stefan1@shitposting.expert wrote:
> > On 2023-12-13 16:23, Vít Smolík wrote:
> >> st 13. 12. 2023 v 16:58 odesílatel 
> >> napsal:
> >>>
> >>> On 2023-12-13 14:55, Vít Smolík wrote:
> >>> > st 13. 12. 2023 v 9:28 odesílatel 
> >>> > napsal:
> >>> >>
> >>> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >>> >> > okay, then dont worry about this.
> >>> >> > chceck the xorg log it should be in /var/log/Xorg..log.
> >>> >> > also check if both the nvidia and intel drivers are loaded correctly.
> >>> >> >
> >>> >> > May the Force be with you,
> >>> >> > Vít Smolík.
> >>> >> >
> >>> >>
> >>> >> I added the Xorg.0.log from optimus as an attachment.
> >>> > okay, i checked and i saw these lines:
> >>> >
> >>> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >>> >> [ 32496.682] (II) modeset(1): using default device
> >>> >> [ 32496.682] (EE) Screen 1 deleted because of no matching config
> >>> >> section.
> >>> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >>> >
> >>> > i think the third line from this citation may be the concern, make
> >>> > sure you installed the proprietary nvidia drivers, and disabled
> >>> > nouveau (pretty sure you already did that)
> >>> > could you send your xorg.conf? it seems to me that the config that
> >>> > nvidia-xconfig made is faulty.
> >>> >
> >>> > --
> >>> > May the Force be with you,
> >>> > Vít Smolík.
> >>> I added my xorg.conf as an attachment
> >> okay, try adding this line right after the "Device" line in the
> >> "Screen" section:
> >>
> >> GPUDevice "InactiveDevice1"
> >>
> >> The config should then look like this:
> >>
> >>> Section "Screen"
> >>> Identifier "Screen0"
> >>> Device "Device0"
> >>> GPUDevice "InactiveDevice1"
> >>> Monitor"Monitor0"
> >>> DefaultDepth24
> >>> Option "AllowEmptyInitialConfiguration" "True"
> >>> SubSection "Display"
> >>> Depth   24
> >>> EndSubSection
> >>> EndSection
> >> (i don't know how the formating will look in this email, but the
> >> "GPUDevice" line will be indented the same as the "Device" line)
> >>
> >> after that, save the config file and start X
> > Doing this did have an effect, but not the desired effect.
> > I still don't see xorg's display on the laptop screen, but if I
> > connect an hdmi cable to the laptop, I get output on an external
> > monitor.
> Good news, proton works.
> I don't get sound with proton though, but that is a known issues with
> steam's runtime that can be fixed.
> Thanks for helping me so far. Maybe I can even get the display to work
> on the laptop's screen.
>
i think the fix for your problem will be adding the second monitor to
the xorg.conf, you only have 1 monitor configured.
would you mind sending me your original xorg config if you still have it?

also try running xrandr (after starting X), then see all of the
outputs and add something like this to your X config
>
> Section "Monitor"
> Identifier "THE THING XRANDR OUTPUTS"
> Option "DPMS"
> EndSection

the xrandr output should look something like this:
> Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
> VGA-1 disconnected (normal left inverted right x axis y axis)
> HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y 
> axis) 531mm x 299mm
>1920x1080 59.93 +  60.00*   50.0059.94
>1920x1080i60.0050.0059.94
>1680x1050 59.88
> …

if you can't figure it out, send the output, i will help you write the config ;D

-- 
May the Force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
st 13. 12. 2023 v 16:58 odesílatel  napsal:
>
> On 2023-12-13 14:55, Vít Smolík wrote:
> > st 13. 12. 2023 v 9:28 odesílatel 
> > napsal:
> >>
> >> On 2023-12-13 05:34, Vít Smolík wrote:
> >> > okay, then dont worry about this.
> >> > chceck the xorg log it should be in /var/log/Xorg..log.
> >> > also check if both the nvidia and intel drivers are loaded correctly.
> >> >
> >> > May the Force be with you,
> >> > Vít Smolík.
> >> >
> >>
> >> I added the Xorg.0.log from optimus as an attachment.
> > okay, i checked and i saw these lines:
> >
> >> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> >> [ 32496.682] (II) modeset(1): using default device
> >> [ 32496.682] (EE) Screen 1 deleted because of no matching config
> >> section.
> >> [ 32496.682] (II) UnloadModule: "modesetting"
> >
> > i think the third line from this citation may be the concern, make
> > sure you installed the proprietary nvidia drivers, and disabled
> > nouveau (pretty sure you already did that)
> > could you send your xorg.conf? it seems to me that the config that
> > nvidia-xconfig made is faulty.
> >
> > --
> > May the Force be with you,
> > Vít Smolík.
> I added my xorg.conf as an attachment
okay, try adding this line right after the "Device" line in the
"Screen" section:

GPUDevice "InactiveDevice1"

The config should then look like this:

> Section "Screen"
> Identifier "Screen0"
> Device "Device0"
> GPUDevice "InactiveDevice1"
> Monitor"Monitor0"
> DefaultDepth    24
> Option "AllowEmptyInitialConfiguration" "True"
> SubSection "Display"
> Depth   24
> EndSubSection
> EndSection
(i don't know how the formating will look in this email, but the
"GPUDevice" line will be indented the same as the "Device" line)

after that, save the config file and start X

-- 
May the Force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-13 Thread Vít Smolík
st 13. 12. 2023 v 9:28 odesílatel  napsal:
>
> On 2023-12-13 05:34, Vít Smolík wrote:
> > okay, then dont worry about this.
> > chceck the xorg log it should be in /var/log/Xorg..log.
> > also check if both the nvidia and intel drivers are loaded correctly.
> >
> > May the Force be with you,
> > Vít Smolík.
> >
>
> I added the Xorg.0.log from optimus as an attachment.
okay, i checked and i saw these lines:

> [ 32496.682] (**) modeset(1): claimed PCI slot 0@0:2:0
> [ 32496.682] (II) modeset(1): using default device
> [ 32496.682] (EE) Screen 1 deleted because of no matching config section.
> [ 32496.682] (II) UnloadModule: "modesetting"

i think the third line from this citation may be the concern, make
sure you installed the proprietary nvidia drivers, and disabled
nouveau (pretty sure you already did that)
could you send your xorg.conf? it seems to me that the config that
nvidia-xconfig made is faulty.

--
May the Force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne st 13. 12. 2023 0:32 uživatel  napsal:

> On 2023-12-12 22:59, Vít Smolík wrote:
> > Dne út 12. 12. 2023 23:54 uživatel 
> > napsal:
> >
> >> On 2023-12-12 22:49, Vít Smolík wrote:
> >> > in your .xinitrc, try to drop the "&" in both of the xrandr commands,
> >> > then
> >> > start X
> >> >
> >> > May the Force be with you,
> >> > Vít Smolík.
> >> Did that, no change.
> >>
> > try to switch to the nvidia gpu
> > "optimus-manager --switch nvidia"
> > then start X, if it doesn't work, try to switch to the integrated GPU
> > "optimus-manager --switch integrated" and then start X
> >
> >>
> I do not have optimus-manager installed:
> $ optimus-manager --switch nvidia
> bash: optimus-manager: command not found
>
okay, then dont worry about this.
chceck the xorg log it should be in /var/log/Xorg..log.
also check if both the nvidia and intel drivers are loaded correctly.

May the Force be with you,
Vít Smolík.

>


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 23:54 uživatel  napsal:

> On 2023-12-12 22:49, Vít Smolík wrote:
> > in your .xinitrc, try to drop the "&" in both of the xrandr commands,
> > then
> > start X
> >
> > May the Force be with you,
> > Vít Smolík.
> Did that, no change.
>
try to switch to the nvidia gpu
"optimus-manager --switch nvidia"
then start X, if it doesn't work, try to switch to the integrated GPU
"optimus-manager --switch integrated" and then start X

>


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 23:28 uživatel  napsal:

> On 2023-12-12 22:08, Vít Smolík wrote:
> > Dne út 12. 12. 2023 22:55 uživatel 
> > napsal:
> >> Tried doing the optimus thing. Just like without optimus, I start xorg
> >> but I see nothing.
> >> Xorg and dwm properly start, I tried typing in a terminal
> >> 'speaker-test'
> >> and it worked.
> >> So the problem there isn't that xorg freezes or something, it's that I
> >> can't see the x server.
> >>
> > i am truly sorry, but i cannot understand you. so are you saying that
> > you
> > can't start xorg at all, and see some kinf of black screen?
> > if so, make sure to follow the "Before starting X", also make sure to
> > take
> > a look at the "xorg.conf" chapter so you have X configured right. and
> > also
> > see the configuration for your display manager (sddm, light-dm etc.)
> >
> >>
> > if you can loadup xorg, try switching back to the igpu by using
> > "optimus-manager --switch integrated"
> > it will log you out, so be careful.
> >
> > May the Force be with you,
> > Vít Smolík.
>
> I'll add an attachment to make things hopefully a bit more clear.
> I can start xorg via startx/xinit. All I see is it's startup text and
> nothing else.
> I do not have any package installed that provides the command
> optimus-manager, which you reference in your post.
> Here is my .xinitrc:
>
> #!/bin/sh
>
> xrandr --setprovideroutputsource modesetting NVIDIA-0 &
> xrandr --auto &
> slstatus &
> xcompmgr &
> /usr/bin/feh --bg-fill '/home/stefan/images/wallpapers/2.jpg' &
> doas chown -R root:audio /dev/snd/* &
> doas chmod 660 /dev/snd/* &
> #curl https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >
> /etc/hosts &
> exec dwm
>
> Here is the xorg.conf generated by nvidia-xconfig --prime:
>
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 525.147.05
>
> Section "ServerLayout"
>  Identifier "Layout0"
>  Screen  0  "Screen0"
>  Inactive   "InactiveDevice1"
>  InputDevice"Keyboard0" "CoreKeyboard"
>  InputDevice"Mouse0" "CorePointer"
> EndSection
>
> Section "Files"
> EndSection
>
> Section "InputDevice"
>  # generated from default
>  Identifier "Mouse0"
>  Driver "mouse"
>  Option "Protocol" "auto"
>  Option "Device" "/dev/psaux"
>  Option "Emulate3Buttons" "no"
>  Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "InputDevice"
>  # generated from default
>  Identifier "Keyboard0"
>  Driver "kbd"
> EndSection
>
> Section "Monitor"
>  Identifier "Monitor0"
>  VendorName "Unknown"
>  ModelName  "Unknown"
>  Option "DPMS"
> EndSection
>
> Section "Device"
>  Identifier "Device0"
>  Driver "nvidia"
>  VendorName "NVIDIA Corporation"
>  BusID  "PCI:1:0:0"
> EndSection
>
> Section "Device"
>  Identifier "InactiveDevice1"
>  Driver "modesetting"
>  VendorName "Unknown"
> EndSection
>
> Section "Screen"
>  Identifier "Screen0"
>  Device "Device0"
>  Monitor"Monitor0"
>  DefaultDepth24
>  Option "AllowEmptyInitialConfiguration" "True"
>  SubSection "Display"
>  Depth   24
>  EndSubSection
> EndSection
>
in your .xinitrc, try to drop the "&" in both of the xrandr commands, then
start X

May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 23:44 uživatel  napsal:

> On 2023-12-12 22:08, Vít Smolík wrote:
> > Dne út 12. 12. 2023 22:55 uživatel 
> > napsal:
> >
> >> Tried doing the optimus thing. Just like without optimus, I start xorg
> >> but I see nothing.
> >> Xorg and dwm properly start, I tried typing in a terminal
> >> 'speaker-test'
> >> and it worked.
> >> So the problem there isn't that xorg freezes or something, it's that I
> >> can't see the x server.
> >>
> > i am truly sorry, but i cannot understand you. so are you saying that
> > you
> > can't start xorg at all, and see some kinf of black screen?
> > if so, make sure to follow the "Before starting X", also make sure to
> > take
> > a look at the "xorg.conf" chapter so you have X configured right. and
> > also
> > see the configuration for your display manager (sddm, light-dm etc.)
> >
> >>
> > if you can loadup xorg, try switching back to the igpu by using
> > "optimus-manager --switch integrated"
> > it will log you out, so be careful.
> >
> > May the Force be with you,
> > Vít Smolík.
>
> I tried to add an attachment, but it seems it didn't go through.
> I can start xorg via startx/xinit. All I see is it's startup text and
> nothing else.
> I do not have any package installed that provides the command
> optimus-manager, which you reference in your post.
>
> Here is my .xinitrc:
>
> #!/bin/sh
>
> xrandr --setprovideroutputsource modesetting NVIDIA-0 &
> xrandr --auto &
> slstatus &
> xcompmgr &
> /usr/bin/feh --bg-fill '/home/stefan/images/wallpapers/2.jpg' &
> doas chown -R root:audio /dev/snd/* &
> doas chmod 660 /dev/snd/* &
> #curl https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >
> /etc/hosts &
> exec dwm
>
> Here is the xorg.conf generated by nvidia-xconfig --prime:
>
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 525.147.05
>
> Section "ServerLayout"
>  Identifier "Layout0"
>  Screen  0  "Screen0"
>  Inactive   "InactiveDevice1"
>  InputDevice"Keyboard0" "CoreKeyboard"
>  InputDevice"Mouse0" "CorePointer"
> EndSection
>
> Section "Files"
> EndSection
>
> Section "InputDevice"
>  # generated from default
>  Identifier "Mouse0"
>  Driver "mouse"
>  Option "Protocol" "auto"
>  Option "Device" "/dev/psaux"
>  Option "Emulate3Buttons" "no"
>  Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "InputDevice"
>  # generated from default
>  Identifier "Keyboard0"
>  Driver "kbd"
> EndSection
>
> Section "Monitor"
>  Identifier "Monitor0"
>  VendorName "Unknown"
>  ModelName  "Unknown"
>  Option "DPMS"
> EndSection
>
> Section "Device"
>  Identifier "Device0"
>  Driver "nvidia"
>  VendorName "NVIDIA Corporation"
>  BusID  "PCI:1:0:0"
> EndSection
>
> Section "Device"
>  Identifier "InactiveDevice1"
>  Driver "modesetting"
>  VendorName "Unknown"
> EndSection
>
> Section "Screen"
>  Identifier "Screen0"
>  Device "Device0"
>  Monitor"Monitor0"
>  DefaultDepth24
>  Option "AllowEmptyInitialConfiguration" "True"
>  SubSection "Display"
>  Depth   24
>  EndSubSection
> EndSection

i see it, may be just your email client.


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 22:55 uživatel  napsal:

> On 2023-12-12 21:22, Vít Smolík wrote:
> > Dne út 12. 12. 2023 22:16 uživatel 
> > napsal:
> >
> >> On 2023-12-12 20:49, Vít Smolík wrote:
> >> > Dne út 12. 12. 2023 21:31 uživatel 
> >> > napsal:
> >> >>
> >> >> On 2023-12-12 19:15, Vít Smolík wrote:
> >> >> > út 12. 12. 2023 v 20:09 odesílatel  >
> >> >> > napsal:
> >> >> > one more idea, you could try to disable your integrated gpu in your
> >> >> > bios, and then boot only using the Nvidia GPU, just an idea,
> >> >> > but if you send your laptop model, i can provide more
> straight-forward
> >> >> > instructions for this process
> >> >> >
> >> >> > May the force be with you,
> >> >> > Vít Smolík.
> >> >>
> >> >> It's an acer nitro 5. I don't see any option to do that in bios.
> >> >
> >> >
> >> > so, i did a bit of diging, and i found that Acer bios does not have
> >> > the option to disable the iGPU in the bios, but it does support Nvidia
> >> > Optimus. you could try to configure that, but just an FYI, it is
> >> > proprietary.
> >> >
> >> > wiki-link: https://wiki.gentoo.org/wiki/NVIDIA/Optimus
> >> >
> >>
> >> Thanks, I will try that.
> >>
>
> Tried doing the optimus thing. Just like without optimus, I start xorg
> but I see nothing.
> Xorg and dwm properly start, I tried typing in a terminal 'speaker-test'
> and it worked.
> So the problem there isn't that xorg freezes or something, it's that I
> can't see the x server.
>
i am truly sorry, but i cannot understand you. so are you saying that you
can't start xorg at all, and see some kinf of black screen?
if so, make sure to follow the "Before starting X", also make sure to take
a look at the "xorg.conf" chapter so you have X configured right. and also
see the configuration for your display manager (sddm, light-dm etc.)

>
if you can loadup xorg, try switching back to the igpu by using
"optimus-manager --switch integrated"
it will log you out, so be careful.

May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 22:16 uživatel  napsal:

> On 2023-12-12 20:49, Vít Smolík wrote:
> > Dne út 12. 12. 2023 21:31 uživatel 
> > napsal:
> >>
> >> On 2023-12-12 19:15, Vít Smolík wrote:
> >> > út 12. 12. 2023 v 20:09 odesílatel 
> >> > napsal:
> >> > one more idea, you could try to disable your integrated gpu in your
> >> > bios, and then boot only using the Nvidia GPU, just an idea,
> >> > but if you send your laptop model, i can provide more straight-forward
> >> > instructions for this process
> >> >
> >> > May the force be with you,
> >> > Vít Smolík.
> >>
> >> It's an acer nitro 5. I don't see any option to do that in bios.
> >
> >
> > so, i did a bit of diging, and i found that Acer bios does not have
> > the option to disable the iGPU in the bios, but it does support Nvidia
> > Optimus. you could try to configure that, but just an FYI, it is
> > proprietary.
> >
> > wiki-link: https://wiki.gentoo.org/wiki/NVIDIA/Optimus
> >
>
> Thanks, I will try that.
>
> >> > On the desktop, I have no-multilib and wine's wow64 mode doesn't
> properly work.
> > here, i think you could try the flatpak version of steam.
> >
> > wiki-link for flatpak: https://wiki.gentoo.org/wiki/Flatpak
> > steam on flatpak: https://flathub.org/apps/com.valvesoftware.Steam
> >
> > May the Force be with you,
> > Vít Smolík.
>
> That needs wireplumber, which needs udev, and I don't want to install
> udev or anything else related to systemd.
>
 i see, that is understandeble, i don't have an problem with systemd
myself, i can use it, but i hate apps deppending on it - even more when i
now use gentoo with OpenRC.

May the Force be with you,
Vít Smolík.

>


Re: [gentoo-user] VboxClient: the virtualbox kernel service is not running. Exiting

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 21:28 uživatel  napsal:

> After upgrade when I log in, I have message pop-up on to right hand screen:
>
> "VboxClient: the virtualbox kernel service is not running.  Exiting"
>
> Anybody know what it is or how to fix it?  There are various posts about
> it  but non of them apply to Gentoo installation.
>
> The drivers seems to be loaded.
>
>   lsmod | grep vbox
> vboxnetflt 28672  0
> vboxnetadp 28672  0
> vboxdrv   421888  2 vboxnetadp,vboxnetflt
>
>
> --
> Thelma
>

Pretty stupid question, but is the notification on the host system (the
system running the vm) or in the OS running on the VM?

May the Force be with you,
Vít Smolík.


Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
Dne út 12. 12. 2023 21:31 uživatel  napsal:
>
> On 2023-12-12 19:15, Vít Smolík wrote:
> > út 12. 12. 2023 v 20:09 odesílatel 
> > napsal:
> > one more idea, you could try to disable your integrated gpu in your
> > bios, and then boot only using the Nvidia GPU, just an idea,
> > but if you send your laptop model, i can provide more straight-forward
> > instructions for this process
> >
> > May the force be with you,
> > Vít Smolík.
>
> It's an acer nitro 5. I don't see any option to do that in bios.


so, i did a bit of diging, and i found that Acer bios does not have
the option to disable the iGPU in the bios, but it does support Nvidia
Optimus. you could try to configure that, but just an FYI, it is
proprietary.

wiki-link: https://wiki.gentoo.org/wiki/NVIDIA/Optimus

> > On the desktop, I have no-multilib and wine's wow64 mode doesn't properly 
> > work.
here, i think you could try the flatpak version of steam.

wiki-link for flatpak: https://wiki.gentoo.org/wiki/Flatpak
steam on flatpak: https://flathub.org/apps/com.valvesoftware.Steam

May the Force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
út 12. 12. 2023 v 20:09 odesílatel  napsal:
>
> On 2023-12-12 14:46, Vít Smolík wrote:
> > adding to the conversation once more, on protondb, the game is rated
> > "platinum" so you could try to run it with proton from steam.
> > if it is not officially supported you may need to go to Steam (top
> > right) -> Steam Play -> Enable Steam Play for all games.
> > if you do not own it on steam, try this
> > https://www.reddit.com/r/linux_gaming/comments/pvzn03/running_nonsteam_games_using_proton/
> >
> > May the force be with you,
> > Vít Smolík.
> >
> > May the force be with you,
> > Vít Smolík.
> >
>
> There is a problem with that.
> I have a desktop and a laptop running gentoo.
> On the desktop, I have no-multilib and wine's wow64 mode doesn't
> properly work.
> On the laptop, I have multilib and steam, but proton and wine seem to
> not be able to handle switching between the integrated gpu and the
> dedicated gpu.
> And I also cannot start xorg on the dedicated gpu and skip the
> integrated gpu.
> https://github.com/ValveSoftware/Proton/issues/7331
>
> I eventually played the game on a windows laptop.
> Will probably do the same once the game gets finally finished.
> Sad that this is how it still is on linux, but it is what it is.
> Maybe one day, I won't even have to look up if a game is linux native or
> through proton.
>
one more idea, you could try to disable your integrated gpu in your
bios, and then boot only using the Nvidia GPU, just an idea,
but if you send your laptop model, i can provide more straight-forward
instructions for this process

May the force be with you,
Vít Smolík.



Re: [gentoo-user] Wine problems

2023-12-12 Thread Vít Smolík
adding to the conversation once more, on protondb, the game is rated
"platinum" so you could try to run it with proton from steam.
if it is not officially supported you may need to go to Steam (top
right) -> Steam Play -> Enable Steam Play for all games.
if you do not own it on steam, try this
https://www.reddit.com/r/linux_gaming/comments/pvzn03/running_nonsteam_games_using_proton/

May the force be with you,
Vít Smolík.

May the force be with you,
Vít Smolík.




po 11. 12. 2023 v 21:02 odesílatel  napsal:
>
> On 2023-12-11 19:30, netfab wrote:
> > Le 11/12/23 à 19:01, stefan1@shitposting.expert a tapoté :
> >> 05f4:err:winediag:ntlm_check_version ntlm_auth was not found. Make
> >> sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find
> >> it in the winbind package of your distribution.
> >> 05f4:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect
> >> problems
> >
> >
> > For this you want samba support in wine, but I doubt it will fix your
> > main problem.
> I read some more about that and it seems that it's needed for
> authentication, something that game doesn't have.
> This may be more concerning:
> [1664:1524:1211/205310.324:ERROR:gpu_process_transport_factory.cc(1024)]
> Lost UI shared context.
>



Re: [gentoo-user] Wine problems

2023-12-11 Thread Vít Smolík
Hey,
I think you can fix the ntlm_auth errors by just building your wine package
with the "samba" use flag.

Also, could I get what GPU are you using?

Dne po 11. 12. 2023 21:02 uživatel  napsal:

> On 2023-12-11 19:30, netfab wrote:
> > Le 11/12/23 à 19:01, stefan1@shitposting.expert a tapoté :
> >> 05f4:err:winediag:ntlm_check_version ntlm_auth was not found. Make
> >> sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find
> >> it in the winbind package of your distribution.
> >> 05f4:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect
> >> problems
> >
> >
> > For this you want samba support in wine, but I doubt it will fix your
> > main problem.
> I read some more about that and it seems that it's needed for
> authentication, something that game doesn't have.
> This may be more concerning:
> [1664:1524:1211/205310.324:ERROR:gpu_process_transport_factory.cc(1024)]
> Lost UI shared context.
>
>