Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

running linuxcnc on wheezy w/ X problems

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
jamby
Posts: 19
Joined: 2018-08-04 22:23

running linuxcnc on wheezy w/ X problems

#1 Post by jamby »

Hi I know whezzy 7.11 is out of support but I hope someone here might be able to help me. I am running linuxcnc on a gigibyte ga-j1900n-d3v motherboard with a VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e) video chip.

My problem is the screen will change into a segmented display with 4 copies overlaying each other across the display. I think it might be a video driver issue but I am not sure what driver it is currently in use.

Here's the output of some commands I found on a ubuntu site....

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)

lsmod | grep "kms\|drm" -- no output

find /dev -group video -- no output

cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.4-9-rtai-686-pae root=/dev/mapper/Alliant-root ro initrd=/install/gtk/initrd.gz lapic quiet rootdelay=5

find /etc/modprobe.d/
/etc/modprobe.d/
/etc/modprobe.d/alsa-base-blacklist.conf
/etc/modprobe.d/radeon-kms.conf
/etc/modprobe.d/fbdev-blacklist.conf
/etc/modprobe.d/alsa-base.conf

cat /etc/modprobe.d/*kms*
options radeon modeset=1

ls /etc/X11/xorg.conf -- no file

grep LoadModule /var/log/Xorg.0.log
[ 23.424] (II) LoadModule: "extmod"
[ 23.427] (II) LoadModule: "dbe"
[ 23.511] (II) LoadModule: "glx"
[ 23.551] (II) LoadModule: "record"
[ 23.552] (II) LoadModule: "dri"
[ 23.563] (II) LoadModule: "dri2"
[ 23.565] (II) LoadModule: "intel"
[ 23.582] (II) LoadModule: "vesa"
[ 23.589] (II) LoadModule: "fbdev"
[ 23.599] (II) LoadModule: "fbdevhw"
[ 23.601] (II) LoadModule: "vbe"
[ 23.602] (II) LoadModule: "int10"
[ 23.693] (II) LoadModule: "ddc"
[ 23.771] (II) LoadModule: "shadow"
[ 23.776] (II) LoadModule: "fb"
[ 23.789] (II) LoadModule: "int10"
[ 25.402] (II) LoadModule: "evdev"

lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)
Subsystem: Giga-byte Technology Device d000
00:13.0 SATA controller: Intel Corporation ValleyView 6-Port SATA AHCI Controller (rev 0e)
Subsystem: Giga-byte Technology Device b002

I am not sure what driver is used with the ValleyView Gen7. I have used i95 drivers with other intel chips.

dpkg --get-selections | grep xserver-xorg-video-intel
xserver-xorg-video-intel install

But this shows the intel driver is installed? but I can't find any reference to it in the modeprobe
Anyone know how I can confirm that its using the intel driver??

below it shows the intel driver but also there are a several more listed.
cat /var/log/Xorg.0.log
[ 23.565] (II) LoadModule: "intel"
[ 23.566] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 23.582] (II) Module intel: vendor="X.Org Foundation"
[ 23.582] compiled for 1.12.3.902, module version = 2.19.0
[ 23.582] Module class: X.Org Video Driver
[ 23.582] ABI class: X.Org Video Driver, version 12.1
[ 23.582] (II) LoadModule: "vesa"
[ 23.582] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 23.589] (II) Module vesa: vendor="X.Org Foundation"
[ 23.589] compiled for 1.12.1, module version = 2.3.1
[ 23.589] Module class: X.Org Video Driver
[ 23.589] ABI class: X.Org Video Driver, version 12.0

below it shows the monitor I am using
cat /var/log/Xorg.0.log
[ 23.707] (II) VESA(0): EDID vendor "AOC", prod id 8288
[ 23.707] (II) VESA(0): Using EDID range info for horizontal sync
[ 23.707] (II) VESA(0): Using EDID range info for vertical refresh
[ 23.707] (II) VESA(0): Printing DDC gathered Modelines:
[ 23.707] (II) VESA(0): Modeline "1600x900"x0.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz eP)
[ 23.707] (II) VESA(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 23.707] (II) VESA(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 23.707] (II) VESA(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 23.707] (II) VESA(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 23.707] (II) VESA(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 23.707] (II) VESA(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 23.707] (II) VESA(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 23.708] (II) VESA(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 23.708] (II) VESA(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 23.708] (II) VESA(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 23.708] (II) VESA(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 23.708] (II) VESA(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 23.708] (II) VESA(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 23.708] (II) VESA(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 23.708] (II) VESA(0): Modeline "1600x900"x60.0 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz e)
[ 23.708] (II) VESA(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 23.708] (II) VESA(0): Modeline "1280x720"x60.0 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync (44.8 kHz e)
[ 23.708] (II) VESA(0): Searching for matching VESA mode(s):


Thanks
Jim

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: running linuxcnc on wheezy w/ X problems

#2 Post by bw123 »

The lines that start with (II) VESA(0) mean that X is using VESA instead of the intel driver. You should probably research that, maybe turning on kms for intel is necessary? it's been a long time since wheezy.

you can make sure it is installed with
apt-cache policy xserver-xorg-video-intel
or so.
resigned by AI ChatGPT

jamby
Posts: 19
Joined: 2018-08-04 22:23

Re: running linuxcnc on wheezy w/ X problems

#3 Post by jamby »

bw123

apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Installed: 2:2.19.0-6
Candidate: 2:2.19.0-6
Version table:
*** 2:2.19.0-6 0
500 http://http.debian.net/debian/ wheezy/main i386 Packages
100 /var/lib/dpkg/status

looks like its installed. I'll look into how to enable the intel driver and kms.

Thanks
Jim

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: running linuxcnc on wheezy w/ X problems

#4 Post by stevepusser »

If your motherboard's video hardware is newer than Wheezy's 2011-2012 freeze date, one wouldn't expect the kernel and video driver to support it. If that's the case, you could try updating the kernel, xorg stack, intel driver, and whatever firmware you're using to those from wheezy-backports. I remember that wheezy-backports has a backported xorg, where jessie-backports does not.

If it's newer than 2014, even wheezy-backports probably won't support it.
MX Linux packager and developer

jamby
Posts: 19
Joined: 2018-08-04 22:23

Re: running linuxcnc on wheezy w/ X problems

#5 Post by jamby »

Hey, I followed a suggestion from a member of linuxcnc and executed "xset s off -dpms". I added it to rc.local but that didn't work, it may have been executed to early. Running it in a terminal with or without sudo does work.
Without that once the screen goes black I have to hit the space bar to return the screen. But the screen is unreadable as the screen is split into 4 smaller windows overlayed across the upper 2/3s of the screen.

Thanks
Jim

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: running linuxcnc on wheezy w/ X problems

#6 Post by debiman »

at the command to autostart applications after Xorg is loaded.

jamby
Posts: 19
Joined: 2018-08-04 22:23

Re: running linuxcnc on wheezy w/ X problems

#7 Post by jamby »

debiman

Sorry but I don't know what file to edit to have it run after xorg is loaded.
Actually I don't know when xorg loads? It would appear to be late in the boot process.

Thanks
Jim

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: running linuxcnc on wheezy w/ X problems

#8 Post by Segfault »

Xorg is an application and as such cannot be and is not part of boot process. Commands to be executed when X loads go traditionally to ~/.xinitrc.

jamby
Posts: 19
Joined: 2018-08-04 22:23

Re: running linuxcnc on wheezy w/ X problems

#9 Post by jamby »

Well it looks like I had the answer all along but placed the command in the wrong place in the file.
I put xserver-command=X -s 0 -dpms in /etc/lightdm/lightdm.conf but I didn't go far enough down
the file. I put it under the first instance of # Seat defaults and not below under [SeatDefaults].
With it now under the correct header xset -q shows "DPMS is Disabled"

Thanks
Jim

Post Reply