LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-02-2018, 09:07 AM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
xorg with a Samsung Smart TV


Cannot load my xserver in Slackware 13.37. xorg log and syslog are shown below:

/var/log/Xorg.0.log
[ 1622.173] (==) No Layout section. Using the first Screen section.
[ 1622.173] (**) |-->Screen "Screen0" (0)
[ 1622.173] (**) | |-->Monitor "<default monitor>"
[ 1622.173] (==) No device specified for screen "Screen0".
Using the first device section listed.
[ 1622.173] (**) | |-->Device "Device0"
[ 1622.173] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.

[ 1622.187] (II) LoadModule: "nvidia"
[ 1622.187] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 1622.187] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1622.187] compiled for 4.0.2, module version = 1.0.0
[ 1622.187] Module class: X.Org Video Driver
[ 1622.305] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 1622.306] (EE) NVIDIA: system's kernel log for additional error messages.
[ 1622.307] (II) UnloadModule: "nvidia"
[ 1622.307] (II) Unloading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 1622.307] (EE) Failed to load module "nvidia" (module-specific error, 0)
[ 1622.308] (EE) No drivers available.
[ 1622.308]
Fatal server error:
[ 1622.310] no screens found

Syslog
Jul 1 10:59:51 MSI kernel: [ 381.908855] nvidia: module license 'NVIDIA' taints kernel.
Jul 1 10:59:51 MSI kernel: [ 381.908858] Disabling lock debugging due to kernel taint
Jul 1 10:59:52 MSI kernel: [ 382.003079] NVRM: No NVIDIA graphics adapter found!

I used to run an NVIDIA GPU onboard the MB, but have transferred the disk to another computer with a stand-alone ATI Radeon HD5670 video card. I have specified "radeon" in the device section of xorg.conf and have specified "Monitor0" in the "Monitor" section as follows:

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
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"

Section "Monitor"
#DisplaySize 700 390 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SAMSUNG"
HorizSync 15.0 - 81.0
VertRefresh 24.0 - 75.0

The Monitor is a Samsung 32" Smart TV model 5205 connected via HDMI. The xorg.conf was generated automatically with X -configure. When I first tried 'startx', I got a blank screen and, after some digging, found that the monitor may not be recognized because EDID information was not present. I created an edid.bin file and added the following to the "Device" section:

Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/etc/X11/edid.bin"
Option "IgnoreEDID" "false"
Option "UseEDID" "true"

This did not work and I suspect the "DPF-0" is possibly incorrect as the instructions recommending this fix were from ubuntu. On my machine, /sys/class/drm/card0-HDMI-A-1/edid.

I tried substituting "card0-HDMI-A-1" in the "Monitor" and "Device" sections both with and without the additional EDID options above. This did not work; Still "No monitor specified for screen "Screen0"

I have even tried 'startx' without a configuration file with the same result. The "Screen" section is as follows:

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

I may have two problems:

1. The NVIDIA driver may be interfering with the loading of the RADEON driver.
2. The monitor with the HDMI connection is somehow not being recognized.

Can anyone suggest a solution?
 
Old 07-02-2018, 11:15 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
If you're using the nvidia proprietary driver, you may have better luck generating an xorg.conf with
Code:
nvidia-xconfig
Have you tried this?


Edit; I think i mis-read your problem.

Quote:
I used to run an NVIDIA GPU onboard the MB, but have transferred the disk to another computer with a stand-alone ATI Radeon HD5670 video card. I have specified "radeon" in the device section of xorg.conf and have specified "Monitor0" in the "Monitor" section as follows:
I would recommend uninstalling the nvidia driver if you no longer plan to use a nvidia gpu. You could also blacklist it to stop it from loading;
/etc/modprobe.d/blacklist-nvidia.conf
Code:
blacklist nvidia
options nvidia modeset=0

Last edited by coralfang; 07-02-2018 at 11:20 AM.
 
Old 07-02-2018, 02:41 PM   #3
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
OK, blacklisted nvidia module as suggested, ran 'startx' and got the identical response as
above; the xorg.0.log files are identical. I did start X w/o an xorg.conf file.

The following appeared in syslog:

Jul 2 12:21:53 kernel: [ 197.000746] nvidia: module license 'NVIDIA' taints kernel.
Jul 2 12:21:53 kernel: [ 197.000750] Disabling lock debugging due to kernel taint
Jul 2 12:21:53 kernel: [ 197.094160] nvidia: Unknown parameter `modeset'
Jul 2 12:24:48 kernel: [ 372.575044] nvidia: Unknown parameter `modeset'
Jul 2 12:26:24 kernel: [ 468.659919] nvidia: Unknown parameter `modeset'

Presumably, the modules xorg is loading are the ones in /usr/lib64/xorg/modules/drivers
and are not kernel modules. I am running the huge-2.6.38.4 kernel which does not require
kernel modules at least on boot. Unless the two are somehow linked, I don't see a problem
there.

xorg still cannot find a screen. I'm not sure where to go from here!
 
Old 07-04-2018, 11:25 AM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by raypen View Post
OK, blacklisted nvidia module as suggested, ran 'startx' and got the identical response as
above; the xorg.0.log files are identical. I did start X w/o an xorg.conf file.

The following appeared in syslog:

Jul 2 12:21:53 kernel: [ 197.000746] nvidia: module license 'NVIDIA' taints kernel.
Jul 2 12:21:53 kernel: [ 197.000750] Disabling lock debugging due to kernel taint
Jul 2 12:21:53 kernel: [ 197.094160] nvidia: Unknown parameter `modeset'
Jul 2 12:24:48 kernel: [ 372.575044] nvidia: Unknown parameter `modeset'
Jul 2 12:26:24 kernel: [ 468.659919] nvidia: Unknown parameter `modeset'

Presumably, the modules xorg is loading are the ones in /usr/lib64/xorg/modules/drivers
and are not kernel modules. I am running the huge-2.6.38.4 kernel which does not require
kernel modules at least on boot. Unless the two are somehow linked, I don't see a problem
there.

xorg still cannot find a screen. I'm not sure where to go from here!
One thing i can think of, is that when you install the nvidia proprietary driver, it overwrites important files such as libGL.so. What you should do after uninstalling the nvidia driver, is to reinstall the mesa package, also mesa-compat32 if you are using multilib.

If you haven't already, try that. Also if you've uninstalled the nvidia driver you won't need the blacklist file.
 
Old 07-05-2018, 02:49 PM   #5
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
I removed the NVIDIA driver and the kernel driver packages with pkgtool.
I started x, and it blossomed into my KDE environment. I had an xorg.conf
file which included the four entries related to the EDID:
{code]
Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/etc/X11/edid.bin"
Option "IgnoreEDID" "false"
Option "UseEDID" "true"
[/code]

According to dmesg, DFP-0 should be DFP2 on my machine. I thought I would test
whether these entries were needed, and was surprised to find that xorg.conf was
erased. Started X again which worked fine. Guess a conf file is not required as
has been suggested in the newer versions of xorg.
 
  


Reply



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
Connecting my linux machine to Samsung Smart TV Wirelessly BAKABON Linux - Software 5 03-04-2017 08:57 PM
[SOLVED] Samsung smart TV with Linux/tixen O/S. jonseer Linux - Newbie 2 10-20-2015 04:35 AM
LXer: Samsung Ad Injections Perfectly Illustrate Why I Want My 'Smart' TV To Be As Dumb As Possible LXer Syndicated Linux News 0 02-13-2015 08:14 AM
LXer: Samsung turns to Tizen for new Smart TVs LXer Syndicated Linux News 0 01-03-2015 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 01:58 AM.

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