Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2025 21:20:26 -0400
From:      Mauricio <humo3302@gmail.com>
To:        "Jin Guojun[VFF]" <jguojun@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: HP Laptop freezes while using Xorg sporadically.
Message-ID:  <CAMsoGZ2AybgWsF1KPpnrxFd0pZC6qnzCBtjhedocaUe0w84BtA@mail.gmail.com>
In-Reply-To: <625dd3a5-0b20-4b23-8142-032510c956ce@gmail.com>
References:  <CAMsoGZ1Y0KwS8Q%2BrRTyGJbTvDPm=zd-tN=uKmrPRYMb3Oo%2B2YA@mail.gmail.com> <9baa7bab-3672-4eb1-9b02-86101e3ee87f@gmx.at> <d0f7bd1a-47b8-4d2e-a509-c2676811844e@gmail.com> <CAMsoGZ2xphB%2B=77amOn5=M8CPeEZ2cAd_WLSBYWqKRww9oBKzQ@mail.gmail.com> <625dd3a5-0b20-4b23-8142-032510c956ce@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> I had similar issue on an old HP laptop, but not sure if it is the same
> cause as yours.
>
> Please try to set Option "AllowEmptyInput" "false" in /etc/X11/xorg.conf
> (uncomment the line in Section Serverlayout)

> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
>         #Option "AllowEmptyInput" "false"
>EndSection

Ok so i have tried this and it only led me to getting a xorg error, and i
got no graphical output.
Here i leave the xorg log: https://pastebin.com/7pAKUJXz

On Mon, Jul 14, 2025 at 1:13 PM Jin Guojun[VFF] <jguojun@gmail.com> wrote:

> It can be in there or many following places. Please refer to the man
> xorg.conf.
>
>            /etc/X11/<cmdline>
>            /usr/local/etc/X11/<cmdline>
>            /etc/X11/$XORGCONFIG
>            /usr/local/etc/X11/$XORGCONFIG
>            /etc/X11/xorg.conf
>            /etc/xorg.conf
>            /usr/local/etc/X11/xorg.conf.<hostname>
>            /usr/local/etc/X11/xorg.conf
>            /usr/local/lib/X11/xorg.conf.<hostname>
>            /usr/local/lib/X11/xorg.conf
>
> AllowEmptyInput was an old problem, but just in case it reoccurs.
> In this case, Ctrl+Alt+DEL should be able to reboot the laptop. You may
> try to confirm if it is the case.
>
> I also see the similar issue on some laptops, the mainly is related to the
> display driver -- xf86-video-xxx-#.#.#_#
> Since your laptop is not using a xorg.conf file, it uses the default
> driver, which usually works.
> You may try to load video card specific driver, like
> xf86-video-ati-19.1.0_7,1 if the laptop has an ATI video card.
>
> On 7/14/25 09:22, Mauricio wrote:
>
> >I had similar issue on an old HP laptop, but not sure if it is the same
> >cause as yours.
> >
> >Please try to set Option "AllowEmptyInput" "false" in /etc/X11/xorg.conf
> >(uncomment the line in Section Serverlayout)
>
> >Section "ServerLayout"
> >        Identifier     "X.org Configured"
> >         Screen      0  "Screen0" 0 0
> >         InputDevice    "Mouse0" "CorePointer"
> >         InputDevice    "Keyboard0" "CoreKeyboard"
> >         #Option "AllowEmptyInput" "false"
> >EndSection
>
> I just did as you say. I will keep y'all informed about the results.
> Let it be noted that this file was not in that directory before.
> Also, should not this file be in /usr/local/etc/X11/ ?
> I'm asking that as a newbie. As far as i know, that's the place where
> we usually modify these kinds of files...
>
> On Mon, Jul 14, 2025 at 12:05 PM Jin Guojun[VFF] <jguojun@gmail.com>
> wrote:
>
>> On 7/14/25 04:57, infoomatic wrote:
>> > Sorry I cannot help with your problem, however, I just want to comment
>> > on the hardware: we ordered a few HP 255-G5 @dayjob back then, and
>> > after a while we gave up on them because they were constantly having
>> > Microsoft Windows Bluescreens. I then decided to throw FreeBSD on them
>> > without GUI and use it for our build farm - have worked flawlessly in
>> > that configuration now for years. It may be that there is something
>> > odd with the 255 series from HP.
>> >
>> > On 14.07.25 03:43, Mauricio wrote:
>> >> I have an HP 255-G7 Laptop running FreeBSD 14.3 RELEASE which every
>> >> now and then freezes entirely while using Xorg. When the laptop
>> >> freezes, the only thing that gives me a response is mouse and graphic
>> >> tablet movement.
>> >>
>> >> At that point, I can't jump to a virtual console with
>> >> CTRL+ALT+FUNCTIONKEY.
>> >> I can't even shut the computer down by pressing the shutdown button
>> >> for less than a second as I usually do.
>> >> But trying to do both things makes the disk activity light indicator
>> >> start blinking a lot for a moment.
>> >>
>> >> The laptop doesn't seem to get back to work even after half an hour
>> >> of waiting or more.
>> >> Something that i have been noticing is that the freeze seems to be
>> >> triggered by an increase of resources use. I noticed that because the
>> >> freezing starts usually after opening a program like a terminal
>> >> emulator while there are already some programs running in other
>> >> windows. It also happened one time while trying to use my laptop
>> >> while copying 23GBs of data in a virtual console.
>> >>
>> >> I leave some routine files here for you to check up if you feel the
>> >> need of it:
>> >>
>> >> dmesg output: https://pastebin.com/C27M5K0F
>> >> <https://pastebin.com/C27M5K0F>;
>> >> rc.conf: https://pastebin.com/9wX0sKsa <https://pastebin.com/9wX0sKsa>;
>> >> loader.conf: https://pastebin.com/wBrdL8NL
>> >> <https://pastebin.com/wBrdL8NL>;
>> >>
>> >> As always, thanks to whoever that takes the time to help me with this
>>
>> I had similar issue on an old HP laptop, but not sure if it is the same
>> cause as yours.
>>
>> Please try to set Option "AllowEmptyInput" "false" in /etc/X11/xorg.conf
>> (uncomment the line in Section Serverlayout)
>>
>> Section "ServerLayout"
>>          Identifier     "X.org Configured"
>>          Screen      0  "Screen0" 0 0
>>          InputDevice    "Mouse0" "CorePointer"
>>          InputDevice    "Keyboard0" "CoreKeyboard"
>>          #Option "AllowEmptyInput" "false"
>> EndSection
>>
>>
>>
>

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr">&gt; I had similar issue on an old HP laptop, but not sure if it is the same <br>&gt; cause as yours.<br>&gt;<br>&gt; Please try to set Option &quot;AllowEmptyInput&quot; &quot;false&quot; in /etc/X11/xorg.conf </div><div dir="ltr">&gt; (uncomment the line in Section Serverlayout)<br>
<br>&gt; Section &quot;ServerLayout&quot;<br>&gt;         Identifier     &quot;X.org Configured&quot;<br>&gt;         Screen      0  &quot;Screen0&quot; 0 0<br>&gt;         InputDevice    &quot;Mouse0&quot; &quot;CorePointer&quot;<br>&gt;         InputDevice    &quot;Keyboard0&quot; &quot;CoreKeyboard&quot;<br>&gt;         #Option &quot;AllowEmptyInput&quot; &quot;false&quot;<br>&gt;EndSection<div class="gmail-adL"><br></div><div class="gmail-adL">Ok so i have tried this and it only led me to getting a xorg error, and i got no graphical output.</div><div class="gmail-adL">Here i leave the xorg log: <a href="https://pastebin.com/7pAKUJXz">https://pastebin.com/7pAKUJXz</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 14, 2025 at 1:13 PM Jin Guojun[VFF] &lt;<a href="mailto:jguojun@gmail.com" target="_blank">jguojun@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    <div>It can be in there or many following
      places. Please refer to the man xorg.conf.</div>
    <div><br>
    </div>
    <div>           /etc/X11/&lt;cmdline&gt;<br>
                 /usr/local/etc/X11/&lt;cmdline&gt;<br>
                 /etc/X11/$XORGCONFIG<br>
                 /usr/local/etc/X11/$XORGCONFIG<br>
                 /etc/X11/xorg.conf<br>
                 /etc/xorg.conf<br>
                 /usr/local/etc/X11/xorg.conf.&lt;hostname&gt;<br>
                 /usr/local/etc/X11/xorg.conf<br>
                 /usr/local/lib/X11/xorg.conf.&lt;hostname&gt;<br>
                 /usr/local/lib/X11/xorg.conf</div>
    <div><br>
    </div>
    <div>AllowEmptyInput was an old problem, but
      just in case it reoccurs.</div>
    <div>In this case, Ctrl+Alt+DEL should be
      able to reboot the laptop. You may try to confirm if it is the
      case.</div>
    <div><br>
    </div>
    <div>I also see the similar issue on some
      laptops, the mainly is related to the display driver --
      xf86-video-xxx-#.#.#_#</div>
    <div>Since your laptop is not using a
      xorg.conf file, it uses the default driver, which usually works. </div>
    <div>You may try to load video card specific
      driver, like xf86-video-ati-19.1.0_7,1 if the laptop has an ATI
      video card.</div>
    <div><br>
    </div>
    <div>On 7/14/25 09:22, Mauricio wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">&gt;I had similar issue on an old HP laptop, but
        not sure if it is the same <br>
        &gt;cause as yours.<br>
        &gt;<br>
        &gt;Please try to set Option &quot;AllowEmptyInput&quot; &quot;false&quot; in
        /etc/X11/xorg.conf <br>
        &gt;(uncomment the line in Section Serverlayout)<br>
        <br>
        &gt;Section &quot;ServerLayout&quot;<br>
        &gt;        Identifier     &quot;X.org Configured&quot;<br>
        &gt;         Screen      0  &quot;Screen0&quot; 0 0<br>
        &gt;         InputDevice    &quot;Mouse0&quot; &quot;CorePointer&quot;<br>
        &gt;         InputDevice    &quot;Keyboard0&quot; &quot;CoreKeyboard&quot;<br>
        &gt;         #Option &quot;AllowEmptyInput&quot; &quot;false&quot;<br>
        <div>&gt;EndSection</div>
        <div><br>
        </div>
        <div>I just did as you say. I will keep y&#39;all informed about the
          results.</div>
        <div>Let it be noted that this file was not in that directory
          before.</div>
        <div>Also, should not this file be in /usr/local/etc/X11/ ?</div>
        <div>I&#39;m asking that as a newbie. As far as i know, that&#39;s the
          place where </div>
        <div>we usually modify these kinds of files...</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Jul 14, 2025 at
          12:05 PM Jin Guojun[VFF] &lt;<a href="mailto:jguojun@gmail.com" target="_blank">jguojun@gmail.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
          7/14/25 04:57, infoomatic wrote:<br>
          &gt; Sorry I cannot help with your problem, however, I just
          want to comment <br>
          &gt; on the hardware: we ordered a few HP 255-G5 @dayjob back
          then, and <br>
          &gt; after a while we gave up on them because they were
          constantly having <br>
          &gt; Microsoft Windows Bluescreens. I then decided to throw
          FreeBSD on them <br>
          &gt; without GUI and use it for our build farm - have worked
          flawlessly in <br>
          &gt; that configuration now for years. It may be that there is
          something <br>
          &gt; odd with the 255 series from HP.<br>
          &gt;<br>
          &gt; On 14.07.25 03:43, Mauricio wrote:<br>
          &gt;&gt; I have an HP 255-G7 Laptop running FreeBSD 14.3
          RELEASE which every <br>
          &gt;&gt; now and then freezes entirely while using Xorg. When
          the laptop <br>
          &gt;&gt; freezes, the only thing that gives me a response is
          mouse and graphic <br>
          &gt;&gt; tablet movement.<br>
          &gt;&gt;<br>
          &gt;&gt; At that point, I can&#39;t jump to a virtual console with
          <br>
          &gt;&gt; CTRL+ALT+FUNCTIONKEY.<br>
          &gt;&gt; I can&#39;t even shut the computer down by pressing the
          shutdown button <br>
          &gt;&gt; for less than a second as I usually do.<br>
          &gt;&gt; But trying to do both things makes the disk activity
          light indicator <br>
          &gt;&gt; start blinking a lot for a moment.<br>
          &gt;&gt;<br>
          &gt;&gt; The laptop doesn&#39;t seem to get back to work even
          after half an hour <br>
          &gt;&gt; of waiting or more.<br>
          &gt;&gt; Something that i have been noticing is that the
          freeze seems to be <br>
          &gt;&gt; triggered by an increase of resources use. I noticed
          that because the <br>
          &gt;&gt; freezing starts usually after opening a program like
          a terminal <br>
          &gt;&gt; emulator while there are already some programs
          running in other <br>
          &gt;&gt; windows. It also happened one time while trying to
          use my laptop <br>
          &gt;&gt; while copying 23GBs of data in a virtual console.<br>
          &gt;&gt;<br>
          &gt;&gt; I leave some routine files here for you to check up
          if you feel the <br>
          &gt;&gt; need of it:<br>
          &gt;&gt;<br>
          &gt;&gt; dmesg output: <a href="https://pastebin.com/C27M5K0F" rel="noreferrer" target="_blank">https://pastebin.com/C27M5K0F</a>;
          <br>
          &gt;&gt; &lt;<a href="https://pastebin.com/C27M5K0F" rel="noreferrer" target="_blank">https://pastebin.com/C27M5K0F</a>&gt;<br>;
          &gt;&gt; rc.conf: <a href="https://pastebin.com/9wX0sKsa" rel="noreferrer" target="_blank">https://pastebin.com/9wX0sKsa</a>;
          &lt;<a href="https://pastebin.com/9wX0sKsa" rel="noreferrer" target="_blank">https://pastebin.com/9wX0sKsa</a>&gt;<br>;
          &gt;&gt; loader.conf: <a href="https://pastebin.com/wBrdL8NL" rel="noreferrer" target="_blank">https://pastebin.com/wBrdL8NL</a>;
          <br>
          &gt;&gt; &lt;<a href="https://pastebin.com/wBrdL8NL" rel="noreferrer" target="_blank">https://pastebin.com/wBrdL8NL</a>&gt;<br>;
          &gt;&gt;<br>
          &gt;&gt; As always, thanks to whoever that takes the time to
          help me with this<br>
          <br>
          I had similar issue on an old HP laptop, but not sure if it is
          the same <br>
          cause as yours.<br>
          <br>
          Please try to set Option &quot;AllowEmptyInput&quot; &quot;false&quot; in
          /etc/X11/xorg.conf <br>
          (uncomment the line in Section Serverlayout)<br>
          <br>
          Section &quot;ServerLayout&quot;<br>
                   Identifier     &quot;X.org Configured&quot;<br>
                   Screen      0  &quot;Screen0&quot; 0 0<br>
                   InputDevice    &quot;Mouse0&quot; &quot;CorePointer&quot;<br>
                   InputDevice    &quot;Keyboard0&quot; &quot;CoreKeyboard&quot;<br>
                   #Option &quot;AllowEmptyInput&quot; &quot;false&quot;<br>
          EndSection<br>
          <br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <p><br>
    </p>
  </div>

</blockquote></div>
</div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMsoGZ2AybgWsF1KPpnrxFd0pZC6qnzCBtjhedocaUe0w84BtA>