Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Bob Willcox
I had to reboot my system this morning (power outage over the weekend forced
it) and now X won't start, failing with these error msgs from the Xorg.log:

[   143.327] (EE) open /dev/dri/card0: No such file or directory                                                                                                
[   143.327] (WW) Falling back to old probe method for modesetting                                                                                              
[   143.327] (EE) open /dev/dri/card0: No such file or directory                                                                                                
[   143.327] (WW) Falling back to old probe method for scfb                                                                                                    
[   143.327] scfb trace: probe start                                                                                                                            
[   143.327] (II) scfb(1): using default device                                                                                                                
[   143.327] scfb trace: probe done                                                                                                                            
[   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support                                                                                
[   143.327] (EE) Screen 0 deleted because of no matching config section.                                                                                      
[   143.327] (II) UnloadModule: "modesetting"                                                                                                                  
[   143.327] (EE)                                                                                                                                              

Fatal server error:                                                                                                                      
[   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices                                                      
[   143.328] (EE)                                                                                                                                              
[   143.328] (EE)

This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a
output is:

FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64

This system has been running with the scfb frame buffer driver for a couple of
years now with X running fine (if a bit slow).

I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today.

I updated the system this morning hoping that would help, but no such luck as
I still get the same failure.

Note that I am loading the i915kms.ko module as instructed in the
/usr/ports/UPDATING file (have been doing that all along) so it would seem
that I've run into something else.

Also, reading the FreeBSD wiki for SCFB I added this file in
/usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:

Section "Device"                                                                                                                                                
    Identifier  "Card0"                                                                                                                                        
    Driver      "scfb"                                                                                                                                          
EndSection

Without any descernable change.


Any help on this would be greatly appreciated. This is my office workstation
and not having X running is a real downer.

--
Bob Willcox    | You're dead, Jim.
[hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
Austin, TX     |
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

pete wright


On 03/20/17 11:04, Bob Willcox wrote:

> I had to reboot my system this morning (power outage over the weekend forced
> it) and now X won't start, failing with these error msgs from the Xorg.log:
>
> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> [   143.327] (WW) Falling back to old probe method for modesetting
> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> [   143.327] (WW) Falling back to old probe method for scfb
> [   143.327] scfb trace: probe start
> [   143.327] (II) scfb(1): using default device
> [   143.327] scfb trace: probe done
> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
> [   143.327] (EE) Screen 0 deleted because of no matching config section.
> [   143.327] (II) UnloadModule: "modesetting"
> [   143.327] (EE)
>
> Fatal server error:
> [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
> [   143.328] (EE)
> [   143.328] (EE)
>
> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a
> output is:
>
> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64
>
> This system has been running with the scfb frame buffer driver for a couple of
> years now with X running fine (if a bit slow).
>
> I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today.
>
> I updated the system this morning hoping that would help, but no such luck as
> I still get the same failure.
>
> Note that I am loading the i915kms.ko module as instructed in the
> /usr/ports/UPDATING file (have been doing that all along) so it would seem
> that I've run into something else.
>
> Also, reading the FreeBSD wiki for SCFB I added this file in
> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
>
> Section "Device"
>      Identifier  "Card0"
>      Driver      "scfb"
> EndSection
>
> Without any descernable change.

On my i7 skylake system I have inserted this like in my xorg.conf:

         BusID       "PCI:0:2:0"

This has allowed me to use modesetting, intel and scfb Xorg drivers
without issue.  I am not sure why X isn't able to autodetect the
appropriate BusID though...

hope this helps,
-pete

--
Pete Wright
[hidden email]
@nomadlogicLA

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Bob Willcox
On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:

>
>
> On 03/20/17 11:04, Bob Willcox wrote:
> > I had to reboot my system this morning (power outage over the weekend forced
> > it) and now X won't start, failing with these error msgs from the Xorg.log:
> >
> > [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > [   143.327] (WW) Falling back to old probe method for modesetting
> > [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > [   143.327] (WW) Falling back to old probe method for scfb
> > [   143.327] scfb trace: probe start
> > [   143.327] (II) scfb(1): using default device
> > [   143.327] scfb trace: probe done
> > [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
> > [   143.327] (EE) Screen 0 deleted because of no matching config section.
> > [   143.327] (II) UnloadModule: "modesetting"
> > [   143.327] (EE)
> >
> > Fatal server error:
> > [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
> > [   143.328] (EE)
> > [   143.328] (EE)
> >
> > This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a
> > output is:
> >
> > FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64
> >
> > This system has been running with the scfb frame buffer driver for a couple of
> > years now with X running fine (if a bit slow).
> >
> > I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today.
> >
> > I updated the system this morning hoping that would help, but no such luck as
> > I still get the same failure.
> >
> > Note that I am loading the i915kms.ko module as instructed in the
> > /usr/ports/UPDATING file (have been doing that all along) so it would seem
> > that I've run into something else.
> >
> > Also, reading the FreeBSD wiki for SCFB I added this file in
> > /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> >
> > Section "Device"
> >      Identifier  "Card0"
> >      Driver      "scfb"
> > EndSection
> >
> > Without any descernable change.
>
> On my i7 skylake system I have inserted this like in my xorg.conf:
>
>          BusID       "PCI:0:2:0"
>
> This has allowed me to use modesetting, intel and scfb Xorg drivers
> without issue.  I am not sure why X isn't able to autodetect the
> appropriate BusID though...
>
> hope this helps,
> -pete
>
> --
> Pete Wright
> [hidden email]
> @nomadlogicLA

Thanks for the reply Pete. Would you mind sending me all of your xorg.conf
file? For some reason this system had been running w/o one all this time but I
think it's time for me to create one for it. At this point the closest thing I
have to one is the driver-scfb.conf file I showed above.

Thanks again,
Bob

--
Bob Willcox    | You're dead, Jim.
[hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
Austin, TX     |
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

pete wright


On 03/20/17 11:15, Bob Willcox wrote:

> On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
>>
>> On 03/20/17 11:04, Bob Willcox wrote:
>>> I had to reboot my system this morning (power outage over the weekend forced
>>> it) and now X won't start, failing with these error msgs from the Xorg.log:
>>>
>>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
>>> [   143.327] (WW) Falling back to old probe method for modesetting
>>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
>>> [   143.327] (WW) Falling back to old probe method for scfb
>>> [   143.327] scfb trace: probe start
>>> [   143.327] (II) scfb(1): using default device
>>> [   143.327] scfb trace: probe done
>>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
>>> [   143.327] (EE) Screen 0 deleted because of no matching config section.
>>> [   143.327] (II) UnloadModule: "modesetting"
>>> [   143.327] (EE)
>>>
>>> Fatal server error:
>>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
>>> [   143.328] (EE)
>>> [   143.328] (EE)
>>>
>>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a
>>> output is:
>>>
>>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64
>>>
>>> This system has been running with the scfb frame buffer driver for a couple of
>>> years now with X running fine (if a bit slow).
>>>
>>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today.
>>>
>>> I updated the system this morning hoping that would help, but no such luck as
>>> I still get the same failure.
>>>
>>> Note that I am loading the i915kms.ko module as instructed in the
>>> /usr/ports/UPDATING file (have been doing that all along) so it would seem
>>> that I've run into something else.
>>>
>>> Also, reading the FreeBSD wiki for SCFB I added this file in
>>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
>>>
>>> Section "Device"
>>>       Identifier  "Card0"
>>>       Driver      "scfb"
>>> EndSection
>>>
>>> Without any descernable change.
>> On my i7 skylake system I have inserted this like in my xorg.conf:
>>
>>           BusID       "PCI:0:2:0"
>>
>> This has allowed me to use modesetting, intel and scfb Xorg drivers
>> without issue.  I am not sure why X isn't able to autodetect the
>> appropriate BusID though...
>>
>> hope this helps,
>> -pete
>>
>> --
>> Pete Wright
>> [hidden email]
>> @nomadlogicLA
> Thanks for the reply Pete. Would you mind sending me all of your xorg.conf
> file? For some reason this system had been running w/o one all this time but I
> think it's time for me to create one for it. At this point the closest thing I
> have to one is the driver-scfb.conf file I showed above.

sure thing - although to be clear i think the preferred method is to
*not* use a configuration file, so hopefully someone with more info than
me can help determine why BusID detection is failing on your system.

here is an example device section you can drop at
/usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location suits
you best:

Section "Device"
     Identifier  "Card0"
     Driver      "scfb"
     BusID       "PCI:0:2:0"
EndSection


also, here is my full Xorg as well - although hopefully you won't need this:

Section "ServerLayout"
     Identifier     "X.org Configured"
     Screen      0  "Screen0" 0 0
     InputDevice    "Mouse0" "CorePointer"
     InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
     ModulePath   "/usr/local/lib/xorg/modules"
     FontPath     "/usr/local/share/fonts/misc/"
     FontPath     "/usr/local/share/fonts/TTF/"
     FontPath     "/usr/local/share/fonts/OTF/"
     FontPath     "/usr/local/share/fonts/Type1/"
     FontPath     "/usr/local/share/fonts/100dpi/"
     FontPath     "/usr/local/share/fonts/75dpi/"
         FontPath "/usr/local/share/fonts/bitstream-vera/"
EndSection

Section "Module"
     Load  "glx"
         Load  "glamoregl"
         Load  "freetype"
EndSection

Section "InputDevice"
     Identifier  "Keyboard0"
     Driver      "kbd"
EndSection

Section "InputDevice"
     Identifier  "Mouse0"
     Driver      "mouse"
     Option        "Protocol" "auto"
     Option        "Device" "/dev/sysmouse"
     Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
     Identifier   "Monitor0"
     VendorName   "Monitor Vendor"
     ModelName    "Monitor Model"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "NoAccel"                # [<bool>]
         #Option     "AccelMethod"            # <str>
         #Option     "Backlight"              # <str>
         #Option     "DRI"                    # <str>
         #Option     "ColorKey"               # <i>
         #Option     "VideoKey"               # <i>
         #Option     "Tiling"                 # [<bool>]
         #Option     "LinearFramebuffer"      # [<bool>]
         #Option     "SwapbuffersWait"        # [<bool>]
         #Option     "TripleBuffer"           # [<bool>]
         #Option     "XvPreferOverlay"        # [<bool>]
         #Option     "HotPlug"                # [<bool>]
         #Option     "ReprobeOutputs"         # [<bool>]
         #Option     "XvMC"                   # [<bool>]
         #Option     "ZaphodHeads"            # <str>
         #Option     "TearFree"               # [<bool>]
         #Option     "PerCrtcPixmaps"         # [<bool>]
         #Option     "FallbackDebug"          # [<bool>]
         #Option     "DebugFlushBatches"      # [<bool>]
         #Option     "DebugFlushCaches"       # [<bool>]
         #Option     "DebugWait"              # [<bool>]
         #Option     "BufferCache"            # [<bool>]
     Identifier  "Card0"
     Driver      "scfb"
     BusID       "PCI:0:2:0"
EndSection

Section "Screen"
     Identifier "Screen0"
     Device     "Card0"
     Monitor    "Monitor0"
     SubSection "Display"
         Viewport   0 0
         Depth     1
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     4
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     8
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     15
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     16
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     24
     EndSubSection
EndSection


Cheers,
-pete


--
Pete Wright
[hidden email]
@nomadlogicLA

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Bob Willcox
On Mon, Mar 20, 2017 at 11:20:22AM -0700, Pete Wright wrote:

>
>
> On 03/20/17 11:15, Bob Willcox wrote:
> > On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
> >>
> >> On 03/20/17 11:04, Bob Willcox wrote:
> >>> I had to reboot my system this morning (power outage over the weekend forced
> >>> it) and now X won't start, failing with these error msgs from the Xorg.log:
> >>>
> >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> >>> [   143.327] (WW) Falling back to old probe method for modesetting
> >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> >>> [   143.327] (WW) Falling back to old probe method for scfb
> >>> [   143.327] scfb trace: probe start
> >>> [   143.327] (II) scfb(1): using default device
> >>> [   143.327] scfb trace: probe done
> >>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
> >>> [   143.327] (EE) Screen 0 deleted because of no matching config section.
> >>> [   143.327] (II) UnloadModule: "modesetting"
> >>> [   143.327] (EE)
> >>>
> >>> Fatal server error:
> >>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
> >>> [   143.328] (EE)
> >>> [   143.328] (EE)
> >>>
> >>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a
> >>> output is:
> >>>
> >>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64
> >>>
> >>> This system has been running with the scfb frame buffer driver for a couple of
> >>> years now with X running fine (if a bit slow).
> >>>
> >>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today.
> >>>
> >>> I updated the system this morning hoping that would help, but no such luck as
> >>> I still get the same failure.
> >>>
> >>> Note that I am loading the i915kms.ko module as instructed in the
> >>> /usr/ports/UPDATING file (have been doing that all along) so it would seem
> >>> that I've run into something else.
> >>>
> >>> Also, reading the FreeBSD wiki for SCFB I added this file in
> >>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> >>>
> >>> Section "Device"
> >>>       Identifier  "Card0"
> >>>       Driver      "scfb"
> >>> EndSection
> >>>
> >>> Without any descernable change.
> >> On my i7 skylake system I have inserted this like in my xorg.conf:
> >>
> >>           BusID       "PCI:0:2:0"
> >>
> >> This has allowed me to use modesetting, intel and scfb Xorg drivers
> >> without issue.  I am not sure why X isn't able to autodetect the
> >> appropriate BusID though...
> >>
> >> hope this helps,
> >> -pete
> >>
> >> --
> >> Pete Wright
> >> [hidden email]
> >> @nomadlogicLA
> > Thanks for the reply Pete. Would you mind sending me all of your xorg.conf
> > file? For some reason this system had been running w/o one all this time but I
> > think it's time for me to create one for it. At this point the closest thing I
> > have to one is the driver-scfb.conf file I showed above.
>
> sure thing - although to be clear i think the preferred method is to
> *not* use a configuration file, so hopefully someone with more info than
> me can help determine why BusID detection is failing on your system.
>
> here is an example device section you can drop at
> /usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location suits
> you best:
>
> Section "Device"
>      Identifier  "Card0"
>      Driver      "scfb"
>      BusID       "PCI:0:2:0"
> EndSection
>
>
> also, here is my full Xorg as well - although hopefully you won't need this:
>
> Section "ServerLayout"
>      Identifier     "X.org Configured"
>      Screen      0  "Screen0" 0 0
>      InputDevice    "Mouse0" "CorePointer"
>      InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>      ModulePath   "/usr/local/lib/xorg/modules"
>      FontPath     "/usr/local/share/fonts/misc/"
>      FontPath     "/usr/local/share/fonts/TTF/"
>      FontPath     "/usr/local/share/fonts/OTF/"
>      FontPath     "/usr/local/share/fonts/Type1/"
>      FontPath     "/usr/local/share/fonts/100dpi/"
>      FontPath     "/usr/local/share/fonts/75dpi/"
>          FontPath "/usr/local/share/fonts/bitstream-vera/"
> EndSection
>
> Section "Module"
>      Load  "glx"
>          Load  "glamoregl"
>          Load  "freetype"
> EndSection
>
> Section "InputDevice"
>      Identifier  "Keyboard0"
>      Driver      "kbd"
> EndSection
>
> Section "InputDevice"
>      Identifier  "Mouse0"
>      Driver      "mouse"
>      Option        "Protocol" "auto"
>      Option        "Device" "/dev/sysmouse"
>      Option        "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
>      Identifier   "Monitor0"
>      VendorName   "Monitor Vendor"
>      ModelName    "Monitor Model"
> EndSection
>
> Section "Device"
>          ### Available Driver options are:-
>          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
>          ### <percent>: "<f>%"
>          ### [arg]: arg optional
>          #Option     "NoAccel"                # [<bool>]
>          #Option     "AccelMethod"            # <str>
>          #Option     "Backlight"              # <str>
>          #Option     "DRI"                    # <str>
>          #Option     "ColorKey"               # <i>
>          #Option     "VideoKey"               # <i>
>          #Option     "Tiling"                 # [<bool>]
>          #Option     "LinearFramebuffer"      # [<bool>]
>          #Option     "SwapbuffersWait"        # [<bool>]
>          #Option     "TripleBuffer"           # [<bool>]
>          #Option     "XvPreferOverlay"        # [<bool>]
>          #Option     "HotPlug"                # [<bool>]
>          #Option     "ReprobeOutputs"         # [<bool>]
>          #Option     "XvMC"                   # [<bool>]
>          #Option     "ZaphodHeads"            # <str>
>          #Option     "TearFree"               # [<bool>]
>          #Option     "PerCrtcPixmaps"         # [<bool>]
>          #Option     "FallbackDebug"          # [<bool>]
>          #Option     "DebugFlushBatches"      # [<bool>]
>          #Option     "DebugFlushCaches"       # [<bool>]
>          #Option     "DebugWait"              # [<bool>]
>          #Option     "BufferCache"            # [<bool>]
>      Identifier  "Card0"
>      Driver      "scfb"
>      BusID       "PCI:0:2:0"
> EndSection
>
> Section "Screen"
>      Identifier "Screen0"
>      Device     "Card0"
>      Monitor    "Monitor0"
>      SubSection "Display"
>          Viewport   0 0
>          Depth     1
>      EndSubSection
>      SubSection "Display"
>          Viewport   0 0
>          Depth     4
>      EndSubSection
>      SubSection "Display"
>          Viewport   0 0
>          Depth     8
>      EndSubSection
>      SubSection "Display"
>          Viewport   0 0
>          Depth     15
>      EndSubSection
>      SubSection "Display"
>          Viewport   0 0
>          Depth     16
>      EndSubSection
>      SubSection "Display"
>          Viewport   0 0
>          Depth     24
>      EndSubSection
> EndSection
>
>
> Cheers,
> -pete
>
>
> --
> Pete Wright
> [hidden email]
> @nomadlogicLA
Hmm, with the BusID "PCI:0:2:0" added to my config file I now get sigmentation
faults on startup. Below is the backtrace info from the Xorg.0.log. I've also
attached the full Xorg.0.log and xorg.conf files in case that helps identify
what's wrong.


[  7020.659] (EE) AIGLX: reverting to software rendering
[  7020.792] (EE)
[  7020.792] (EE) Backtrace:
[  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
[  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506) [0x802b46e56]
[  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc) [0x802b46ddc]
[  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
[  7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d) [0x8098aee6d]
[  7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__push_back_slow_pathIS4_EEvOT_+0x22f) [0x8098823cf]
[  7020.815] (EE) 6: /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+0x1c2c) [0x80988063c]
[  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c]
[  7020.822] (EE) 8: /usr/local/llvm36/lib/libLLVM-3.6.so (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_16PPCTargetMachineE+0xc12) [0x80e7f7b64]
[  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4]
[  7020.830] (EE) 10: /usr/local/llvm36/lib/libLLVM-3.6.so (_init+0xe) [0x80d82313c]
[  7020.832] (EE) 11: ? (_rtld_is_dlopened+0x1ad7) [0x800809ec7]
[  7020.835] (EE) 12: ? (dlopen+0x190) [0x800805280]
[  7020.838] (EE) 13: /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1e24b) [0x804849edb]
[  7020.841] (EE) 14: /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1d6ff) [0x80484880f]
[  7020.844] (EE) 15: /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1cd4e) [0x8048473ee]
[  7020.847] (EE) 16: /usr/local/bin/X (InitExtensions+0x61) [0x4a7b91]
[  7020.850] (EE) 17: /usr/local/bin/X (remove_fs_handlers+0x301) [0x439dd1]
[  7020.853] (EE) 18: /usr/local/bin/X (_start+0x16f) [0x42501f]
[  7020.856] (EE) 19: ? (?+0x16f) [0x80082456f]
[  7020.856] (EE)
[  7020.856] (EE) Segmentation fault at address 0x0
[  7020.856] (EE)
Fatal server error:
[  7020.856] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  7020.856] (EE)
[  7020.856] (EE)



--
Bob Willcox    | You're dead, Jim.
[hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
Austin, TX     |

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"

xorg.conf (3K) Download Attachment
Xorg.0.log (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Chris H-2
OK. These suggestions may just be shots in the dark; but...
You might give Xorg -configure a try, to see if it might
provide you with some hints as to what it *thinks* you have.

I notice in your Xorg.0.log that X barfs on AIGLX.
You might just try adding the following to the
Section "ServerLayout" block:

Option         "AIGLX" "false"

and see if that overcomes the problem.


Hope this helps, and apologies for top posting.

--Chris
On Mon, 20 Mar 2017 13:59:16 -0500 Bob Willcox <[hidden email]> wrote

> On Mon, Mar 20, 2017 at 11:20:22AM -0700, Pete Wright wrote:
> >
> >
> > On 03/20/17 11:15, Bob Willcox wrote:
> > > On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
> > >>
> > >> On 03/20/17 11:04, Bob Willcox wrote:
> > >>> I had to reboot my system this morning (power outage over the weekend
> > >>> forced it) and now X won't start, failing with these error msgs from
> > >>> the Xorg.log: > >>>
> > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > >>> [   143.327] (WW) Falling back to old probe method for modesetting
> > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > >>> [   143.327] (WW) Falling back to old probe method for scfb
> > >>> [   143.327] scfb trace: probe start
> > >>> [   143.327] (II) scfb(1): using default device
> > >>> [   143.327] scfb trace: probe done
> > >>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no
> > >>> multi-card support [   143.327] (EE) Screen 0 deleted because of no
> > >>> matching config section. [   143.327] (II) UnloadModule: "modesetting"
> > >>> [   143.327] (EE)
> > >>>
> > >>> Fatal server error:
> > >>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs
> > >>>        for all framebuffer devices [   143.328] (EE)
> > >>> [   143.328] (EE)
> > >>>
> > >>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The
> > >>> uname -a output is:
> > >>>
> > >>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3
> > >>> r315638: Mon Mar 20 11:44:00 CDT 2017
> > >>> [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64 > >>>
> > >>> This system has been running with the scfb frame buffer driver for a
> > >>> couple of years now with X running fine (if a bit slow).
> > >>>
> > >>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted till
> > >>> today. > >>>
> > >>> I updated the system this morning hoping that would help, but no such
> > >>> luck as I still get the same failure.
> > >>>
> > >>> Note that I am loading the i915kms.ko module as instructed in the
> > >>> /usr/ports/UPDATING file (have been doing that all along) so it would
> > >>> seem that I've run into something else.
> > >>>
> > >>> Also, reading the FreeBSD wiki for SCFB I added this file in
> > >>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> > >>>
> > >>> Section "Device"
> > >>>       Identifier  "Card0"
> > >>>       Driver      "scfb"
> > >>> EndSection
> > >>>
> > >>> Without any descernable change.
> > >> On my i7 skylake system I have inserted this like in my xorg.conf:
> > >>
> > >>           BusID       "PCI:0:2:0"
> > >>
> > >> This has allowed me to use modesetting, intel and scfb Xorg drivers
> > >> without issue.  I am not sure why X isn't able to autodetect the
> > >> appropriate BusID though...
> > >>
> > >> hope this helps,
> > >> -pete
> > >>
> > >> --
> > >> Pete Wright
> > >> [hidden email]
> > >> @nomadlogicLA
> > > Thanks for the reply Pete. Would you mind sending me all of your
> > > xorg.conf file? For some reason this system had been running w/o one all
> > > this time but I think it's time for me to create one for it. At this
> > > point the closest thing I have to one is the driver-scfb.conf file I
> > > showed above. >
> > sure thing - although to be clear i think the preferred method is to
> > *not* use a configuration file, so hopefully someone with more info than
> > me can help determine why BusID detection is failing on your system.
> >
> > here is an example device section you can drop at
> > /usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location suits
> > you best:
> >
> > Section "Device"
> >      Identifier  "Card0"
> >      Driver      "scfb"
> >      BusID       "PCI:0:2:0"
> > EndSection
> >
> >
> > also, here is my full Xorg as well - although hopefully you won't need
> > this:
> > Section "ServerLayout"
> >      Identifier     "X.org Configured"
> >      Screen      0  "Screen0" 0 0
> >      InputDevice    "Mouse0" "CorePointer"
> >      InputDevice    "Keyboard0" "CoreKeyboard"
> > EndSection
> >
> > Section "Files"
> >      ModulePath   "/usr/local/lib/xorg/modules"
> >      FontPath     "/usr/local/share/fonts/misc/"
> >      FontPath     "/usr/local/share/fonts/TTF/"
> >      FontPath     "/usr/local/share/fonts/OTF/"
> >      FontPath     "/usr/local/share/fonts/Type1/"
> >      FontPath     "/usr/local/share/fonts/100dpi/"
> >      FontPath     "/usr/local/share/fonts/75dpi/"
> >          FontPath "/usr/local/share/fonts/bitstream-vera/"
> > EndSection
> >
> > Section "Module"
> >      Load  "glx"
> >          Load  "glamoregl"
> >          Load  "freetype"
> > EndSection
> >
> > Section "InputDevice"
> >      Identifier  "Keyboard0"
> >      Driver      "kbd"
> > EndSection
> >
> > Section "InputDevice"
> >      Identifier  "Mouse0"
> >      Driver      "mouse"
> >      Option        "Protocol" "auto"
> >      Option        "Device" "/dev/sysmouse"
> >      Option        "ZAxisMapping" "4 5 6 7"
> > EndSection
> >
> > Section "Monitor"
> >      Identifier   "Monitor0"
> >      VendorName   "Monitor Vendor"
> >      ModelName    "Monitor Model"
> > EndSection
> >
> > Section "Device"
> >          ### Available Driver options are:-
> >          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> >          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> >          ### <percent>: "<f>%"
> >          ### [arg]: arg optional
> >          #Option     "NoAccel"                # [<bool>]
> >          #Option     "AccelMethod"            # <str>
> >          #Option     "Backlight"              # <str>
> >          #Option     "DRI"                    # <str>
> >          #Option     "ColorKey"               # <i>
> >          #Option     "VideoKey"               # <i>
> >          #Option     "Tiling"                 # [<bool>]
> >          #Option     "LinearFramebuffer"      # [<bool>]
> >          #Option     "SwapbuffersWait"        # [<bool>]
> >          #Option     "TripleBuffer"           # [<bool>]
> >          #Option     "XvPreferOverlay"        # [<bool>]
> >          #Option     "HotPlug"                # [<bool>]
> >          #Option     "ReprobeOutputs"         # [<bool>]
> >          #Option     "XvMC"                   # [<bool>]
> >          #Option     "ZaphodHeads"            # <str>
> >          #Option     "TearFree"               # [<bool>]
> >          #Option     "PerCrtcPixmaps"         # [<bool>]
> >          #Option     "FallbackDebug"          # [<bool>]
> >          #Option     "DebugFlushBatches"      # [<bool>]
> >          #Option     "DebugFlushCaches"       # [<bool>]
> >          #Option     "DebugWait"              # [<bool>]
> >          #Option     "BufferCache"            # [<bool>]
> >      Identifier  "Card0"
> >      Driver      "scfb"
> >      BusID       "PCI:0:2:0"
> > EndSection
> >
> > Section "Screen"
> >      Identifier "Screen0"
> >      Device     "Card0"
> >      Monitor    "Monitor0"
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     1
> >      EndSubSection
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     4
> >      EndSubSection
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     8
> >      EndSubSection
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     15
> >      EndSubSection
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     16
> >      EndSubSection
> >      SubSection "Display"
> >          Viewport   0 0
> >          Depth     24
> >      EndSubSection
> > EndSection
> >
> >
> > Cheers,
> > -pete
> >
> >
> > --
> > Pete Wright
> > [hidden email]
> > @nomadlogicLA
>
> Hmm, with the BusID "PCI:0:2:0" added to my config file I now get
> sigmentation faults on startup. Below is the backtrace info from the
> Xorg.0.log. I've also attached the full Xorg.0.log and xorg.conf files in
> case that helps identify what's wrong.
>
>
> [  7020.659] (EE) AIGLX: reverting to software rendering
> [  7020.792] (EE)
> [  7020.792] (EE) Backtrace:
> [  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
> [  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506) [0x802b46e56]
> [  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc)
> [0x802b46ddc] [  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
> [  7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
> (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d) [0x8098aee6d]
> [  7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
> (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__push_bac
> k_slow_pathIS4_EEvOT_+0x22f) [0x8098823cf] [  7020.815] (EE) 6:
> /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+0x1c2c)
> [0x80988063c] [  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so
> (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c] [  7020.822] (EE) 8:
> /usr/local/llvm36/lib/libLLVM-3.6.so
> (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_16PPCTargetMachineE+0xc12)
> [0x80e7f7b64] [  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so
> (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4] [  7020.830] (EE) 10:
> /usr/local/llvm36/lib/libLLVM-3.6.so (_init+0xe) [0x80d82313c] [  7020.832]
> (EE) 11: ? (_rtld_is_dlopened+0x1ad7) [0x800809ec7] [  7020.835] (EE) 12: ?
> (dlopen+0x190) [0x800805280] [  7020.838] (EE) 13:
> /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1e24b)
> [0x804849edb] [  7020.841] (EE) 14:
> /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1d6ff)
> [0x80484880f] [  7020.844] (EE) 15:
> /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1cd4e)
> [0x8048473ee] [  7020.847] (EE) 16: /usr/local/bin/X (InitExtensions+0x61)
> [0x4a7b91] [  7020.850] (EE) 17: /usr/local/bin/X (remove_fs_handlers+0x301)
> [0x439dd1] [  7020.853] (EE) 18: /usr/local/bin/X (_start+0x16f) [0x42501f]
> [  7020.856] (EE) 19: ? (?+0x16f) [0x80082456f]
> [  7020.856] (EE)
> [  7020.856] (EE) Segmentation fault at address 0x0
> [  7020.856] (EE)
> Fatal server error:
> [  7020.856] (EE) Caught signal 11 (Segmentation fault). Server aborting
> [  7020.856] (EE)
> [  7020.856] (EE)
>
>
>
> --
> Bob Willcox    | You're dead, Jim.
> [hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
> Austin, TX     |


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Kevin Oberman-4
On Mon, Mar 20, 2017 at 2:13 PM, Chris H <[hidden email]> wrote:

> OK. These suggestions may just be shots in the dark; but...
> You might give Xorg -configure a try, to see if it might
> provide you with some hints as to what it *thinks* you have.
>
> I notice in your Xorg.0.log that X barfs on AIGLX.
> You might just try adding the following to the
> Section "ServerLayout" block:
>
> Option         "AIGLX" "false"
>
> and see if that overcomes the problem.
>
>
> Hope this helps, and apologies for top posting.
>
> --Chris
> On Mon, 20 Mar 2017 13:59:16 -0500 Bob Willcox <[hidden email]> wrote
>
> > On Mon, Mar 20, 2017 at 11:20:22AM -0700, Pete Wright wrote:
> > >
> > >
> > > On 03/20/17 11:15, Bob Willcox wrote:
> > > > On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
> > > >>
> > > >> On 03/20/17 11:04, Bob Willcox wrote:
> > > >>> I had to reboot my system this morning (power outage over the
> weekend
> > > >>> forced it) and now X won't start, failing with these error msgs
> from
> > > >>> the Xorg.log: > >>>
> > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > >>> [   143.327] (WW) Falling back to old probe method for modesetting
> > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > >>> [   143.327] (WW) Falling back to old probe method for scfb
> > > >>> [   143.327] scfb trace: probe start
> > > >>> [   143.327] (II) scfb(1): using default device
> > > >>> [   143.327] scfb trace: probe done
> > > >>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no
> > > >>> multi-card support [   143.327] (EE) Screen 0 deleted because of no
> > > >>> matching config section. [   143.327] (II) UnloadModule:
> "modesetting"
> > > >>> [   143.327] (EE)
> > > >>>
> > > >>> Fatal server error:
> > > >>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify
> busIDs
> > > >>>        for all framebuffer devices [   143.328] (EE)
> > > >>> [   143.328] (EE)
> > > >>>
> > > >>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The
> > > >>> uname -a output is:
> > > >>>
> > > >>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3
> > > >>> r315638: Mon Mar 20 11:44:00 CDT 2017
> > > >>> [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64 >
> >>>
> > > >>> This system has been running with the scfb frame buffer driver for
> a
> > > >>> couple of years now with X running fine (if a bit slow).
> > > >>>
> > > >>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted
> till
> > > >>> today. > >>>
> > > >>> I updated the system this morning hoping that would help, but no
> such
> > > >>> luck as I still get the same failure.
> > > >>>
> > > >>> Note that I am loading the i915kms.ko module as instructed in the
> > > >>> /usr/ports/UPDATING file (have been doing that all along) so it
> would
> > > >>> seem that I've run into something else.
> > > >>>
> > > >>> Also, reading the FreeBSD wiki for SCFB I added this file in
> > > >>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> > > >>>
> > > >>> Section "Device"
> > > >>>       Identifier  "Card0"
> > > >>>       Driver      "scfb"
> > > >>> EndSection
> > > >>>
> > > >>> Without any descernable change.
> > > >> On my i7 skylake system I have inserted this like in my xorg.conf:
> > > >>
> > > >>           BusID       "PCI:0:2:0"
> > > >>
> > > >> This has allowed me to use modesetting, intel and scfb Xorg drivers
> > > >> without issue.  I am not sure why X isn't able to autodetect the
> > > >> appropriate BusID though...
> > > >>
> > > >> hope this helps,
> > > >> -pete
> > > >>
> > > >> --
> > > >> Pete Wright
> > > >> [hidden email]
> > > >> @nomadlogicLA
> > > > Thanks for the reply Pete. Would you mind sending me all of your
> > > > xorg.conf file? For some reason this system had been running w/o one
> all
> > > > this time but I think it's time for me to create one for it. At this
> > > > point the closest thing I have to one is the driver-scfb.conf file I
> > > > showed above. >
> > > sure thing - although to be clear i think the preferred method is to
> > > *not* use a configuration file, so hopefully someone with more info
> than
> > > me can help determine why BusID detection is failing on your system.
> > >
> > > here is an example device section you can drop at
> > > /usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location
> suits
> > > you best:
> > >
> > > Section "Device"
> > >      Identifier  "Card0"
> > >      Driver      "scfb"
> > >      BusID       "PCI:0:2:0"
> > > EndSection
> > >
> > >
> > > also, here is my full Xorg as well - although hopefully you won't need
> > > this:
> > > Section "ServerLayout"
> > >      Identifier     "X.org Configured"
> > >      Screen      0  "Screen0" 0 0
> > >      InputDevice    "Mouse0" "CorePointer"
> > >      InputDevice    "Keyboard0" "CoreKeyboard"
> > > EndSection
> > >
> > > Section "Files"
> > >      ModulePath   "/usr/local/lib/xorg/modules"
> > >      FontPath     "/usr/local/share/fonts/misc/"
> > >      FontPath     "/usr/local/share/fonts/TTF/"
> > >      FontPath     "/usr/local/share/fonts/OTF/"
> > >      FontPath     "/usr/local/share/fonts/Type1/"
> > >      FontPath     "/usr/local/share/fonts/100dpi/"
> > >      FontPath     "/usr/local/share/fonts/75dpi/"
> > >          FontPath "/usr/local/share/fonts/bitstream-vera/"
> > > EndSection
> > >
> > > Section "Module"
> > >      Load  "glx"
> > >          Load  "glamoregl"
> > >          Load  "freetype"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >      Identifier  "Keyboard0"
> > >      Driver      "kbd"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >      Identifier  "Mouse0"
> > >      Driver      "mouse"
> > >      Option        "Protocol" "auto"
> > >      Option        "Device" "/dev/sysmouse"
> > >      Option        "ZAxisMapping" "4 5 6 7"
> > > EndSection
> > >
> > > Section "Monitor"
> > >      Identifier   "Monitor0"
> > >      VendorName   "Monitor Vendor"
> > >      ModelName    "Monitor Model"
> > > EndSection
> > >
> > > Section "Device"
> > >          ### Available Driver options are:-
> > >          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> > >          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> > >          ### <percent>: "<f>%"
> > >          ### [arg]: arg optional
> > >          #Option     "NoAccel"                # [<bool>]
> > >          #Option     "AccelMethod"            # <str>
> > >          #Option     "Backlight"              # <str>
> > >          #Option     "DRI"                    # <str>
> > >          #Option     "ColorKey"               # <i>
> > >          #Option     "VideoKey"               # <i>
> > >          #Option     "Tiling"                 # [<bool>]
> > >          #Option     "LinearFramebuffer"      # [<bool>]
> > >          #Option     "SwapbuffersWait"        # [<bool>]
> > >          #Option     "TripleBuffer"           # [<bool>]
> > >          #Option     "XvPreferOverlay"        # [<bool>]
> > >          #Option     "HotPlug"                # [<bool>]
> > >          #Option     "ReprobeOutputs"         # [<bool>]
> > >          #Option     "XvMC"                   # [<bool>]
> > >          #Option     "ZaphodHeads"            # <str>
> > >          #Option     "TearFree"               # [<bool>]
> > >          #Option     "PerCrtcPixmaps"         # [<bool>]
> > >          #Option     "FallbackDebug"          # [<bool>]
> > >          #Option     "DebugFlushBatches"      # [<bool>]
> > >          #Option     "DebugFlushCaches"       # [<bool>]
> > >          #Option     "DebugWait"              # [<bool>]
> > >          #Option     "BufferCache"            # [<bool>]
> > >      Identifier  "Card0"
> > >      Driver      "scfb"
> > >      BusID       "PCI:0:2:0"
> > > EndSection
> > >
> > > Section "Screen"
> > >      Identifier "Screen0"
> > >      Device     "Card0"
> > >      Monitor    "Monitor0"
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     1
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     4
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     8
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     15
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     16
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     24
> > >      EndSubSection
> > > EndSection
> > >
> > >
> > > Cheers,
> > > -pete
> > >
> > >
> > > --
> > > Pete Wright
> > > [hidden email]
> > > @nomadlogicLA
> >
> > Hmm, with the BusID "PCI:0:2:0" added to my config file I now get
> > sigmentation faults on startup. Below is the backtrace info from the
> > Xorg.0.log. I've also attached the full Xorg.0.log and xorg.conf files in
> > case that helps identify what's wrong.
> >
> >
> > [  7020.659] (EE) AIGLX: reverting to software rendering
> > [  7020.792] (EE)
> > [  7020.792] (EE) Backtrace:
> > [  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
> > [  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506)
> [0x802b46e56]
> > [  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc)
> > [0x802b46ddc] [  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
> > [  7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d)
> [0x8098aee6d]
> > [  7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__
> push_bac
> > k_slow_pathIS4_EEvOT_+0x22f) [0x8098823cf] [  7020.815] (EE) 6:
> > /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+
> 0x1c2c)
> > [0x80988063c] [  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c] [  7020.822]
> (EE) 8:
> > /usr/local/llvm36/lib/libLLVM-3.6.so
> > (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_
> 16PPCTargetMachineE+0xc12)
> > [0x80e7f7b64] [  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so
> > (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4] [  7020.830] (EE) 10:
> > /usr/local/llvm36/lib/libLLVM-3.6.so (_init+0xe) [0x80d82313c] [
> 7020.832]
> > (EE) 11: ? (_rtld_is_dlopened+0x1ad7) [0x800809ec7] [  7020.835] (EE)
> 12: ?
> > (dlopen+0x190) [0x800805280] [  7020.838] (EE) 13:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1e24b)
> > [0x804849edb] [  7020.841] (EE) 14:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1d6ff)
> > [0x80484880f] [  7020.844] (EE) 15:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1cd4e)
> > [0x8048473ee] [  7020.847] (EE) 16: /usr/local/bin/X
> (InitExtensions+0x61)
> > [0x4a7b91] [  7020.850] (EE) 17: /usr/local/bin/X
> (remove_fs_handlers+0x301)
> > [0x439dd1] [  7020.853] (EE) 18: /usr/local/bin/X (_start+0x16f)
> [0x42501f]
> > [  7020.856] (EE) 19: ? (?+0x16f) [0x80082456f]
> > [  7020.856] (EE)
> > [  7020.856] (EE) Segmentation fault at address 0x0
> > [  7020.856] (EE)
> > Fatal server error:
> > [  7020.856] (EE) Caught signal 11 (Segmentation fault). Server aborting
> > [  7020.856] (EE)
> > [  7020.856] (EE)
> >
> >
> >
> > --
> > Bob Willcox    | You're dead, Jim.
> > [hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
> > Austin, TX     |
>

First, I strongly suggest a minimal Xorg.conf. I have added fonts and:
 Section "Screen"
  Identifier    "Screen0"
  Device    "Card0"
  Monitor    "Monitor0"
  DefaultDepth    24
  Option    "RegistryDwords" "EnableBrightnessControl=1"
EndSection
to support brightness control.

I note that you have been running scfb for some time. If it was before
Broadwell was supported by FreeBSD and you had to use it, it might be time
to move back to the i915kms driver. I'm not sure why you would use both,
though I am far from an expert.

Have you confirmed that 0:2:0 is the correct value for PCI? While this is
usually correct, I'd try 'pciconf -lv | grep -A4 vga' to confirm that.

Finally, there was a bug that was just fixed to prevent both i915.ko and
i915kms.ko from loading. This did trigger segmentation faults. You might
check with kldstat before starting X and unload i915.ko if it is present.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [hidden email]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Bob Willcox
In reply to this post by Chris H-2
On Mon, Mar 20, 2017 at 02:13:57PM -0700, Chris H wrote:

> OK. These suggestions may just be shots in the dark; but...
> You might give Xorg -configure a try, to see if it might
> provide you with some hints as to what it *thinks* you have.
>
> I notice in your Xorg.0.log that X barfs on AIGLX.
> You might just try adding the following to the
> Section "ServerLayout" block:
>
> Option         "AIGLX" "false"
>
> and see if that overcomes the problem.
>
>
> Hope this helps, and apologies for top posting.
>
> --Chris

Thanks for the reply. I have tried running Xorg -configure a few times w/o
success. Indeed, I used it to create the xorg.conf file that I'm trying to use
currently with changes to the Device section ("scfb" vs "intel") and the
addtion of the BusID setting.

Also, turning off AIGLX did disable it but made no change to the segmentation
fault (identical stack trace).

Bob

> On Mon, 20 Mar 2017 13:59:16 -0500 Bob Willcox <[hidden email]> wrote
>
> > On Mon, Mar 20, 2017 at 11:20:22AM -0700, Pete Wright wrote:
> > >
> > >
> > > On 03/20/17 11:15, Bob Willcox wrote:
> > > > On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
> > > >>
> > > >> On 03/20/17 11:04, Bob Willcox wrote:
> > > >>> I had to reboot my system this morning (power outage over the weekend
> > > >>> forced it) and now X won't start, failing with these error msgs from
> > > >>> the Xorg.log: > >>>
> > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > >>> [   143.327] (WW) Falling back to old probe method for modesetting
> > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > >>> [   143.327] (WW) Falling back to old probe method for scfb
> > > >>> [   143.327] scfb trace: probe start
> > > >>> [   143.327] (II) scfb(1): using default device
> > > >>> [   143.327] scfb trace: probe done
> > > >>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no
> > > >>> multi-card support [   143.327] (EE) Screen 0 deleted because of no
> > > >>> matching config section. [   143.327] (II) UnloadModule: "modesetting"
> > > >>> [   143.327] (EE)
> > > >>>
> > > >>> Fatal server error:
> > > >>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs
> > > >>>        for all framebuffer devices [   143.328] (EE)
> > > >>> [   143.328] (EE)
> > > >>>
> > > >>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The
> > > >>> uname -a output is:
> > > >>>
> > > >>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3
> > > >>> r315638: Mon Mar 20 11:44:00 CDT 2017
> > > >>> [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64 > >>>
> > > >>> This system has been running with the scfb frame buffer driver for a
> > > >>> couple of years now with X running fine (if a bit slow).
> > > >>>
> > > >>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted till
> > > >>> today. > >>>
> > > >>> I updated the system this morning hoping that would help, but no such
> > > >>> luck as I still get the same failure.
> > > >>>
> > > >>> Note that I am loading the i915kms.ko module as instructed in the
> > > >>> /usr/ports/UPDATING file (have been doing that all along) so it would
> > > >>> seem that I've run into something else.
> > > >>>
> > > >>> Also, reading the FreeBSD wiki for SCFB I added this file in
> > > >>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> > > >>>
> > > >>> Section "Device"
> > > >>>       Identifier  "Card0"
> > > >>>       Driver      "scfb"
> > > >>> EndSection
> > > >>>
> > > >>> Without any descernable change.
> > > >> On my i7 skylake system I have inserted this like in my xorg.conf:
> > > >>
> > > >>           BusID       "PCI:0:2:0"
> > > >>
> > > >> This has allowed me to use modesetting, intel and scfb Xorg drivers
> > > >> without issue.  I am not sure why X isn't able to autodetect the
> > > >> appropriate BusID though...
> > > >>
> > > >> hope this helps,
> > > >> -pete
> > > >>
> > > >> --
> > > >> Pete Wright
> > > >> [hidden email]
> > > >> @nomadlogicLA
> > > > Thanks for the reply Pete. Would you mind sending me all of your
> > > > xorg.conf file? For some reason this system had been running w/o one all
> > > > this time but I think it's time for me to create one for it. At this
> > > > point the closest thing I have to one is the driver-scfb.conf file I
> > > > showed above. >
> > > sure thing - although to be clear i think the preferred method is to
> > > *not* use a configuration file, so hopefully someone with more info than
> > > me can help determine why BusID detection is failing on your system.
> > >
> > > here is an example device section you can drop at
> > > /usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location suits
> > > you best:
> > >
> > > Section "Device"
> > >      Identifier  "Card0"
> > >      Driver      "scfb"
> > >      BusID       "PCI:0:2:0"
> > > EndSection
> > >
> > >
> > > also, here is my full Xorg as well - although hopefully you won't need
> > > this:
> > > Section "ServerLayout"
> > >      Identifier     "X.org Configured"
> > >      Screen      0  "Screen0" 0 0
> > >      InputDevice    "Mouse0" "CorePointer"
> > >      InputDevice    "Keyboard0" "CoreKeyboard"
> > > EndSection
> > >
> > > Section "Files"
> > >      ModulePath   "/usr/local/lib/xorg/modules"
> > >      FontPath     "/usr/local/share/fonts/misc/"
> > >      FontPath     "/usr/local/share/fonts/TTF/"
> > >      FontPath     "/usr/local/share/fonts/OTF/"
> > >      FontPath     "/usr/local/share/fonts/Type1/"
> > >      FontPath     "/usr/local/share/fonts/100dpi/"
> > >      FontPath     "/usr/local/share/fonts/75dpi/"
> > >          FontPath "/usr/local/share/fonts/bitstream-vera/"
> > > EndSection
> > >
> > > Section "Module"
> > >      Load  "glx"
> > >          Load  "glamoregl"
> > >          Load  "freetype"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >      Identifier  "Keyboard0"
> > >      Driver      "kbd"
> > > EndSection
> > >
> > > Section "InputDevice"
> > >      Identifier  "Mouse0"
> > >      Driver      "mouse"
> > >      Option        "Protocol" "auto"
> > >      Option        "Device" "/dev/sysmouse"
> > >      Option        "ZAxisMapping" "4 5 6 7"
> > > EndSection
> > >
> > > Section "Monitor"
> > >      Identifier   "Monitor0"
> > >      VendorName   "Monitor Vendor"
> > >      ModelName    "Monitor Model"
> > > EndSection
> > >
> > > Section "Device"
> > >          ### Available Driver options are:-
> > >          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> > >          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> > >          ### <percent>: "<f>%"
> > >          ### [arg]: arg optional
> > >          #Option     "NoAccel"                # [<bool>]
> > >          #Option     "AccelMethod"            # <str>
> > >          #Option     "Backlight"              # <str>
> > >          #Option     "DRI"                    # <str>
> > >          #Option     "ColorKey"               # <i>
> > >          #Option     "VideoKey"               # <i>
> > >          #Option     "Tiling"                 # [<bool>]
> > >          #Option     "LinearFramebuffer"      # [<bool>]
> > >          #Option     "SwapbuffersWait"        # [<bool>]
> > >          #Option     "TripleBuffer"           # [<bool>]
> > >          #Option     "XvPreferOverlay"        # [<bool>]
> > >          #Option     "HotPlug"                # [<bool>]
> > >          #Option     "ReprobeOutputs"         # [<bool>]
> > >          #Option     "XvMC"                   # [<bool>]
> > >          #Option     "ZaphodHeads"            # <str>
> > >          #Option     "TearFree"               # [<bool>]
> > >          #Option     "PerCrtcPixmaps"         # [<bool>]
> > >          #Option     "FallbackDebug"          # [<bool>]
> > >          #Option     "DebugFlushBatches"      # [<bool>]
> > >          #Option     "DebugFlushCaches"       # [<bool>]
> > >          #Option     "DebugWait"              # [<bool>]
> > >          #Option     "BufferCache"            # [<bool>]
> > >      Identifier  "Card0"
> > >      Driver      "scfb"
> > >      BusID       "PCI:0:2:0"
> > > EndSection
> > >
> > > Section "Screen"
> > >      Identifier "Screen0"
> > >      Device     "Card0"
> > >      Monitor    "Monitor0"
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     1
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     4
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     8
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     15
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     16
> > >      EndSubSection
> > >      SubSection "Display"
> > >          Viewport   0 0
> > >          Depth     24
> > >      EndSubSection
> > > EndSection
> > >
> > >
> > > Cheers,
> > > -pete
> > >
> > >
> > > --
> > > Pete Wright
> > > [hidden email]
> > > @nomadlogicLA
> >
> > Hmm, with the BusID "PCI:0:2:0" added to my config file I now get
> > sigmentation faults on startup. Below is the backtrace info from the
> > Xorg.0.log. I've also attached the full Xorg.0.log and xorg.conf files in
> > case that helps identify what's wrong.
> >
> >
> > [  7020.659] (EE) AIGLX: reverting to software rendering
> > [  7020.792] (EE)
> > [  7020.792] (EE) Backtrace:
> > [  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
> > [  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506) [0x802b46e56]
> > [  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc)
> > [0x802b46ddc] [  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
> > [  7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d) [0x8098aee6d]
> > [  7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__push_bac
> > k_slow_pathIS4_EEvOT_+0x22f) [0x8098823cf] [  7020.815] (EE) 6:
> > /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+0x1c2c)
> > [0x80988063c] [  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so
> > (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c] [  7020.822] (EE) 8:
> > /usr/local/llvm36/lib/libLLVM-3.6.so
> > (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_16PPCTargetMachineE+0xc12)
> > [0x80e7f7b64] [  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so
> > (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4] [  7020.830] (EE) 10:
> > /usr/local/llvm36/lib/libLLVM-3.6.so (_init+0xe) [0x80d82313c] [  7020.832]
> > (EE) 11: ? (_rtld_is_dlopened+0x1ad7) [0x800809ec7] [  7020.835] (EE) 12: ?
> > (dlopen+0x190) [0x800805280] [  7020.838] (EE) 13:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1e24b)
> > [0x804849edb] [  7020.841] (EE) 14:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1d6ff)
> > [0x80484880f] [  7020.844] (EE) 15:
> > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1cd4e)
> > [0x8048473ee] [  7020.847] (EE) 16: /usr/local/bin/X (InitExtensions+0x61)
> > [0x4a7b91] [  7020.850] (EE) 17: /usr/local/bin/X (remove_fs_handlers+0x301)
> > [0x439dd1] [  7020.853] (EE) 18: /usr/local/bin/X (_start+0x16f) [0x42501f]
> > [  7020.856] (EE) 19: ? (?+0x16f) [0x80082456f]
> > [  7020.856] (EE)
> > [  7020.856] (EE) Segmentation fault at address 0x0
> > [  7020.856] (EE)
> > Fatal server error:
> > [  7020.856] (EE) Caught signal 11 (Segmentation fault). Server aborting
> > [  7020.856] (EE)
> > [  7020.856] (EE)
> >
> >
> >
> > --
> > Bob Willcox    | You're dead, Jim.
> > [hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
> > Austin, TX     |
>
>
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "[hidden email]"

--
Bob Willcox    | You're dead, Jim.
[hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
Austin, TX     |
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Bob Willcox
In reply to this post by Kevin Oberman-4
On Mon, Mar 20, 2017 at 04:53:52PM -0700, Kevin Oberman wrote:

> On Mon, Mar 20, 2017 at 2:13 PM, Chris H <[hidden email]> wrote:
>
> > OK. These suggestions may just be shots in the dark; but...
> > You might give Xorg -configure a try, to see if it might
> > provide you with some hints as to what it *thinks* you have.
> >
> > I notice in your Xorg.0.log that X barfs on AIGLX.
> > You might just try adding the following to the
> > Section "ServerLayout" block:
> >
> > Option         "AIGLX" "false"
> >
> > and see if that overcomes the problem.
> >
> >
> > Hope this helps, and apologies for top posting.
> >
> > --Chris
> > On Mon, 20 Mar 2017 13:59:16 -0500 Bob Willcox <[hidden email]> wrote
> >
> > > On Mon, Mar 20, 2017 at 11:20:22AM -0700, Pete Wright wrote:
> > > >
> > > >
> > > > On 03/20/17 11:15, Bob Willcox wrote:
> > > > > On Mon, Mar 20, 2017 at 11:07:15AM -0700, Pete Wright wrote:
> > > > >>
> > > > >> On 03/20/17 11:04, Bob Willcox wrote:
> > > > >>> I had to reboot my system this morning (power outage over the
> > weekend
> > > > >>> forced it) and now X won't start, failing with these error msgs
> > from
> > > > >>> the Xorg.log: > >>>
> > > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > > >>> [   143.327] (WW) Falling back to old probe method for modesetting
> > > > >>> [   143.327] (EE) open /dev/dri/card0: No such file or directory
> > > > >>> [   143.327] (WW) Falling back to old probe method for scfb
> > > > >>> [   143.327] scfb trace: probe start
> > > > >>> [   143.327] (II) scfb(1): using default device
> > > > >>> [   143.327] scfb trace: probe done
> > > > >>> [   143.327] (WW) VGA arbiter: cannot open kernel arbiter, no
> > > > >>> multi-card support [   143.327] (EE) Screen 0 deleted because of no
> > > > >>> matching config section. [   143.327] (II) UnloadModule:
> > "modesetting"
> > > > >>> [   143.327] (EE)
> > > > >>>
> > > > >>> Fatal server error:
> > > > >>> [   143.327] (EE) Cannot run in framebuffer mode. Please specify
> > busIDs
> > > > >>>        for all framebuffer devices [   143.328] (EE)
> > > > >>> [   143.328] (EE)
> > > > >>>
> > > > >>> This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The
> > > > >>> uname -a output is:
> > > > >>>
> > > > >>> FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3
> > > > >>> r315638: Mon Mar 20 11:44:00 CDT 2017
> > > > >>> [hidden email]:/usr/obj/usr/src/sys/TAVION  amd64 >
> > >>>
> > > > >>> This system has been running with the scfb frame buffer driver for
> > a
> > > > >>> couple of years now with X running fine (if a bit slow).
> > > > >>>
> > > > >>> I just updated my ports 3/14 to revision 436172. Hadn't rebooted
> > till
> > > > >>> today. > >>>
> > > > >>> I updated the system this morning hoping that would help, but no
> > such
> > > > >>> luck as I still get the same failure.
> > > > >>>
> > > > >>> Note that I am loading the i915kms.ko module as instructed in the
> > > > >>> /usr/ports/UPDATING file (have been doing that all along) so it
> > would
> > > > >>> seem that I've run into something else.
> > > > >>>
> > > > >>> Also, reading the FreeBSD wiki for SCFB I added this file in
> > > > >>> /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf:
> > > > >>>
> > > > >>> Section "Device"
> > > > >>>       Identifier  "Card0"
> > > > >>>       Driver      "scfb"
> > > > >>> EndSection
> > > > >>>
> > > > >>> Without any descernable change.
> > > > >> On my i7 skylake system I have inserted this like in my xorg.conf:
> > > > >>
> > > > >>           BusID       "PCI:0:2:0"
> > > > >>
> > > > >> This has allowed me to use modesetting, intel and scfb Xorg drivers
> > > > >> without issue.  I am not sure why X isn't able to autodetect the
> > > > >> appropriate BusID though...
> > > > >>
> > > > >> hope this helps,
> > > > >> -pete
> > > > >>
> > > > >> --
> > > > >> Pete Wright
> > > > >> [hidden email]
> > > > >> @nomadlogicLA
> > > > > Thanks for the reply Pete. Would you mind sending me all of your
> > > > > xorg.conf file? For some reason this system had been running w/o one
> > all
> > > > > this time but I think it's time for me to create one for it. At this
> > > > > point the closest thing I have to one is the driver-scfb.conf file I
> > > > > showed above. >
> > > > sure thing - although to be clear i think the preferred method is to
> > > > *not* use a configuration file, so hopefully someone with more info
> > than
> > > > me can help determine why BusID detection is failing on your system.
> > > >
> > > > here is an example device section you can drop at
> > > > /usr/local/etc/xorg.conf.d/driver-scfb.conf or which ever location
> > suits
> > > > you best:
> > > >
> > > > Section "Device"
> > > >      Identifier  "Card0"
> > > >      Driver      "scfb"
> > > >      BusID       "PCI:0:2:0"
> > > > EndSection
> > > >
> > > >
> > > > also, here is my full Xorg as well - although hopefully you won't need
> > > > this:
> > > > Section "ServerLayout"
> > > >      Identifier     "X.org Configured"
> > > >      Screen      0  "Screen0" 0 0
> > > >      InputDevice    "Mouse0" "CorePointer"
> > > >      InputDevice    "Keyboard0" "CoreKeyboard"
> > > > EndSection
> > > >
> > > > Section "Files"
> > > >      ModulePath   "/usr/local/lib/xorg/modules"
> > > >      FontPath     "/usr/local/share/fonts/misc/"
> > > >      FontPath     "/usr/local/share/fonts/TTF/"
> > > >      FontPath     "/usr/local/share/fonts/OTF/"
> > > >      FontPath     "/usr/local/share/fonts/Type1/"
> > > >      FontPath     "/usr/local/share/fonts/100dpi/"
> > > >      FontPath     "/usr/local/share/fonts/75dpi/"
> > > >          FontPath "/usr/local/share/fonts/bitstream-vera/"
> > > > EndSection
> > > >
> > > > Section "Module"
> > > >      Load  "glx"
> > > >          Load  "glamoregl"
> > > >          Load  "freetype"
> > > > EndSection
> > > >
> > > > Section "InputDevice"
> > > >      Identifier  "Keyboard0"
> > > >      Driver      "kbd"
> > > > EndSection
> > > >
> > > > Section "InputDevice"
> > > >      Identifier  "Mouse0"
> > > >      Driver      "mouse"
> > > >      Option        "Protocol" "auto"
> > > >      Option        "Device" "/dev/sysmouse"
> > > >      Option        "ZAxisMapping" "4 5 6 7"
> > > > EndSection
> > > >
> > > > Section "Monitor"
> > > >      Identifier   "Monitor0"
> > > >      VendorName   "Monitor Vendor"
> > > >      ModelName    "Monitor Model"
> > > > EndSection
> > > >
> > > > Section "Device"
> > > >          ### Available Driver options are:-
> > > >          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> > > >          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> > > >          ### <percent>: "<f>%"
> > > >          ### [arg]: arg optional
> > > >          #Option     "NoAccel"                # [<bool>]
> > > >          #Option     "AccelMethod"            # <str>
> > > >          #Option     "Backlight"              # <str>
> > > >          #Option     "DRI"                    # <str>
> > > >          #Option     "ColorKey"               # <i>
> > > >          #Option     "VideoKey"               # <i>
> > > >          #Option     "Tiling"                 # [<bool>]
> > > >          #Option     "LinearFramebuffer"      # [<bool>]
> > > >          #Option     "SwapbuffersWait"        # [<bool>]
> > > >          #Option     "TripleBuffer"           # [<bool>]
> > > >          #Option     "XvPreferOverlay"        # [<bool>]
> > > >          #Option     "HotPlug"                # [<bool>]
> > > >          #Option     "ReprobeOutputs"         # [<bool>]
> > > >          #Option     "XvMC"                   # [<bool>]
> > > >          #Option     "ZaphodHeads"            # <str>
> > > >          #Option     "TearFree"               # [<bool>]
> > > >          #Option     "PerCrtcPixmaps"         # [<bool>]
> > > >          #Option     "FallbackDebug"          # [<bool>]
> > > >          #Option     "DebugFlushBatches"      # [<bool>]
> > > >          #Option     "DebugFlushCaches"       # [<bool>]
> > > >          #Option     "DebugWait"              # [<bool>]
> > > >          #Option     "BufferCache"            # [<bool>]
> > > >      Identifier  "Card0"
> > > >      Driver      "scfb"
> > > >      BusID       "PCI:0:2:0"
> > > > EndSection
> > > >
> > > > Section "Screen"
> > > >      Identifier "Screen0"
> > > >      Device     "Card0"
> > > >      Monitor    "Monitor0"
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     1
> > > >      EndSubSection
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     4
> > > >      EndSubSection
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     8
> > > >      EndSubSection
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     15
> > > >      EndSubSection
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     16
> > > >      EndSubSection
> > > >      SubSection "Display"
> > > >          Viewport   0 0
> > > >          Depth     24
> > > >      EndSubSection
> > > > EndSection
> > > >
> > > >
> > > > Cheers,
> > > > -pete
> > > >
> > > >
> > > > --
> > > > Pete Wright
> > > > [hidden email]
> > > > @nomadlogicLA
> > >
> > > Hmm, with the BusID "PCI:0:2:0" added to my config file I now get
> > > sigmentation faults on startup. Below is the backtrace info from the
> > > Xorg.0.log. I've also attached the full Xorg.0.log and xorg.conf files in
> > > case that helps identify what's wrong.
> > >
> > >
> > > [  7020.659] (EE) AIGLX: reverting to software rendering
> > > [  7020.792] (EE)
> > > [  7020.792] (EE) Backtrace:
> > > [  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
> > > [  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506)
> > [0x802b46e56]
> > > [  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc)
> > > [0x802b46ddc] [  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
> > > [  7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
> > > (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d)
> > [0x8098aee6d]
> > > [  7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
> > > (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__
> > push_bac
> > > k_slow_pathIS4_EEvOT_+0x22f) [0x8098823cf] [  7020.815] (EE) 6:
> > > /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+
> > 0x1c2c)
> > > [0x80988063c] [  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so
> > > (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c] [  7020.822]
> > (EE) 8:
> > > /usr/local/llvm36/lib/libLLVM-3.6.so
> > > (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_
> > 16PPCTargetMachineE+0xc12)
> > > [0x80e7f7b64] [  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so
> > > (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4] [  7020.830] (EE) 10:
> > > /usr/local/llvm36/lib/libLLVM-3.6.so (_init+0xe) [0x80d82313c] [
> > 7020.832]
> > > (EE) 11: ? (_rtld_is_dlopened+0x1ad7) [0x800809ec7] [  7020.835] (EE)
> > 12: ?
> > > (dlopen+0x190) [0x800805280] [  7020.838] (EE) 13:
> > > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1e24b)
> > > [0x804849edb] [  7020.841] (EE) 14:
> > > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1d6ff)
> > > [0x80484880f] [  7020.844] (EE) 15:
> > > /usr/local/lib/xorg/modules/extensions/libglx.so (_init+0x1cd4e)
> > > [0x8048473ee] [  7020.847] (EE) 16: /usr/local/bin/X
> > (InitExtensions+0x61)
> > > [0x4a7b91] [  7020.850] (EE) 17: /usr/local/bin/X
> > (remove_fs_handlers+0x301)
> > > [0x439dd1] [  7020.853] (EE) 18: /usr/local/bin/X (_start+0x16f)
> > [0x42501f]
> > > [  7020.856] (EE) 19: ? (?+0x16f) [0x80082456f]
> > > [  7020.856] (EE)
> > > [  7020.856] (EE) Segmentation fault at address 0x0
> > > [  7020.856] (EE)
> > > Fatal server error:
> > > [  7020.856] (EE) Caught signal 11 (Segmentation fault). Server aborting
> > > [  7020.856] (EE)
> > > [  7020.856] (EE)
> > >
> > >
> > >
> > > --
> > > Bob Willcox    | You're dead, Jim.
> > > [hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
> > > Austin, TX     |
> >
>
> First, I strongly suggest a minimal Xorg.conf. I have added fonts and:
>  Section "Screen"
>   Identifier    "Screen0"
>   Device    "Card0"
>   Monitor    "Monitor0"
>   DefaultDepth    24
>   Option    "RegistryDwords" "EnableBrightnessControl=1"
> EndSection
> to support brightness control.
>
> I note that you have been running scfb for some time. If it was before
> Broadwell was supported by FreeBSD and you had to use it, it might be time
> to move back to the i915kms driver. I'm not sure why you would use both,
> though I am far from an expert.

I didn't think that Broadwell had been added still (esp for 10.3-stable).  I
may have missed it as it's been maybe six months since I did any real research
into it. Certainly I'd rather use a native driver for the Intel GPU if I
could.

>
> Have you confirmed that 0:2:0 is the correct value for PCI? While this is
> usually correct, I'd try 'pciconf -lv | grep -A4 vga' to confirm that.

Yes, 0:2:0 does appear to be correct:

vgapci0@pci0:0:2:0:     class=0x030000 card=0x20578086 chip=0x162b8086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Iris Graphics 6100'
    class      = display
    subclass   = VGA

>
> Finally, there was a bug that was just fixed to prevent both i915.ko and
> i915kms.ko from loading. This did trigger segmentation faults. You might
> check with kldstat before starting X and unload i915.ko if it is present.

Ok, thanks for the tip. I'll look into it.

I'll also look into simplifying my xorg.conf file...I'm really getting
desperate...to the point of ditching this NUC and switching to a new system
with a case that will support an Nvidia adapter. :(

Bob

> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: [hidden email]
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "[hidden email]"

--
Bob Willcox    | You're dead, Jim.
[hidden email] |       -- McCoy, "The Tholian Web", stardate unknown
Austin, TX     |
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Jan Beich-4
In reply to this post by Bob Willcox
Bob Willcox <[hidden email]> writes:

> [  7020.792] (EE) Backtrace:
> [  7020.795] (EE) 0: /usr/local/bin/X (OsInit+0x38a) [0x59d61a]
> [  7020.798] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x506) [0x802b46e56]
> [  7020.801] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdfc) [0x802b46ddc]
> [  7020.804] (EE) 3: ? (?+0xdfc) [0x7ffffffffdff]
> [ 7020.808] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
> (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0x7d)
> [0x8098aee6d]
> [ 7020.811] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
> (_ZNSt3__16vectorIPN4llvm2cl14OptionCategoryENS_9allocatorIS4_EEE21__push_back_slow_pathIS4_EEvOT_+0x22f)
> [0x8098823cf]
> [  7020.815] (EE) 6: /usr/local/llvm39/lib/libLLVM-3.9.so (LLVMParseCommandLineOptions+0x1c2c) [0x80988063c]
> [  7020.819] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x80987434c]
> [ 7020.822] (EE) 8: /usr/local/llvm36/lib/libLLVM-3.6.so
> (_ZN4llvm32createPPCTargetTransformInfoPassEPKNS_16PPCTargetMachineE+0xc12)
> [0x80e7f7b64]
> [  7020.826] (EE) 9: /usr/local/llvm36/lib/libLLVM-3.6.so (LLVMInitializeARMTargetInfo+0x112) [0x80e7fe9b4]

More than one LLVM version is loaded at runtime. Someone needs to track
down why RPATH is not respected during dlopen() but for now just remove
every devel/llvm* version except llvm39 required by graphics/dri.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs

Konstantin Belousov
On Wed, Mar 29, 2017 at 08:16:28PM +0200, Jan Beich wrote:
> More than one LLVM version is loaded at runtime. Someone needs to track
> down why RPATH is not respected during dlopen() but for now just remove
> every devel/llvm* version except llvm39 required by graphics/dri.

Why do you claim that RPATH is not respected, do you have any evidence ?

llvm packages add rc.d/ldconfig config files to /usr/local/libdata/ldconfig,
which adjust default library search path, and the order of pathes is either
undefined or alphabetic.  As result, llvm37 often if not always appears
before llvm39 in the search path.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Loading...