LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2017, 12:06 PM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
fast scrolling screen on hdmi output , vga output is ok


hi ,

First , I tested HDMI display with raspberry pi 3.
Code:
pi@raspberrypi:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
   1366x768       0.00* 
pi@raspberrypi:~ $ xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 (0x2a6) normal (normal) 0mm x 0mm
	Identifier: 0x2a5
	Timestamp:  21829
	Subpixel:   unknown
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1366x768 (0x2a6)  0.000MHz *current
        h: width  1366 start    0 end    0 total 1366 skew    0 clock   0.00KHz
        v: height  768 start    0 end    0 total  768           clock   0.00Hz
$ gtf 1366 768 0.00

  # 1368x768 @ 0.00 Hz (GTF) hsync: nan kHz; pclk: nan MHz
  Modeline "1368x768_0.00"  nan  1368 0 0 0  768 769 772 769  -HSync +Vsync
So , it seems 1366x768 resolution is OK for HDMI display .
Now ,
I have dreamplug device . it has VGA and HDMI output .
It is running ubuntu 10.04 with architecture armv7l.
OS is not the problem , Configuring HDMI is .
Here is xrandr output
Code:
Screen 0: minimum 300 x 200, current 1024 x 768, maximum 2390 x 768
lvds connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*+
   1366x768       60.0  
   1280x768       60.0  
   1280x720       60.0  
   1024x600       60.0  
   800x600        60.3     56.2  
   800x480        54.3  
   640x480        60.0  
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 200mm
   1024x768       75.0     70.1     60.0* 
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     75.0     72.8     66.7     59.9  
   720x405        70.0  
   720x400        70.1
I tried all the options available in lvds (sudo xrandr --output lvds --mode <mode>) but HDMI output is distorted version of VGA output in some cases (640x480 , 1280x720 , 1024x768), 'no signal' in others. Horizontal and vertical sync seems to be the issue.
So , I created new mode (using output of gtf from above) as follows
$xrandr --newmode "1368x768_0.00" nan 1368 0 0 0 768 769 772 769 -HSync +Vsync
Ran it
$xrandr --addmode 1368x768_0.00
$sudo xrandr --output lvds --mode 1368x768_0.00

VGA display showed login prompt again . Seems , X server got killed and restarted.

I think , if I give the right parameters for X configuration. It should work.
Now , what should I do ?

attached /var/log/xorg.0.log

Thanks.
Attached Files
File Type: log Xorg.0.log (77.5 KB, 27 views)

Last edited by sumeet inani; 08-13-2017 at 12:09 PM. Reason: clarity
 
Old 08-13-2017, 02:38 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,022

Rep: Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459
It seems you're in a mess and want someone to read your log file for you.
Code:
(II) XINPUT: Adding extended input device "SEM USB Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(EE) SEM USB Keyboard: failed to initialize for relative axes.
(II) SEM USB Keyboard: initialized for absolute axes.
I don't think you should be running framebuffer in X. To judge by the l-o-n-g log, video is a mess. Framebuffer was a console mode thing. I would start by moving aside all video configuration, and see what X does. It will interrogate what it finds, and set up a reasonable mode. The show stopper was the keyboard. I'm not familiar with that error. Google 'Keyboard: failed to initialize for relative axes' & Go figure.
 
Old 08-14-2017, 12:28 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
am i going in right direction

business_kid , thanks for replying .

I am wondering , why did xrandr in raspbian say 0.00 . 0Hz can't be the refresh rate .
So , I am sure that I am not making the right mode for hdmi of dream plug .
The OS came pre-installed and there is no way to boot via USB stick.

is keyboard error the most critical one ? https://bbs.archlinux.org/viewtopic.php?id=133564 tells me it is mild.

How do I interrogate X in dream plug ? Should I post xorg.conf ?

I also noticed that I see a few lines of text on HDMI display when I reboot OS .

BTW : studioworks is my CRT monitor connected via VGA and HDMI display is a samsung LCD TV .

Last edited by sumeet inani; 08-14-2017 at 12:30 AM. Reason: more information
 
Old 08-14-2017, 05:49 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,022

Rep: Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459
Quote:
I am wondering , why did xrandr in raspbian say 0.00 . 0Hz can't be the refresh rate .
I agree, but presume it couldn't access a refresh rate. I have an /etc/X11/xorg.conf.d/20-video.conf section which sets up
1. 1600x900 laptop screen
2. The vga plug with unknown specs. It will ask & configure accordingly.
3. A 1280x720 projector on hdmi plug.
4. A 1920x1080 hdmi output on hdmi plug.

Each has their own max refresh rates, and there's left/right thing set up between screens 1 & 3 or 4 so I can start stuff and then drag it across to appear on the projector without distracting people with my desktop.All are configured, but not all are present. The video.conf has ServerLayout section, Each one has a Monitor, Device & Screen Section. At startup, X configures for what it finds.

As for the keyboard, it had EE (=error) beside it and X gave up after that, so it was a show stopper imho. I don't use the 'evdev' driver, I use the 'kbd' one. Could you try that?
 
Old 08-15-2017, 12:27 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
how to change driver

first i have to check if my kernel has kbd driver . how ?
then how to make it default ?

also here is xorg.0.log without vga monitor and keyboard connected .
i accessed my device via Ethernet but xrandr in ssh session said can't open display .

xdpyinfo says unable to open display "" .
Attached Files
File Type: log Xorg.0.log (52.2 KB, 23 views)

Last edited by sumeet inani; 08-15-2017 at 01:03 AM. Reason: more information about my issue
 
Old 08-15-2017, 01:15 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Regardless, you're probably going to have problems with refresh set to 0.00. I would just try 60 and see if it works.
 
Old 08-15-2017, 12:21 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,022

Rep: Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459Reputation: 2459
It seems X can't find stuff because it's non standard or not there. Either way, you seem to need an Xorg config. Here's the bare bones of one screen on my box. You don't need any of the options that don't make sense in general or in your box in particular.
Code:
less /etc/X11/xorg.conf.d/20-video.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
EndSection

Section "Monitor"
    Identifier     "Main"
    VendorName     "Samsung"
    ModelName      "TFT_Display"
    HorizSync       30.0 - 75.0
    VertRefresh     50.0 - 90.0
    Option         "DPMS"
    Option   "Primary"
    Option "PreferredMode"  "1600x900"
    Option "Position" "0 0"
EndSection
Section "Monitor"
    Identifier     "Main"
    VendorName     "Samsung"
    ModelName      "TFT_Display"
    HorizSync       30.0 - 75.0
    VertRefresh     50.0 - 90.0
    Option         "DPMS"
    Option   "Primary"
    Option "PreferredMode"  "1600x900"
    Option "Position" "0 0"
EndSection
Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection
Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Main"
    Option   "Primary" 
    Option "PreferredMode"  "1600x900"
    Option "Position" "0 0"
    DefaultDepth    24

    SubSection     "Display"
#        Modes     "1600x900" "1440x900" 1280X720" "1280x720"  
        Depth       24
    EndSubSection   
EndSection
If you look at the InputDevice section of man xorg.conf, you'll find a keyboard config.
 
Old 08-24-2017, 09:39 PM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
sorry for late reply .
last i remember , xorg.conf had no useful info .
i will post that once i get back my device from my friend .
i will compare xorg.conf of raspbian (which works with HDMI TV) to dreamplug . see , if i get anywhere .
thanks .

Last edited by sumeet inani; 08-24-2017 at 09:42 PM. Reason: more info
 
  


Reply

Tags
configuration, hdmi, x server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Old VGA output desktop ..need to connect a VGA LED Moniter by Zorin OS ajay1919 Linux - Hardware 4 08-15-2015 05:28 AM
Dual Monitors VGA + DVI (HDMI) Lenovo T410 in docking st - DVI no output??? Berwhale Linux - Hardware 7 03-18-2013 02:34 AM
Is it possible to play Blu Ray through a video card HDMI output to HDMI TV? SharpyWarpy Linux - Hardware 5 10-28-2012 02:01 AM
Converting HDMI computer output to VGA monitor input JMJ_coder Linux - Hardware 3 12-31-2010 02:41 PM
Dual Screen, Output VGA Monitor and Laptop Screen Problems yukapuka Linux - Laptop and Netbook 2 07-24-2009 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration