WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xenial: xorg problems  (Read 10324 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
xenial: xorg problems
« on: June 15, 2016, 02:14:47 AM »
Hi
X doesn't start complaing intel missing.
I see that xorg-all doesn't include xserver-xorg-video-intel, so I imported it, X starts, but system freeze.
I've a
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)


PS I have xenial-updates in my debextra if this makes any difference
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #1 on: June 15, 2016, 05:13:46 AM »
There seems to be an issue with the i915 kernel module in the 4.2.9 kernel that does not play well with Xorg in dCore-xenial, I have to use dCore-xenial without the kernel module or X will crash.

This may or may not be related to what you are seeing, but I will add the individual xorg video packages to xserver-xorg-video-all to make sure they all get imported with xorg-all.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: xenial: xorg problems
« Reply #2 on: June 15, 2016, 10:15:08 AM »
Hi
I repeat that with  xserver-xorg-video-intel the system freeze
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #3 on: June 15, 2016, 10:19:55 AM »
Is graphics-4.2.9-tinycore installed also?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: xenial: xorg problems
« Reply #4 on: June 15, 2016, 11:43:44 AM »
Yes
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #5 on: June 15, 2016, 01:03:25 PM »
Try an X session without graphics-4.2.9-tinycore installed.  If that fixes it, then your case is likely the kernel module also.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: xenial: xorg problems
« Reply #6 on: June 15, 2016, 02:48:11 PM »
without the module X works
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #7 on: June 15, 2016, 05:02:02 PM »
Ok, we just have a bad graphics module, I have read kernel 4.3 fixes this if I am reading the below bug report right.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1494903


Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #8 on: June 15, 2016, 10:27:22 PM »
With our 4.2.9 kernel, dCore-xenial worked a month or so ago on my setup using the i915 module and I was using it as my normal system, so a change in Ubuntu Xenial's Xorg packages has led to this incompatibility, whether it is mostly due to the module or to their packages we don't know but it is there. 

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #9 on: June 21, 2016, 05:07:52 PM »
I tried dCore-xenial with the 3.16.6-tinycore kernel, and I see the same behavior, so not a 4.2.9 specific problem.  I will try to find an answer.

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: xenial: xorg problems
« Reply #10 on: November 30, 2016, 03:17:07 AM »
May I ask why dCore-xenial is using Kernel 4.2.9?

Would have expected it to use Kernel 4.4, just like Ubuntu 16.04.

Why not Kernel 4.4?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: xenial: xorg problems
« Reply #11 on: November 30, 2016, 03:47:07 AM »
As per the wiki, and yes this entry is already out of date, hard to keep up:
Quote
The kernel used by a dCore port is based on the most recent Tiny Core Linux kernel available when the port is prepared for release. It is rebuilt specifically for the dCore port with any custom configuration that may be required, such as systemd-related issues. Kernel modules are also prepared. The kernel config, patched source and READMEs can be found at http://tinycorelinux.net/dCore/x86/import/src/.

Older currently supported dCore ports, such as dCore-jessie and dCore-wily, use the 3.16.6 kernel. The most recent dCore release candidate, dCore-xenial, uses the 4.2.9 kernel, the kernel used in Tiny Core Linux v7.
http://wiki.tinycorelinux.net/dcore:upgrading_kernel_and_initrd#dcore_kernel_updates

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: xenial: xorg problems
« Reply #12 on: November 30, 2016, 07:27:16 AM »
Hm, and would it be possible to upgrade to the Ubuntu Xenial Kernel 4.4 via:

Code: [Select]
sce-import linux-image
?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: xenial: xorg problems
« Reply #13 on: November 30, 2016, 03:26:03 PM »
No, sce-import can't be used for kernel packages or any kernel related things.  All kernel related building, modules or main image, must be done on the standard Core and it's kernel version that was current when the dCore port was released, along with dCore's change in the kernel config which is "DEVTMPFS=Y".  This is as nitram pointed out, but I hope this extra detail helps explain it esp. for those who wish to build kernel modules or images for dCore.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: xenial: xorg problems
« Reply #14 on: December 01, 2016, 02:11:14 AM »
hi
why it's not possible to compille the kernel under dCore?
dCore user